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 - "stop condition"
-
La me working on a new chrome extension:
- ok, this page has some hidden divs, I need to tell the extension to make windows scroll to the bottom while there are still elements with a hidden class
- creates a while(1) loop with a condition inside it to break if no elements with hidden class are longer there.
- happy with the code
- uploads the extension
- goes to page
- brings out developer tools
- goes to console
- clicks on extension on chrome
- right clicks the extension and then inspect
- ok here we go: la me click on button inside extension popup
- console shows some logs
- nice it's still looking.
.
.
.
- wait! Why is the page not scrolling ???
- looks at logs, WTF nothing changes in logs .....
- OMMMMG a infinite loop .... infinite loop inside chrome ....
- OMMMMMG my pc's gonna crash .
-stop please stop stop.
- wait! how do I stop this?
- tries CTRL+C ... nothing
- tries CTRL+Z ... nothing ...
.
.
.
.
Abort abort Aboooooort.
.
.
.
- Deletes extension from chrome.
-..... loop still running
- clicks on X to close Chrome.....
- not closing O_o
- Oh God, i need to do something before Chrome sucks all the RAM left.
- remembers the savior...
.
.
.
- Task Manager heeeelp me.
- opens Task manager
- chrome is consuming ~ 2 GB of RAM.
- WTF! Kills chrome.
Thanks for reading my lil adventure 😅5 -
This will definetly be an unpopular rant but god damn it I hate to work with untreated depressed people. It's fucking nearly impossible to convince them to try out something new. They are always pessimistic or think that they know everything. They don't care about new things happening around them. Every time in work when we encounter some obstacle it looks like the world has ended for them and every god damn time I need to give pep talks to them like we are in some war and I feel like I need to inspire soldiers to fight even though they are 100% convinced that they will die.
Im done with being a therapist for them. I don't have unlimited amounts of tolerance and energy, I am a human also. I can't keep sugarcoating what I see and I can't continue walking like on eggshels just because somebody is too weak to even take a constructive criticism without becoming passive agressive for days or weeks. I realized that their negative pessimism has started to rub off on me and I think it's time to put an end to this.
Please if you have depression get some help, don't expect that new workplace or employer will motivate you enough to turn your life around. Don't expect that putting on a mask will actually hide who you are and that your condition will not impact others around you in work. Just stop pretending and get some actual help. Start from yourself.8 -
My biggest influence on coding style is working with other people's code. I know the temptation to write "clever" code and I've been (and probably still occasionally am) guilty of it myself, but it's not until you have to debug someones oneliner iterator which has !(i-j) as the stop condition that you start to appreciate dumb, boring, obvious code.
If having a series of if checks in a long list makes it readable, keep it that way. If it makes it more readable to rewrite it into a nested switchcase with a couple of ternary bits, go ahead. Just don't spend half a day wrapping it up into two layers of abstraction that will require an onboarding process for the rest of the team.1 -
I got so many concerns/questions about the EU chat control and the future. Sorry for my long rant lol:
1) What about projects that are on life support and no active development?
2) What about chat application in video games or the chat service on the website of a local shop
3) What about false flags? Like that parent who got into legal trouble for sharing a picture of his kid with a doctor to get a medical opinion on some skin condition. (might misremember the details)
4) What about false flags like instagram banning accounts and forwarding it to the police department and over-exhausting the resources of the police (accidental 'DDOS' of their personel)
5) What if the content shared in country A is legally OK but not in country B. What if you then travel there? Or if your participant is from that country B.
6) What about content that is taboo but should be OK to discussed? Like puberty or hormonal discussions online? Some subreddits like "stopsmoking" is now also regional banned by Reddit in the UK to avoid any unneeded risks. That is bad. YouTube had some problem where adult content existed on their platform but labeled as educational.
7) What if you encrypt messages before sending it. Will you be banned just in case? What if you need support with an app and you send an encrypted application crash log that came from your computer, will you now be banned just in case?
8) What if you like privacy and have those apps for innocent purposes. Is having those apps now illegal
9) What if criminals use apps from Asia or Africa or somewhere where this law is not present/enforced. Or what if they create a simple app with this encryption. It is not difficult to make one.
10) Before 2001, airport security was very lax but then 9/11 happened and the security increased. It never went back to the state before. Since they have or will have this check, what will them stop it from expanding it after the next disaster of an unrelated accident (like terrorist attack).
11) What if those services miss a case? Will the company that allows this to be send now have legal trouble?
12) What if users are using metaphors or practice self-censorship to avoid flagged words? We see it with monetization in social media (like murder or killing is replaced with "unaliving")
13) It will be just an other problem to start a new company with limited budget. So start-ups will just have a bit harder time to break into the market.
14) this might just push users away from mainstream options
15) it's just an other attack vector for hackers to use
16) Do we want to have private companies be able to scan our messages because they are contracted by the government? They can have their own bias to satisfy their shareholders. What if they are invested by the Big Oil so critic towards the Big Oil is altered? How certain can you be this won't happen now or in the future. Reddit Admin did that before so who knows at this point.
17) Anonymity will disappear.
18) Different companies verify users and store this data so this seems like a major cyberrisk and identity theft waiting to happen
19) fragmentation of users. it is now annoying that some family or friends don't use whatsapp but use telegram and the other way around. You might need +5 chat application to keep contact and lose social relationships.
20) Is AI detected messages even legal proof in court?
21) What if you talk about video games and flag the AI system this way? Or use abbreviation from a niche community that also overlaps with flagged words (like checkpoint being abbreviated as CP) or just the language with poor support or use a 'dialect' in your chat that trips up the software.
22) What if your phone is stolen and they send those messages in your name or this is done remotely.
23) What if you are sharing old family pictures and there is 1 and only 1 odd picture that just barely trips up the system.
24) Games like 'Beyond human' also has gameplay that hurts a fictional child which fits the storyline and acts as shock value. Will this be banned
25) The newer population will see this as normal so what will they find acceptable if they can now vote7 -
I struggled with weather to post this but I feel like I have to. I didnt want to feed into the fear or give 'them' any more reason to argue against common sense but I guess it cant be helped.
The reason I was gone for a while was because I went and got my vaccination.
In less than half hour after getting the vaccine, I was in the ICU. The staff told me I had a stroke possibly from clotting and inflamation. I couldnt feel my arm or anything below my shoulders. Yes really.
Apparently I "died" for a little while and when they brought me back I was in a coma for almost a week.
I'm back home now and I still dont fully understand what happened. Still have numbness, and horrible headaches, and can barely think straight sometimes, but the doctors told me that I didnt suffer any permanent brain damage according to my scans.
Also they told me I had old damage to my left and right temporal lobe, which makes sense because I have always suffered problems with short term memory and other issues.
And I'm just at a loss how this could happen. I have no serious injuries. We were told this is safe.
And this is the exact reason I didnt want to post it, because now tards will come in and be "lololol serves you right vaxxer!"
If I knew the side effects were this bad maybe I would have changed my mind but no one told me! I mean I think I still would have got it because we have to protect vulnerable people, but still.
The hospital assured me it wasnt the vaccine and must have been an underlaying condition, but I'm not so sure. I just happen to have a pre-existing problem that I dont know about that causes a stroke and paralysis only half an hour after the shot?
And now I dont know if I'll ever be ok. And doctors warned me I may suffer more strokes and to avoid physically demanding tasks for a while. My primary job is construction (not by chooce). Now I face the prospect of not even being able to work my existing job or do the things I love, like hiking, anymore. So much of the world doesnt make any sense right now and I just dont know what to believe anymore.
Tards will probably be in shortly to suggest I check for microchips or test fucking magnets on myself.
No, just stop.8 -
Mantaray Trailer Hire Mackay offers trailer rental services. We have trailers of all sizes, from small to large, capable of carrying payloads from 400 kg up to 1300 kg. Hire a trailer for rubbish removal, furniture transportation, or car transportation. A trailer ramp is available with the caged trailer. Hand winch available for flatbed car trailers. For those looking for a reliable trailer rental service provider, Mantaray Trailer Hire Mackay is a one-stop shop for all your needs. We are committed to providing quality and reliable trailer rental services. We guarantee that our trailers are well maintained and in good condition. Now in two convenient locations. Simple online click and collect.
-
Miami Tech Swap: The Best Place to Sell Your Game Consoles in Miami
Looking to sell your game consoles in Miami? Whether you have an Oculus Quest, a Nintendo Switch, or any other gaming console, Miami Tech Swap offers the best cash offers in Miami for your used or unwanted electronics. We make the process fast, easy, and secure, giving you instant cash for your gaming devices. Located at 11201 NW 12th St, Miami, FL 33172, we are ready to help you turn your game consoles into cash today.
We Buy Game Consoles in Miami – Fast Cash for Your Gaming Gear
At Miami Tech Swap, we buy game consoles in Miami every day. From the latest gaming systems to older models, we offer competitive prices for your PlayStation, Xbox, Nintendo Switch, and more. Whether you’re upgrading to a newer system or no longer need your current one, we make it simple for you to sell your game console and get cash quickly.
Here’s how the process works:
Bring your game console into our store at 11201 NW 12th St, Miami, FL 33172.
We’ll evaluate the condition and model of your console.
Receive a fair, instant cash offer, and walk out with cash in hand!
No need to deal with online listings or waiting for buyers—bring your game console to us, and we’ll pay you on the spot.
Sell Oculus Quest in Miami – Get Cash for Your Virtual Reality Headset
If you're ready to sell your Oculus Quest in Miami, Miami Tech Swap is the place to go. Whether you have the Oculus Quest, Quest 2, or the latest model, we offer top-dollar cash offers for your virtual reality headset. With the growing demand for VR devices, we’ll ensure you get a competitive price for your used Oculus Quest.
Selling your Oculus Quest to us is simple:
Bring in your Oculus Quest headset and any accessories to our store.
Our team will evaluate the condition and offer you a fair cash price.
Accept the offer, and you’ll walk out with cash in hand.
If you're upgrading to a new VR system or simply no longer use your Oculus Quest, we make it easy to get cash quickly.
Sell Nintendo Switch in Miami – Instant Cash for Your Console
Ready to sell your Nintendo Switch in Miami? Whether you have the original model, the Lite version, or the OLED version, Miami Tech Swap is ready to buy your Nintendo Switch for cash. The Nintendo Switch remains one of the most popular consoles, and we offer fair cash prices for used systems in any condition.
Here’s how to sell your Nintendo Switch in Miami:
Bring your Nintendo Switch into our store at 11201 NW 12th St, Miami, FL 33172.
Our experts will evaluate the condition of your console and accessories.
Receive a competitive cash offer, and get paid immediately.
Whether you have a console in perfect condition or a used one with a bit of wear and tear, we’ll offer you a great price for your Nintendo Switch.
Cash for Game Consoles in Miami – Simple and Fast Transactions
At Miami Tech Swap, we make selling your game consoles easy. Whether you're looking to sell your Oculus Quest, sell your Nintendo Switch, or simply cash out for your gaming system, we offer a fast, hassle-free way to turn your old consoles into cash.
Why choose us?
Instant Cash: Get paid the same day with no delays or waiting.
Fair and Competitive Offers: We offer competitive cash prices based on the current market value of your gaming consoles.
Easy and Convenient: No shipping, no waiting. Bring your consoles to us, and get cash immediately.
Secure Transactions: We ensure that all devices are wiped clean before resale, giving you peace of mind.
Why Choose Miami Tech Swap?
Fair Prices for All Consoles: From Oculus Quest to Nintendo Switch and other game systems, we offer competitive pricing.
Instant Payment: Get cash for your game consoles on the spot, no waiting.
Safe and Secure: We ensure that your personal information is fully erased from any devices.
Convenient Location: We are located at 11201 NW 12th St, Miami, FL 33172, making it easy for you to stop by and sell your consoles.
Contact Miami Tech Swap Today
Ready to sell your game consoles in Miami or get cash for your Oculus Quest or Nintendo Switch? Visit Miami Tech Swap today! Call us at +1 (786) 588-1169 or stop by 11201 NW 12th St, Miami, FL 33172 for a free quote and instant cash offer.
At Miami Tech Swap, we are here to help you turn your used gaming consoles into cash—fast and easy!2 -
Speedy Lube: Your Trusted Destination for a Speedy Oil Change in Perris, CA and Moreno Valley
When it comes to keeping your vehicle running smoothly, regular oil changes are a must. If you’re looking for a Speedy Oil Change or need an oil change in Moreno Valley, Speedy Lube is the answer! Conveniently located at 2560 N Perris Blvd, Perris, CA 92571, we specialize in providing fast, reliable, and affordable oil change services to drivers throughout Perris and the nearby Moreno Valley area.
Why Speedy Lube is the Best Choice for Your Oil Change Needs
At Speedy Lube, we prioritize speed, efficiency, and customer satisfaction. Whether you need a Speedy Oil Change or an oil change in Moreno Valley, here’s why so many drivers choose us for their vehicle maintenance needs:
Fast and Efficient Service
We know your time is valuable, and that’s why we offer a Speedy Oil Change that gets you in and out in no time. Our experienced technicians work quickly and effectively to ensure your oil change is done right, with no unnecessary delays. Whether you're on your lunch break or just need a quick service, we’ll have you back on the road in a flash.
Affordable Pricing
At Speedy Lube, we offer competitive prices that make routine oil changes more affordable for everyone. We believe that keeping your vehicle in great condition shouldn’t cost a fortune, so we work hard to provide high-quality service at budget-friendly rates. If you're looking for a great deal on your next oil change in Moreno Valley or Perris, we’ve got you covered!
Convenient Location
Located at 2560 N Perris Blvd, Perris, CA 92571, Speedy Lube is conveniently situated for residents of both Perris and the surrounding Moreno Valley area. Whether you're heading out from Perris or making the short drive from Moreno Valley, Speedy Lube is easy to reach, and we promise a fast service that works around your busy schedule.
Skilled and Friendly Technicians
Our certified technicians are skilled in performing oil changes for all makes and models of vehicles. From cars to trucks to SUVs, we’ve got the experience to handle it all. Our friendly team is committed to delivering excellent service while answering any questions you may have about your vehicle’s needs.
No Appointment Necessary
At Speedy Lube, we understand that life can be hectic. That’s why we don’t require an appointment for an oil change. Simply stop by whenever it’s convenient for you, and we’ll take care of the rest. Our goal is to make the process as simple and quick as possible.
Serving Perris and Moreno Valley with Top-Notch Oil Change Services
Whether you’re in need of a Speedy Oil Change or searching for an oil change in Moreno Valley, Speedy Lube is the local destination you can trust. We use high-quality oils and filters to ensure that your engine continues to run efficiently, and our fast, reliable service is second to none. You can always count on us for a job well done.
Visit Speedy Lube Today!
If you’re in Perris, Moreno Valley, or the surrounding areas and need an oil change, make Speedy Lube your first stop! We’re conveniently located at 2560 N Perris Blvd, Perris, CA 92571, and we’re happy to help drivers from both Perris and Moreno Valley. For more information or to ask about our services, feel free to call us at +1 (951) 517-3186.
Get the Speedy Oil Change you deserve at Speedy Lube—your trusted oil change provider in Perris and Moreno Valley!7 -
Obejor Computers Ltd – The Best Computer Store in Nigeria
Looking for a reliable computer store in Nigeria that offers high-quality laptops, desktops, and accessories at competitive prices? Welcome to Obejor Computers Ltd, your one-stop destination for all things tech. Whether you're searching for the best gaming laptops in Nigeria, affordable workstations, or laptop repair services in Ikeja, we have you covered.
Located in Ikeja, Lagos, Obejor Computers Ltd is one of the most reputable computer stores in Lagos, offering a wide range of products, including brand-new and refurbished laptops, desktops, and computer accessories. Whether you're a student, a professional, or a gaming enthusiast, we provide top-notch tech solutions tailored to your needs. If you're wondering where to buy a laptop in Ikeja, look no further – we offer the best deals and unbeatable prices.
For gaming enthusiasts, we offer the best gaming laptops in Nigeria, featuring top brands like ASUS ROG, MSI, Alienware, and Razer. Our collection includes powerful gaming machines with high-end graphics, fast processors, and advanced cooling systems. Additionally, for those looking for budget-friendly options, we have cheap laptops for sale in Lagos, ensuring that you get premium quality at affordable rates.
At Obejor Computers Ltd, we stock desktop computers, gaming laptops, affordable laptops, and computer accessories to meet various needs. As one of the best laptop stores in Lagos, we offer the most affordable prices without compromising on quality. Our experienced team helps customers find the perfect computer shop in Lagos to meet their requirements, and we provide reliable laptop repair services in Ikeja, ensuring that your devices remain in optimal condition. We only sell authentic products from reputable manufacturers, making us the best place to buy computers in Ikeja.
Looking for fast and reliable Starlink internet service in Ikeja? Obejor Computers Ltd is an authorized Ikeja Starlink reseller, offering Starlink setup in Lagos, Nigeria. Whether you need a Starlink store in Ikeja for equipment purchases or expert installation services, we ensure a seamless experience. Our team provides professional installation to guarantee uninterrupted high-speed internet connectivity.
At Obejor Computers Ltd, we are committed to providing the best laptop deals in Ikeja, whether you need a high-performance gaming machine, an affordable student laptop, or a workstation for business. Our store is recognized as one of the best mobile phone shops in Nigeria, offering a variety of smartphones, tablets, and accessories at competitive prices.
For the best deals on laptops in Ikeja Lagos, visit Obejor Computers Ltd today. We guarantee quality, affordability, and exceptional customer service. Whether you're looking for the best place to buy a laptop in Ikeja or need expert guidance on choosing the right tech products, we are here to help. Contact us today or visit our store in Ikeja, Lagos, for premium technology solutions at unbeatable prices!3

