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 - "fail-safe"
-
I've started writing Rust code for fun. My initial experience with it is that its like writing a program wearing a surgery mask and latex gloves with a condom around your keyboard, while you sit in a padded room with a nanny nagging over your shoulder.
The borrow checker is somewhat of a pain in the ass to deal with.
But that said, I've never been so safe and confident my code won't fail during runtime before.
And the best part: it's blazing fast.8 -
Thought I was getting a handle on this whole programming thing....started reading The Art of Computer Programming by Knuth....feel deeply ashamed of my knowledge (or lack of)...superiority complex increasing with every page.
3 -
About 3 years ago, my girlfriend had this laptop that she got from her University. She had to give the laptop back to get reset, but didn't want to lose all of her data on it, and a backup would be around 750GB.
So I suggested that I would backup the laptop (was thinking to just dd an image and go from there). So I plugged in my mobile USB and external hard drive, and started the imaging process. Given the amount of data and setup, the process should have taken about 5hours. So we left it there for 5h.
Please be mindful that at this stage in my life I knew very little about boot processes, oses, and hardware.
5h after. The laptop screen is black and it ain't responsive. Not sure what happened, the dd process was completed, but the laptop refused to boot into windows. Tried a number of boot tools, and spent a crazy night hacking at the machine. But the university had some of sort of fail safe to not allow anyone to boot into windows if someone opened bios without entering a password. Whatever this was, I spent over 12h trying to either open mount the windows partition with a Ubuntu usb or mount the corrupt dd image on my laptop.
Long story short, after throwing at it a number of fixes. I was able to mount the image, copy out all of her personal data, and reinstall a new version of Windows on her laptop. The university didnt understand why the laptop was already reset. She still mentions this to me anytime I want to take a "custom approach" to software lol2 -
I want to explain to people like ostream (aka aviophille) why JS is a crap language. Because they apparently don't know (lol).
First I want to say that JS is fine for small things like gluing some parts togeter. Like, you know, the exact thing it was intended for when it was invented: scripting.
So why is it bad as a programming language for whole apps or projects?
No type checks (dynamic typing). This is typical for scripting languages and not neccesarily bad for such a language but it's certainly bad for a programming language.
"truthy" everything. It's bad for readability and it's dangerous because you can accidentaly make unwanted behavior.
The existence of == and ===. The rule for many real life JS projects is to always use === to be more safe.
In general: The correct thing should be the default thing. JS violates that.
Automatic semicolon insertion can cause funny surprises.
If semicolons aren't truly optional, then they should not be allowed to be omitted.
No enums. Do I need to say more?
No generics (of course, lol).
Fucked up implicit type conversions that violate the principle of least surprise (you know those from all the memes).
No integer data types (only floating point). BigInt obviously doesn't count.
No value types and no real concept for immutability. "Const" doesn't count because it only makes the reference immutale (see lack of value types). "Freeze" doesn't count since it's a runtime enforcement and therefore pretty useless.
No algebraic types. That one can be forgiven though, because it's only common in the most modern languages.
The need for null AND undefined.
No concept of non-nullability (values that can not be null).
JS embraces the "fail silently" approach, which means that many bugs remain unnoticed and will be a PITA to find and debug.
Some of the problems can and have been adressed with TypeScript, but most of them are unfixable because it would break backward compatibility.
So JS is truly rotten at the core and can not be fixed in principle.
That doesn't mean that I also hate JS devs. I pity your poor souls for having to deal with this abomination of a language.
It's likely that I fogot to mention many other problems with JS, so feel free to extend the list in the comments :)
Marry Christmas!34 -
Shutting down Windows instead of putting it into sleep should not save state. It did, in my case.
I had Chrome opened before shutting down. It's still there.
This is very nice fail-safe method, I must say.11 -
My little brother started college this year. He hasn't decided what he wants to do, so he took classes in finance and computer science. During finals week, he comes to me ranting about GitHub. "It has to be the most useless tool ever made", he said.
His teachers made him use it without any explanation on HOW to use it. His whole team was working out of a single branch, downloading the zip every time, and struggling to fix merge conflicts. At no point was this ever corrected. This has been going on for an entire year!!!
Safe to say, I spent the afternoon walking him through more productive ways to use GitHub and showing him why it's not "the most useless tool ever made". I don't get why teachers for students to use tools but fail to ever explain how. All that is going to do is deter kids from using tools that could save them when they get a real job.5 -
I feel like writing or telling people about the time I jumped from Windows 7 Ultimate and jumping to Windows 10. (I'm not against 10, but I'm never updating after what had happened to me)
It all starts when none of my games will play due to a possible issue with my graphics card. I look up "3D source game bug" and not many results pop up. I go on Microsoft's Qna areas and ask this question but to my surprise nothing they say would make sense. "Clean the pins of your graphics card, make sure you verify the games on Steam". I verified the games and they checked out as perfectly fine. I don't have access to my graphics card because this is a laptop, sadly not a tower.
Two months pass and my computer is already showing signs of stress, like it didn't want to live in a sense. It was three times slower than when I was on Windows 7 and it was unallocating areas of my main hard drive where I could make virtual hard drives.
Instantly I start looking up Linux distros and find Linux Mint. 17.3 was the current version at the time. I downloaded it and burned it onto a DVD-rom and rebooted my computer. I loaded into the disc and to my surprise it seemed almost like Windows 7 apart from the Linux part. I grab my external hard drive and partition it to hold the Linux distro and leave it plugged in incase Windows 10 does actually fail.
On December 19, a few months after Windows 10 had released. I start my laptop to try and continue my studies in video game development. But to my surprise, Windows 10 had finally crashed permanently. The screen flickered blue and black, and an error box saying Loginui.exe failed to start. I look at it for a solid minute as my computer had just committed suicide in a sense.
I reboot thinking it would fix the error but it didn't. I couldn't log in anymore.
I force shutdown the laptop and turn it back on putting it into safe mode.
To my surprise loginui.exe works and I sign in. I look at my desktop, the space wallpaper I always admired, the sound files, screen shots I had saved.
I go into file explorer and grab everything out of my default hard drive Windows was installed on. Nothing but 400gb got left behind and that was mainly garbage prototypes I had made and Windows itself. I formatted my external hard drive and placed everything on it. Escaping Windows 10 with around 100GB of useful data I looked at the final shutdown button I would look at.
I click it and try to boot into normal Windows 10. But it doesn't work. It flickers and the error pops up once more.
I force it to shutdown and insert the previous Linux Mint disc I made and format the default hard drive through Linux. I was done. 10 gave me a lot of shit. Java wouldn't work, my games has a functional UI but no screen popped up except a black abyss and it wouldn't even let me try to update my graphics card, apparently my AMD Radeon 5450 was up to date at the AMD Radeon 5000's.
I installed Linux Mint and thinking the games would actually play I open steam and Launch Half-Life 2 to check if Linux would be nicer to me than Windows 10 had been.
To my surprise the game ran. The scene from Highway 17 popped on screen and the UI was fully functional. But it was playing at 10-15fps rather than the usual 60-70fps. Keep look at my drivers and see my graphics card isn't in use. I do some research and it turns out I have a Hybrid Laptop.
Intel HD Graphics and an AMD Radeon 5450 and it was using the Intel and not the AMD. Months of testing and attempts of getting the games to work at high frame rates pass and the Damn thing still functions at a low terrible fps. Finally I give up. I ask my mom for a Windows 7 disc and she says we can't afford it. A few months pass and I finally get a Windows 7 installation disc through money I've saved up. Proudly I put it into my optical disc drive and install it to my main hard drive deleting Linux completely. I announced to all my friends my computer was back in working order and I install everything I needed, Steam, Skype, Blender, and Unity as well as all my games. I test Half-Life 2 and it's running exceptionally smoothly, I test Minecraft at max settings and it's working beautifully. The computer was functioning properly once again and my life as a developer started as I modeled things and blender, learned beginners C# and learned a lot of Batch. Today the computer still runs at a great speed and I warn others of what happened to me after I installed Windows 10 to my machine if they are thinking of switching from 7 or 8 on an older machine.
Truly the damage to my data cannot be undone. But the memory of the maintenance, work, tests, all are a memory of how Windows 10 ruined me and every night before the one year anniversary of Windows 10's release, I took out the battery of my laptop and unplugged it from the a.c. power, just so Windows 10 doesn't show it's DLLs, batch scripts, vbs scripts, anything on my computer. But now, after this has happened and I have recovered, I now only have a story to tell5 -
Things that I learned today (15-07-20):
Suppose you have a hosted zone (both private and public) i.e. y.test.com. in AWS r53. and you created r53 DNS record in the public host zone sample1.y.test.com and if you will try to reach this DNS from ec2 you will not be able to. it will give you an error that DNS does not exist but out of ec2, it will work.
To make it work, you have to create the same record in a private hosted zone. Then only you can connect from within an EC2 instance.
So apparently EC2 always looks for the DNS for your registered name server in private hosted zone.
There should be a fail-safe, if it's not in the private hosted zone, it should look in public as well. (idk)
Maybe it was silly of me to not knowing this in the first place. ( wasted good amount of time)4 -
Learn git. Contribute to open source projects - you may learn more from code review on a single PR than from a whole tutorial. Ask questions constantly. Learn more git. Look for the cleanest solution to a problem. Write code that is easy to improve, easy to expand, and easy to debug. Learn even more git. Don't limit yourself to thinking only in terms of OOP, or functional, or procedural, or whatever type of programming you may be comfortable with. Don't be afraid to do some work by hand. Learn git, so that when all comes crashing down and your team crumbles to pieces, when your relationships fail and your friends disappear, when you're down on your luck and there truly is no hope left in life, you can check out of the dangerous world of your current HEAD and return to the home and comfort of your master branch, which you've kept safe, secure, and functional.
-
Your Trusted Plantation Pest Control Company: Keeping Homes and Businesses Pest-Free
If you're a homeowner or business operator in Plantation, Florida, you already know that the warm, humid climate is ideal—not just for people, but for pests too. Termites, ants, roaches, rodents, and other invasive pests love our environment, but that doesn’t mean you have to live with them. The right plantation pest control company can make a world of difference in keeping your property safe and pest-free.
That’s where Property Pest Solutions comes in. As a leading name in local pest management, they specialize in offering tailored solutions to homes and commercial spaces in Plantation. Their experience, customer-first attitude, and eco-conscious practices make them the go-to option for anyone searching for reliable pest control near me.
Why Choose a Plantation Pest Control Company?
When it comes to dealing with pests, many people try to manage the problem on their own. DIY sprays and traps might work temporarily, but they often fail to address the root cause. That’s why hiring a professional plantation pest control company is the smartest, most effective long-term solution.
Here are a few key reasons why:
Local Expertise: Companies based in Plantation understand the specific pest issues that impact our region, including seasonal behaviors and preferred hiding spots.
Targeted Treatments: Instead of generic solutions, you get customized plans built around your property’s unique structure and problem areas.
Preventive Care: The best pest control is proactive, not reactive. Regular service plans can stop infestations before they start.
If you’ve ever searched for pest control plantation services and felt overwhelmed by the results, Property Pest Solutions makes the choice easy with a proven track record and transparent service.
What Makes Property Pest Solutions Stand Out
There’s no shortage of pest control providers in South Florida. So, what sets Property Pest Solutions apart?
Comprehensive Services: They handle everything from ants and spiders to termites and rodents.
Eco-Friendly Products: Treatments are safe for children, pets, and the environment.
Licensed Technicians: Highly trained staff that understands pest behavior and best practices for removal.
Prompt Response: You won’t be waiting around for help—fast service is their standard.
With the full suite of pest control solutions, this plantation pest control company is trusted by hundreds of families and businesses throughout the area.
Common Pests in Plantation, Florida
To understand why pest control plantation is in high demand, you need to know what you're up against. Here are the most common pests that Property Pest Solutions handles:
Termites: Known as "silent destroyers," they can compromise your home's structural integrity without you knowing.
Ants: They may look harmless, but carpenter ants can cause serious wood damage.
Cockroaches: Roaches are unsightly, unhygienic, and nearly impossible to remove without expert help.
Rodents: Rats and mice don’t just steal food—they spread bacteria and can gnaw through wires.
Spiders and Silverfish: While not as destructive, these pests can indicate deeper infestations and cause discomfort.
Whatever’s invading your space, Property Pest Solutions is ready to eliminate them effectively and safely.
Residential & Commercial Pest Control Services
Whether it’s your family home or a multi-unit commercial complex, pest problems require fast, efficient action. That’s why this plantation pest control company offers tailored plans for both residential and commercial clients.
Residential Services include:
Full-home pest inspections
Interior & exterior treatments
Quarterly maintenance plans
Termite prevention systems
Commercial Services include:
Discreet treatments outside of business hours
Compliance with health regulations
Regular inspections to avoid surprises
Pest prevention plans to protect your reputation
No matter your need, Property Pest Solutions offers flexible scheduling, customized strategies, and lasting results.
Searching for Pest Control Near Me?
The moment you spot a bug or hear the scratching of a rodent in the wall, the first thought that comes to mind is “I need pest control near me—fast!” A local company not only gets to you quicker but understands the specific pest landscape of your neighborhood.
Pest control near me searches often lead to impersonal national chains. However, working with a community-based company like Property Pest Solutions means you’ll get service that’s both fast and familiar.
The Property Pest Solutions Process
Wondering what working with this top-rated plantation pest control company looks like? Here’s their simple, effective process:2 -
HOW TO RECOVER YOUR STOLEN CRYPTOCURRENCIES? HIRE CERTIFIED RECOVERY SERVICES
A Bitcoin hardware wallet is often considered the ultimate security measure, the fail-safe that protects your assets from theft, hacking, or any other risks. Unless you lose it during a move, and that’s exactly what I did.
$450,000 worth of Bitcoin, securely stored on a hardware wallet, was now somewhere between my old apartment and my new one. I searched everywhere every box, every bag, even checked the fridge (yes, I checked the fridge don’t judge me). But despite my efforts, the wallet was nowhere to be found. The panic that set in was indescribable. I felt like I had lost everything, and the sinking feeling in my stomach was impossible to shake.
Desperate, I turned to CERTIFIED RECOVERY SERVICES. I wasn’t sure what they could do for me, but I figured I had nothing to lose. From the first moment I contacted them, I could tell I was dealing with professionals. Their team stayed calm, composed, and confident in the face of my panic. They quickly laid out the steps they would take to try and recover my funds, explaining how they could use advanced methods to retrieve my private keys remotely and restore access to my wallet. I was reassured by their clear communication and methodical approach.
What really set CERTIFIED RECOVERY SERVICES apart was their professionalism and transparency. While I was frazzled and overwhelmed, they were calm and focused. They kept me updated at every stage of the process, providing clear explanations about what they were doing and why. This level of communication was invaluable, as it gave me a sense of control over a situation that was otherwise completely out of my hands.
Another major plus was their honest, upfront pricing. There were no hidden fees or surprise charges, which made the entire process less stressful. I knew exactly what I was paying for, and I appreciated the transparency throughout the entire recovery process.
And then, after a tense waiting period, I got the call I had been hoping for: They had recovered my Bitcoin. Every single penny of my $450,000 was safely returned to my wallet. The relief I felt was indescribable. It was a huge weight off my shoulders, and I couldn’t believe my luck.
But they didn’t stop there. They also took the time to secure my other wallet, which held an additional $480,000, ensuring that I wouldn’t fall victim to another attack in the future. Their guidance on security best practices made me feel confident in my ability to protect my assets going forward.
If you ever find yourself in a similar situation, don’t hesitate, call CERTIFIED RECOVERY SERVICES. They are the real deal, and they’ll get you back on track.
FORE MORE INFO:
Company: CERTIFIED RECOVERY SERVICES
WhatsApp: +1 (740) 258‑1417
1 -
HIRE A PROFESSIONAL BITCOIN HACKER\FOLKWIN EXPERT RECOVERY\TO RECOVER ALL YOUR LOST.
What does it mean to be a hero? For me, being a hero is about stepping in when all hope seems lost, taking control when others cannot, and making a difference in someone’s darkest hour. That’s exactly what Folkwin Expert Recovery did for my family when my father, the breadwinner and cornerstone of our lives, had a major stroke at the age of 65.
My father had always been sharp, focused, and in control of everything—especially when it came to his finances. He had invested early in Bitcoin and built up an impressive portfolio worth $400,000. But after his stroke, everything changed. He lost his ability to manage even the simplest tasks, including operating his Bitcoin wallets or email. It was devastating to watch this once strong, intelligent man now unable to remember the recovery phrases he had so carefully stored.
As the family gathered around him, hoping for his recovery, the reality set in—he was the only one who knew how to access his cryptocurrency holdings. My father had never shared his recovery phrases, and now with him unable to function cognitively, we were locked out of his wallets. That $400,000 in Bitcoin was our family’s financial security, and without access to it, we were facing a very uncertain future.
In my desperation, I started searching for help online and came across Folkwin Expert Recovery. They seemed like the lifeline we desperately needed. After explaining our situation—how my father could no longer access his wallets or even remember where his recovery phrases were stored—the team at Folkwin Expert Recovery responded quickly and professionally. Their confidence and calm approach immediately reassured me that we weren’t alone in this struggle.
The team at Folkwin Expert Recovery worked tirelessly, using their expertise to help trace the digital pathways and regain access to my father’s cryptocurrency wallets. I cannot express the relief I felt when they were able to recover the $400,000 worth of Bitcoin that my father had locked away. It was nothing short of miraculous.
But more than just recovering our family’s financial future, Folkwin Expert Recovery also became a source of education and empowerment. They showed us how to better manage and secure our digital assets moving forward. Their guidance on storing recovery phrases, using two-factor authentication, and setting up secure backup systems was invaluable, ensuring we would never face a situation like this again.
This experience taught me what it means to be a hero. Folkwin Expert Recovery stepped in when our family needed them the most, giving us not only financial security but also the peace of mind that comes with knowing our assets are safe. They were the heroes in our time of need, and I am forever grateful for their expertise and compassion.
Thanks to Folkwin Expert Recovery, my father’s legacy and financial contributions will continue to support our family, even as we navigate this new chapter in our lives. They helped us when we thought all was lost, and I cannot thank them enough for their incredible work. For assistance, CONTACT INFO! (Email): Folkwinexpertrecovery @ tech-center (.)com Or (Telegram): @Folkwin_expert_recovery . God is too faithful to fail,
Regards,
Julius D Helene.
-
Fire Shield Fire Protection: Premium Service for Fire Extinguishers in Jacksonville, FL
At Fire Shield Fire Protection, we specialize in offering top-tier service for fire extinguishers to ensure your property, employees, and loved ones are always safe from fire hazards. Based in Jacksonville, FL, our mission is to provide comprehensive, reliable fire extinguisher services for residential, commercial, and industrial clients. Whether you need installation, inspection, maintenance, or replacement, we are the team you can trust to keep your fire extinguishers in perfect working condition.
Why Fire Extinguisher Service is Essential
Fire extinguishers are one of the most important tools for protecting people and property in the event of a fire. However, to be effective, fire extinguishers must be maintained regularly. This is where Fire Shield Fire Protection steps in. Our expert team offers a full range of service for fire extinguishers to make sure your fire safety equipment is reliable, compliant with local laws, and ready for use when you need it the most. Here’s why proper fire extinguisher service is essential:
Maintaining Compliance with Fire Safety Regulations
Local fire codes, including those in Jacksonville, FL, require that fire extinguishers are inspected and maintained regularly. Fire Shield Fire Protection ensures that your fire extinguishers meet all necessary regulations, helping you avoid fines and ensuring the safety of your building, tenants, and employees.
Ensuring Fire Extinguishers Are Fully Functional
A fire extinguisher that isn’t properly maintained may fail to work when needed most. Regular service helps ensure that your fire extinguishers are fully charged, in good condition, and accessible at all times.
Minimizing Fire Damage
If a fire occurs and your fire extinguisher isn’t functioning properly, it can lead to greater property damage and put lives at risk. Routine fire extinguisher service reduces the likelihood of this scenario, giving you the confidence that your equipment is prepared to act when required.
Our Comprehensive Fire Extinguisher Service
Fire Shield Fire Protection offers a full spectrum of fire extinguisher services to meet the needs of both businesses and homeowners. Whether you need installation, inspections, or repairs, we are here to help:
Installation
Choosing the right fire extinguishers for your property is crucial. Our team will help you determine the appropriate type and number of fire extinguishers based on your specific needs, whether for a residential home, office, or industrial facility. We offer professional installation, ensuring that your fire extinguishers are placed in optimal locations and comply with fire safety codes.
Inspection and Maintenance
Regular inspections are key to maintaining the functionality of fire extinguishers. Our expert technicians perform thorough inspections to check for any damage, leaks, or low pressure. We also verify that the equipment is accessible and in compliance with local fire safety regulations. We’ll handle any necessary maintenance, such as recharging or refilling, to keep your fire extinguishers in top condition.
Recharge Services
If your fire extinguisher has been discharged or is losing pressure, we provide quick and efficient recharge services. This ensures your equipment is ready for use at a moment’s notice. We handle all the technical aspects of recharging fire extinguishers, ensuring they’re fully operational.
Replacement
If your fire extinguisher is outdated or no longer functional, we offer timely replacement services. Our team will assess the condition of your fire extinguishers and replace any that are damaged or past their expiration date with high-quality, new units.
Why Choose Fire Shield Fire Protection for Your Fire Extinguisher Service?
Experienced Technicians: Our team consists of certified, experienced professionals who are dedicated to providing the best service for fire extinguishers. We stay up-to-date on the latest fire safety regulations and techniques to ensure you get the highest level of service.
Affordable and Transparent Pricing: We believe in offering our clients excellent service at an affordable price. Our pricing is clear and competitive, with no hidden fees, so you can be sure you’re getting great value for your investment.
Personalized Service: Every property is different, and so are its fire protection needs. We provide tailored recommendations and solutions based on your specific requirements, ensuring that your fire safety plan is effective and meets all local regulations.
Reliability and Availability: Whether you need an emergency service or routine maintenance, we’re here for you. Our team is always ready to provide prompt and reliable fire extinguisher service in Jacksonville, FL, so you can have peace of mind knowing your property is protected.
Contact Fire Shield Fire Protection Today5
