Details
-
SkillsHtml,css,java,c,javascript,python,node.js
Joined devRant on 7/21/2021
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
-
3 weeks ago my job got cut while I'm overseas ☹️ only a few days after my grandmother died - talk about when it rains it pours 🌧 but so grateful for the last chance to say goodbye to granny.
Now I'm enjoying the unexpected, extended vacation and gearing up for job hunting... the market is brutal tho. Good luck out there everyone!1 -
If you just git add . by instinct, you're already dead inside
Instead, consider checking out the diffs of your changes before staging them, and then stage the files or directories individually
Of course I'm saying this to complain about my colleagues who stage and commit things they shouldn't, it probably doesn't apply to small side projects, but staging individually is probably a good habit to have31 -
This is a message to all “yes man” developers:
Yeah… we just got in that the client has new requirements for you to complete by EOD:
1. Go to the gas station
2. Buy two gallons of gasoline
3. Order two 2 ft long dildos online
4. Go to the center of your town
5. Scream “fuck me corporate daddy, I’ll do anything for you” 100 times
6. Shove one dildo into ur ass and one in your mouth
7. Pour gasoline all over yourself
8. Light yourself on fire
9. Contemplate what little self respect you have for yourself and the rest of the world…8 -
Pull-to-refresh is useless.
If you are a mobile app developer, please get rid of pull-to-refresh. Your users will thank you.
I have the impression that mobile app developers choose to implement the pull-to-refresh gimmick just in order to make their app comply with a design trend. It seems like a desperate attempt to appear "modern" and "fancy", not because of the actual usefulness of the gesture.
Pull-to-refresh is one of those things that are well-intended but backfire. It appears helpful on first sight, but turns out to be a burden.
It takes effort and cognitive strain to avoid triggering a pull-to-refresh. The user can't use the app relaxed but has to walk on eggshells.
Every unwanted refresh wastes battery power, mobile data (if it is an Internet-connected app), and can lead to the loss of form data.
To avoid pull-to-refresh, the user has to resort to finger gymnastics like a shorter swipe for scrolling up or swiping slightly up before down. Pull-to-refresh could even be triggered while pinch-zooming in or out near the top of a page, if the touchscreen does not recognize one of the two fingers.
Pull-to-refresh also interferes with the double-tap-swipe zoom gesture. If one of the two taps are not recognized, a swipe-down to zoom in can trigger a pull-to-refresh instead.
To argue "if you don't like pull-to-refresh, just don't use it" is like blaming a person who stepped on a mine, since the person moved and the mine was stationary.
A refresh button can be half a second away in the menu bar, URL bar, or a submenu, where it is unlikely to be pressed accidentally. There is no need for a gesture that does more harm than good.
Using a mobile app with pull-to-refresh feels like having Windows StickyKeys forcibly enabled at all times. The refresh circle animation sticks to the finger.
If the user actually wants to refresh, pull-to-refresh is slower than a refresh button in a menu if the page is not at the top, meaning pull-to-refresh is useless as a shortcut anyway if the page is in any other position than the top.
An alternative to pull-to-refresh is pull-for-details. Samsung did it in some of their apps. Pulling down against the top reveals additional information such as the count and total size of selected items.
If you own a website, add this CSS to make browsing your website on the pre-installed Android web browser not a headache:
html,body { overscroll-behavior: none; }
Why is this necessary? In 2019, Google took the ability to deactivate the pull-to-refresh gesture on their Chrome browser for Android OS away from users. On Chrome for Android, pull-to-refresh can only be disabled on the server side, not the user side. The avalanche of complaints? Neglected.
Good thing several third-party browsers let the user turn off this severe headache.12 -
Earth is hell. Let me explain.
What is this floating rock in the middle of nothingness that we're on? It can truthfully be described as
"It is a place where few enjoy living while majority suffer"
Do you know what else can be described like this?
Hell.
Let me go even deeper.
I am a christian. On tiktok lots of atheist And christian videos pop up for me. I like seeing them both because i like forming my own rational conclusions. The more i saw those videos the more i realized:
"Hold on... If satan and his demons are supposed to be busy burning in hell and suffering in eternal torment, then how are they here? How is satan ruling this floating rock in the middle of nothingness and spreading so much evil around? Shouldn't he be busy being in hell?"
Some christians replied to me saying "well satan is a very powerful angel and he can be in multiple places at once"
I am not going into how this logic is flawed.
The other christians replied "satan isnt in hell right now but he will be thrown there once the 2nd coming of Lord Jesus Christ comes, the rapture and judgement day"
Wait a second. You're telling me satan and demons are not in hell right now? Where are they? Chilling in heaven? And since we're being threatened to going to hell, we the people go to hell Right Now but satan does not? God rewards the MOST evil entity by not throwing them in hell but throws in hell some person for doing infinitely less evil than satan? Ok
This has lead me to conclusion that the Earth is Hell:
1) satan is not in the hell that we imagined - he's here, which makes this place the true hell
2) satan rules this world
3) everyone suffers, but the more evil, immoral, corrupt, satan worshipper you are, the better life you're gonna live
4) what kind of life you're gonna live by being good and praying to God? You're gonna live a poor live, you'll remain broke and helpless
5) this world is a place where God doesn't help you but Satan does if you worship him - what other place can be described like this? That's right Hell
We are all in Hell and that makes perfect sense considering how everything is fucked, immoral, corrupt unfair and everyone is full of bullshit.
To repeat:
- I am not optimistic. I believe by being an optimist you're lying to yourself about shit being better than it is which in future will make your life even worse
- I am not pessimistic. I believe by being a pessimist you're just dumping more depression into your life and making it harder than it already is
- I am realistic. I will say shit how it truly is without giving a fuck whose feelings gonna get hurt or what someone thinks. This is the only single source of truth.
We are in Hell right now.15 -
I've got a Rubik's cube on Friday.
On Sunday evening, I solved a cube for the first time ever.
For the last two days, I've been solving them a lot. Seems it helps a bit with anxiety. Overall, my brain functionality, I'd argue, has improved.
It's funny how little obsessive things make one survive.
On the other hand, I don't think I'll stay obsessed with it for long. Pity that this nice little while of less anxiety is so short.3 -
Your profile is in consideration.
Week-1
HR: We'll let you know.
Week-2
HR: You're one of the top 3 under consideration.
Week-3
**HR won't answer/reply to text/emails
Week-4
I accepted the truth.
Corporate world: Welcome to the employee life!
This was my first ever interview, referred by a guy I met on LinkedIn.3