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 - "block"
-
I was 8 years old the boy in the block invited me said I have something to show you. His parents bought him a Macintosh. He typed my name on the black screen and there was a response.
He said look it says “How are you?” And I was mesmerised got so excited I was like wow 😲
Guess what the text was actually saying? syntax error 😂 Little did I know at that time!!
I went home and told my parents, can you believe what I’ve seen today?? Computer responded me talked to me!!
On my birthday I got a Commodore 64 that year and the story begun.2 -
Worst hack/attack I had to deal with?
Worst, or funniest. A partnership with a Canadian company got turned upside down and our company decided to 'part ways' by simply not returning his phone calls/emails, etc. A big 'jerk move' IMO, but all I was responsible for was a web portal into our system (submitting orders, inventory, etc).
After the separation, I removed the login permissions, but the ex-partner system was set up to 'ping' our site for various updates and we were logging the failed login attempts, maybe 5 a day or so. Our network admin got tired of seeing that error in his logs and reached out to the VP (responsible for the 'break up') and requested he tell the partner their system is still trying to login and stop it. Couple of days later, we were getting random 300, 500, 1000 failed login attempts (causing automated emails to notify that there was a problem). The partner knew that we were likely getting alerted, and kept up the barage. When alerts get high enough, they are sent to the IT-VP, which gets a whole bunch of people involved.
VP-Marketing: "Why are you allowing them into our system?! Cut them off, NOW!"
Me: "I'm not letting them in, I'm stopping them, hence the login error."
VP-Marketing: "That jackass said he will keep trying to get into our system unless we pay him $10,000. Just turn those machines off!"
VP-IT : "We can't. They serve our other international partners."
<slams hand on table>
VP-Marketing: "I don't fucking believe this! How the fuck did you let this happen!?"
VP-IT: "Yes, you shouldn't have allowed the partner into our system to begin with. What are you going to do to fix this situation?"
Me: "Um, we've been testing for months already went live some time ago. I didn't know you defaulted on the contract until last week. 'Jake' is likely running a script. He'll get bored of doing that and in a couple of weeks, he'll stop. I say lets ignore him. This really a network problem, not a coding problem."
IT-MGR: "Now..now...lets not make excuses and point fingers. It's time to fix your code."
IT-VP: "I agree. We're not going to let anyone blackmail us. Make it happen."
So I figure out the partner's IP address, and hard-code the value in my service so it doesn't log the login failure (if IP = '10.50.etc and so on' major hack job). That worked for a couple of days, then (I suspect) the ISP re-assigned a new IP and the errors started up again.
After a few angry emails from the 'powers-that-be', our network admin stops by my desk.
D: "Dude, I'm sorry, I've been so busy. I just heard and I wished they had told me what was going on. I'm going to block his entire domain and send a request to the ISP to shut him down. This was my problem to fix, you should have never been involved."
After 'D' worked his mojo, the errors stopped.
Month later, 'D' gave me an update. He was still logging the traffic from the partner's system (the ISP wanted extensive logs to prove the customer was abusing their service) and like magic one day, it all stopped. ~2 weeks after the 'break up'.8 -
Companies who geo block their sites for no fucking reason can go fuck themselves.
So a bunch of retarded pharmacies in India, geo block hits from anywhere outside of India.
A thousands of Indians are living abroad with their parents and family living in India.
Imagine, I have to order medicines for my parents since they are not very tech savvy and I cannot do that because some rotten brained guava thought that it's a good idea to geo block access.
What is the fucking point in doing so? There are many such companies, especially Indian who do so. I have keep toggling my VPN because of this.17 -
My cat is powerless.
I am perfectly capable to operate my computer with my keyboard only. I am perfectly capable to operate most of it with my mouse only.
But my cat can only block one or the other.
Got two cats, though. Hope they won't team up against me.15 -
Client project manager calls me up one day
PM: hey can you make some precise estimates on some items for a project you’re not working on? It should be easy. It’s very similar to the project you ARE working on and it’s only a handful of user stories, mostly front end stuff. We´ll need this to be done by tomorrow night.
Me: um, I guess if it’s just a few simple items. ok
PM: great! I’ll let you know when you get access to the backlog.
Me: sounds good
Link to project is sent to me. Backlog contains over 20 user stories, most of which are backend related. And it doesn’t have much to do with my current project.
I contact PM: this isn’t exactly what you announced when I had you on the phone. If you want precise estimates with a minimum of design, this could take up to a week. I could however proceed to some ballpark estimates (poker planning) for starters if you need this quickly for your roadmap.
PM: no I need PRECISE estimates down to the hour for each item.
Me: ok then, it’ll take up to a week.
PM: 🤬🤬🤬. You told me it could be done in a day. I’m coming to realize your word can’t really be trusted.
Me: 🤦🏻♂️14 -
FaceBook, over the years you’ve proven that you can’t be trusted and you still have the nerve to ask for this type of personal data?6
-
Ha ha ha ha. Fucking morons!
You brag about being a highly skilled company.
You tell me I don’t have enough experience despite three years of uninterrupted activity where I currently work
You’re willing to give me a chance (I just don’t know how to express my gratitude)
BUT among your super talented team members you can’t find anybody capable of conducting a technical interview?? And you’ve been looking for over a month for someone who could do it?
Thanks for wasting my time with three useless HR interviews you worthless DIPSHITS!3 -
- I’m tired of being caught in this political bullshit and thinking about how to withdraw my money from the bank ASAP because govt can block my account to prevent me from leaving, how to let my salary make its way from Europe to me without making me a criminal for even having foreign currency, even though I pay taxes, being left without my meds because the country I was born in decided to deny the existance of my illness. At my age, I should be thinking about where do I want to go for vacation and what hair color should my next sex party fuck partner have.
- I’m tired of fighting this never-ending uphill battle with guilt upon guilt upon guilt that cripples my thinking and renders me helpless by the face of it, the constant sense of dread over me failing to even put into words what’s bothering me.
- I’m tired of seeing literally any thing associated with my childhood and having flashbacks of violence and gruesome things done to me as a child. Today, I had a full breakdown over seeing default Windows Vista wallpaper.
My anxiety always hits hard, but how hard should I hit the wall with my head next time to beat this shit out of it? sometimes I hear little bubbles inside. I left my country, but how hard should I vomit next time I eat two jars of nutella as a self-harm session for my country to leave me? I already have my eyes all red and messed up because of doing this. I can’t see straight. is it within my body? can I pull it out?11 -
In my three years experience so far I can honestly say that 100% of the developers I've worked with are narrow sighted with regards to how they develop.
As in, they lack the capacity to anticipate multiple scenarios.
They code with one unique scenario in mind and their work ends up not passing tests or generates bugs in production.
Not to say I'm the best at foreseeing every possible scenario, but I at least TRY to anticipate and test my code as much as possible to identify problems and edge cases.
I usually take much more time to complete tasks than my colleagues, but my work usually passes tests and comes back bug free. Whereas my colleagues get applauded for completing tasks quickly but end up spending lots of time fixing up after themselves when tests fail or bugs appear.
Probably more time wasted than if they had done the job correctly from the start. Yet they're considered to be effecient devs because they work "fast".
Frustrating...8 -
So the other day I randomly checked out a few job postings on some recruiting agency’s website. Didn’t even sign up or anything.
The very next day I get a call from them. The person on the phone tells me they noticed I had visited their website and was wondering if I was interested in applying to any of the offers. Even as a developer I was totally taken aback as to how they managed to track me down based on a single visit.
I believe I ended up on their website by clicking on a link on LinkedIn. I’m assuming it’s via LinkedIn that the managed to get my info (phone etc.). All in all I’m not extremely surprised. But to me it’s downright creepy and it makes me feel like I’m being stalked. Also it makes recruiters look totally desperate and I’m not sure I would want to entrust them with the responsibility of handling my career5 -
Just found out that UK is blocking porn. You have to get verified through somethig called AgeID before you can access anything. What are they even thinking?8
-
Block off blocks of time as “unavailable” and use that for me time. Gym. Take a walk. Watch some tv. Read a book.
-
for f*cksakes, modularize,
BUT PLEASE, if it's only a small single block, DON'T. It's f*cking annoying to read 1000 loc distributed among 100 files.6 -
So about two months ago in my consulting firm I was asked to replace a colleague on a project (node and Angular). The project is only a few months old but it’s already a total clusterfuck. DB is very poorly designed. It’s supposed to be a relational database but there’s not a trace of a foreign key or any key for that matter and I’ve seen joins like tableA.name = tableB.description (seriously, that’s your relation??). The code is a mess with entire blocks of code copied from another project and many parts of the code aren’t even used. He didn’t even bother renaming variables so they would make sense in the context they were shamelessly thrown into. The code is at best poorly typed if not typed at all.
During our dailies I sometimes express my frustration with my other colleagues as I very politely allude to my predecessor’s code as being hard to work with. (They are all “good friends" with him). I always get the same response from my colleagues: "yeah but you’ve gotta understand Billybob was under a lot of pressure. The user stories were not well defined. He didn’t have time to do a proper job". That type of response just makes me boil inside.
Because you think I have time to deal with this shit? You don’t think I’m working with the same client and his user stories that are barely intelligible? How long does it take to write type definitions for parameters going into a function? That’s right, 30 seconds at most? Maybe a minute if it’s a more elaborate object? How much time do you think you’ll save yourself with a properly typed function or better yet an interface? Hard to tell but certainly A LOT MORE than those 30 seconds you lost (no, the 30 seconds you INVESTED) in writing that interface!!!
FUCK people with their excuses! Never tell me you don’t have time to do a proper job! You’ve wasted HOURS of my time just because you were too fucking lazy to type your functions, too lazy to put just a little more thought into designing your tables, too lazy to rename a variable so that it’s name actually makes sense where it’s being used. It’s not because you were short on time. You’re just lazy!
FUCK!!!!!!4 -
Every day my faith in humanity grows lesser and lesser, and my fear on how to live in this world grows more and more.
So glance is an Indian company that has partnerships with brands like Xiaomi and Realme in the manner that their app can show wallpapers (and ads) to users without even opening the lock screen. being a privacy-focused person, I got irritated with it when I bought a new $300 phone and saw it on my first unlock. but in my expensive device, I had an option to turn it off in settings.
however, I then bought a cheap $100 phone for my dad and it didn't had those options; in fact, it had a stupid game center app that would install more crap on his device and hang his low end device even more.
The world is going crazy right now.
earlier there were a few rich people who would never get exposed and if they do, they would be publically shamed and would indirectly play a great role in uniting people against them and their malpractices (checkout : https://amazon.com/Generation-X-Sea...), therby evolving the human community as whole
however, every 3rd person on the block nd every next is now earning a decent amount , either by hook or crook and most will agree that malice is the way of getting the things you want and getting stuff done.
- Be it the cop next door who is taking bribes for getting to work.
- Be it the devs next door doing moonlighting for multiple companies.
- Be it the government (and the people working with them), running targeted social media campaigns and buying puppet press to gain support and incite communal hatred.
- Be it the stock/crypto traders, trying to run hype trains and insider infos to gain off foolish first timers
- Be it the vicious entrepreneurs, trying to splash those targeted ads on the face of us and coming up with newer ways to monetize every step we take on internet via xyz-as-a-service
Manipulation and trickery is now the main skill required to live in the world. lion eats the deer and fox eats the rabbit, but we are the first evolved "apex" predators that wants to eat our own kind to benefit.
Being born in India, the land of so called "culture" and "most evolved heritage" and that too in jain-hindu family, I have been fed with a lot of stuff deemed "Good" and "Righteous" .
But i don't feel like they are relavent in the modern vicious world :The values of being a vegetarian and not harming animals, kindness and hardwork, righteous person caring for the minority/equal rights, concern person voicing for privacy, helpfulness, spritual prayers, etc all feel useless when i can simply create an anonymous account, chant "death to minorities", incite violence , kiss some superior's ass and get all my work done from someone more feeble via my goons.
If the land of a million gods can also be the land of most communal violence, rapes , sexual abuses , crimes and fraud, with even the modern startups and the so called millenal generation accepting and adhering to this vicious ethics , then what's the point in being a so called "good person" ?
the whole pond is dirty and is being dumped with even more dirt, every good fish is eventually gonna turn vile.6 -
Thursday afternoon. Client gives us the go to deploy the latest release to production.
Friday late afternoon; my colleague - "wait, did we ever deploy"? Me - "uh, nope".
"Alright have a good weekend" -
Today was a bad dev day working on a shitty React project. Not that React in itself is bad, but it can be hell to work with when the code is a big pile a crap full of anti pattern code. I spent the day refactoring to try to fix a bug, but to no avail. It would take days if not weeks to put some order in this mess and to prevent such bugs.5
-
CORS is shit
Stupid useless shit that protects from nothing. It is harmful mechanism that does nothing but randomly blocks browser from accessing resources - nothing more.
Main idea of CORS is that if server does not send proper header to OPTIONS request, browser will block other requests to that server.
What does stupid cocksuckers that invented CORS, think their retarded shit can protect from?
- If server is malicious, it will send any header required to let you access it.
- If client has malicious intents - he will never use your shit browser to make requests, he will use curl or any ther tool available. Also if server security bases on something as unreliable as http headers it sends to the client - its a shit server, and CORS will not save it.
Can anyone give REAL examples when CORS can really protect from anything?32 -
I’m sooo excited when any new frontend JS framework is available. Angular, React, more recently Vue, Svelte. Bring ‘em on. I wanna try them all.
Just kidding…
As long as the tools at hand allow me to get the job done, keep clients and end users happy, I don’t give a fuck.
This meme is actually the epitome of what I hate with a lot of web developers I’ve encountered2 -
I feel like some developers focus too much on concepts like clean code, software craftsmanship, TDD and so forth, to a point where they almost forget end user needs (ease of use, intuitive experiences, general UX principles).
Don’t get me wrong. I do my best to stick to a decent standard of quality and maintainability. However my solutions are adapted to the specific needs that are being addressed rather than the other way around.
I’ve heard some devs say things to the effect of ”well I know that’s not most intuitive behavior for the user but it’s the cleaner way to do it, so the user will just have to figure it out“. So in essence they’re just coding for their own pleasure rather than addressing user needs4 -
for the life of me I cannot figure out in my mind how to structure this project I want to start, and jumping right into coding does not improve this mental block.
At work this Golang code base has a clean architecture, so easy to maintain and extend, and I'm unable to replicate it on my own project(s). It sucks to be an ignorant.2 -
Devs who use the array map method for purposes other than generating a new array, and who use an empty return statement to satisfy the linter, should receive a slap in the face. A gentle one, but a slap nonetheless4
-
"Code"
And the website says "Lonely geeky people do need apply"
So I put my on my glasses and I went in to ask him why
He said you look like a fine outstanding young man, I think you'll do
So I shook his hand and, I said "I am glad I will be working for you."
Code, code, everywhere there's code
Neo vision, tweakin' my mind
Do code this, and API that, can't you read the fucking manual
And the sign says "If you want to use this site you must accept our cookies"
So I found the CEOs address and doxxed him all night!
To put up a dialog and block content from my sight.
If Todd was here, he'd tell it to your face, man, "it just works"
Code, code, everywhere there's code
Neo vision, tweakin' my mind
Do code this, and API that, can't you read the fucking manual
Oh, say now mister, can't you code
You got to have a laptop and a hoodie to get a job
You can't work, no you can't standup, you ain't supposed to be here
And the website says "You got to have an employee ID to get inside" - yo!
And the website says "Everybody welcome, come in, code and share"
But then they passed around a git pull at the end of it all
And I didn't have a character to code
So I got me laptop and I made up my own fuckin' code
I typed, "Thank you OSS for thinking 'bout me, I'm alive and doing fine", yeah
Code, code, everywhere there's code
Neo vision, tweakin' my mind
Do code this, and API that, can't you read the fucking manual
Code, code, everywhere there's code
Neo vision, tweakin' my mind
Do code this, and API that, can't you read the fucking manual
Yes! Some old song, called "Code code", I wish we did write that one, but
We didn't - git blame!
Hello World!6 -
Non tech hobby of mine: bird watching (you may have guessed based on my username). Although it’s a non tech hobby, there are so many great apps to help identify birds and learn about them. EBird, birdnet, Merlin, picture bird etc. I also have a few books about bird watching.
Crazy how many different kinds of birds you can see when you really start paying attention.5 -
ive seen a few people bitching about the state of browsers lately
and i want an alternative, i really do
but all these webkit pos's have 1 major flaw - ad block is shit
dont even know if they work well because i can't (and won't) use the net with ads being shoved in my face and down my throat at a higher rate than what pornhub does with cock13 -
mfw when clang decides my NSDictionary changed its type somehow to the same type as my block pointer thingy and now I can’t assign to it3
-
Anytime I write a line of code that works correctly the first time, I’m ecstatic. If I write a whole block or function that works right the first time, I freak out with happiness. Yes, I’m that bad at coding. The rest of y’all probably do such things on the regular and it no biggie. But for me, it’s vanishingly rare.
-
Did someone already thought about how color highlight can be better? It's been 4-5 years now that I'm coding on a virtual console that run on iPad with a monochrome code editor. Despite the fact that's remind me the old days when I was 8 years old, that doesn't stop me for coding with it.
I mean, is it really important to know that strings are red and numbers are yellow? How does that help me? They are both literal and behave to the user-content categories.
I was talking with my friend, and he says he likes to know if something is a keyword or an identifier. In C++, a lot of common keywords to define stuff and control the flow are often the first word and easy to spot.
A couple of months ago, I tried Flutter, and the editor can highlight ident blocks and give them different colors, but with Flutter, it's easy to get 10 or more ident levels, Does the color help? Splitting the code does.
I think, there is so much stuff that is more important than coloring the grammar of a language. For instance: knowing if an identifier belongs to which Rust Crate because, It's easy to stack 10 or more dependencies in one file that as better chances of names collisions.
Knowing if an identifier was recognized, if it used, if it's a local, a member, a global, a compiled value or a macro seems more important.
I would like to color block of code that is important or sensible. That will help my coworker about the severity of a particular place in the code.
What do you think?1 -
For the whole january month, i was looking to create a text editor in which text is edited in the div block so i thought of doing it with javascript creating events of when this button is pressed do this. then today i found out i can do that with just adding contenteditable='true' in the div element. I was like i should have searched it in the first place.A Month wasted.2
-
Some days: I have a completely perfect focus on my BAU tasks!
Other days: It's difficult to focus on my BAU tasks. Maybe I'll slack off in dR for some time.
Recent days: Impossible to focus on BAU tasks. Impossible to focus even to complete reading a single rant in dR.
I am an apolitical person, politics don't bother me. The pacifist inside me is yelling "STOP THIS MADNESS!!!". This yelling is why I can't concentrate. It's not like ANC Headset can block out this scream....3 -
I'm going insane.
So let's say you have an object in database, with 20-30 related objects (Or lists of objects) (All related objects have a foregn key to the "main" object).
Now, as long as you just edit/create thinga everything is fine.
But the deletion... Oh MY GOD
"Just put on delete cascade", right ? RIGHT ?
WRONG ! presence of some objects should block delete, while others can be deleted and some are "situational" depending on the first object state.
So delete operation with all the checks takes .... 1 - 2 seconds.
Seems fine ? WRONG ! When you have 40 or more objects to delete, even 1 second is too long.
Should I say "fuck it" and just write a stored proc which will crash if object cannot be deleted for any reason ? because with Entity Framework, I don't see how I can do it effitenly.
But I HATE stored proc, after couple of month/years noone remembers how they work...
RHAAAAA.
Ok I feel better.8 -
Sometimes when I get stuck and have programmer's writer's block, I just take a deep breath and type ^x^l. After that everything's fine.1