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 - "character choice"
-
Finally a keyboard made for waffling on about how your indentation character choice is strictly superior to the other option
7 -
https://fuckoff.services.
Wrote it because fuck it why not. Was sick at home and wanted to build something :)
Feedback would be great!
About the short character limit, I might up it a little but this thing is about writing short messages and not stories so that's a choice on purpose.42 -
The riskiest dev choice...
How about "The riskiest thing you've done as a dev"? I have a great entry for that. and I suppose it was my choice to build the feature afterall.
I was working on an instance of a small MMO at a game company I worked for. The MMO boasted multiple servers, each of them a vastly different take on the base game. We could use, extend, or outright replace anything we wanted to, leading to everything from Zelda to pokemon to an RP haven to a top-down futuristic counterstrike. The server in this particular instance was a fantasy RPG, and I was building it a new leveling and experience system with most of the trimmings. (Talents, feats/perks, etc. were in a future update.)
A bit of background, first: the game's dev setup did not have the now-standard dev/staging/prod servers; everything ran on prod, devs worked on prod, players connected and played on prod, etc. Worse yet, there was no backup system implemented -- or not really. The CTO was really the only person with sufficient access. The techy CEO did as well, but he rarely dealt with anything technical except server hardware, occasionally. And usually just to troll/punish us devs (as in "Oops ! I pulled the cat5 ! ;)"). Neither of them were the most reliable of people, either. The CTO would occasionally remote in and make backups of each server -- we assumed whenever he happened to think of it -- and would also occasionally do it when asked, but it could take him a week, sometimes even up to a month to get around to it. So the backups were only really useful for retreiving lost code and assets, not so much for player data.
The lack of reliable backups and the lack of proper testing grounds (among the plethora of other issues at the company) made for an absolutely terrible dev setup, but that's just how it was, and that's what we dealt with. We were game devs, afterall. Terrible or not, we got to make games! What more could you ask for!? It was amazing and terrible and wonderful and the worst thing ever, all at the same time. (and no, I'm not sharing the company name, but it isn't EA or Nexon, surprisingly 😅)
Anyway, back to the story! My new leveling system also needed to migrate players' existing data, so... you can see where this is going.
I did as much testing and inspection of my code as I could, copied it from a personal dev script to the server's xp system, ... and debated if I really wanted to click [Apply]. Every time I considered it, I went back to check another part or do yet more testing. I ended up taking like 40 minutes to finally click it.
And when I did... that was the scariest button press of my life. And the scariest three seconds' wait afterwards. That one click could have ruined every single player's account, permanently lost us players ...
After applying it, I immediately checked my character to see if she was broken, checked the account data for corruption or botched flags, checked for broken interactions with the other systems....
Everything ended up working out perfectly, and the players loved all of the new features. They had no idea what went into building them, and certainly had no idea of what went into applying them, or what could have gone wrong -- which is probably a good thing.
Looking back, that entire environment was so fragile, it's a wonder things didn't go horribly wrong all the time. Really, they almost never did. Apocalypses did happen, but were exceedingly rare, and were ususally fixed quickly. I guess we were all super careful simply because everything was so fragile? or the decent devs were, at least. We never trusted the lessers with access 😅 at least on the main servers where it mattered. Some of the smaller servers... well, we never really cared about those.
But I'm honestly more surprised to realize I've never had nightmares of that button click. It was certainly terrifying enough.
But yay! Complete system overhaul and migration of stored and realtime player data! on prod! With no issues! And lots of happy players! Woooooo!
Thinking back on it makes me happy 😊rant deploying straight to prod prod prod prod dev server? dev on prod you chicken migration on prod wk149 git? who's a git? you're a git! scariest deploy ever game development1 -
We might achieve world peace one day and still won't have agreed over indentation.
Indentation = TAB. Just 1 character (N spaces = N characters = more disk space, duh!). And then each dev can chose their own TAB width (in spaces) in their IDE of choice. Beautiful.
11 -
Got rebuked by the Java teacher today at the University for using proper long names for variables in the code. She though I was just wasting time being lazy in the lab. "If something can be achieved by a single character, why type that long variable again and again?". *Everyone in class laughs*
Then, there was an error in my code [turned out to be long long int in Java is weird], and I had no clue what was going wrong [I'm a week old in Java]. So, I had initially called her to help. She made me change all private methods and attributes to public. When asked "why?", got trolled again.
Now, I know it's okay, and not that I really care about what my classmates think of me, but getting this kind of treatment really sucks. And if this is how future software developers are crafted today, maintainability is surely going to be an issue tomorrow.
Maybe staying in this stupid country was my worst career choice. I should have tried harder and gone abroad.11 -
In competitive games in which team composition matters and you have different playable classes and/or roles (tank, area damage, point damage, various kinds of healing, buffs/debuffs, etc) what kind of character do you like to play?
I guess this would apply to stuff like MMOs, Overwatch, TF2, DOTA, Diablo/PoE, and so on.21 -
Here is my idea for a time machine which can only send one bit of information back in time.
@Wisecrack has asked me about it and I didn’t want to write it in comments because of the character limit.
So here we go.
The DCQE (delayed-choice quantum eraser) is an experiment that has been successfully performed by many people in small scale.
You can read about it on wikipedia but I'll try to explain it here.
https://en.wikipedia.org/wiki/...
First I need to quickly explain the double slit experiment because DCQE is based on that.
The double slit experiment shows that a particle, like a photon, seems to go through both slits at the same time and interfere with itself as a wave to finally contribute to an interference pattern when hit on a screen. Many photons will result in a visible interference pattern.
However, if we install a detector somewhere between the particle emitter an the screen, so that we know which path the particle must have taken (which slit it has passed through), then there will be no interference pattern on the screen because the particle will not behave as a wave.
For the time machine, we will interpret the interference pattern as bit 1 and no interference pattern as bit 0.
Now the DCQE:
This device lets us choose if we know the path of the particle or if we want wo erase this knowledge. And we can make this decision after the particle hit the screen (that is the "delayed" part), with the help of quantum entanglement.
How does it work?
Each particle send out by the emitter will pass through a crystal which will split it into an entangled pair of particles. This pair shares the same quantum state in space and time. If we know the path of one of the particle "halves", we also know the path of the other one. Remember the knowledge about the path determines if we will see the interference pattern. Now one of the particle "halves" goes directly into the screen by a short path. The other one takes a longer path.
The longer path has a switch that we can operate (this is the "choice" part). The switch changes the path that the particle takes so that it either goes through a detector or it doesn't, determining if it will contribute to the intererence pattern on the screen or not. And this choice will be done for the short path particle-half because their are entangeld.
The path of the first half particle is short, so it will hit the screen earlier.
After that happened, we still have time to make the choice for the second half, since its path is longer. But making the choice also affects the first half, which has already hit the screen. So we can retroactively change what we will see (or have seen) on the screen.
Remember this has already been tested and verified. It works.
The time machine:
We need enough photons to distinguish the patterns on the screen for one single bit of information.
And the insanely difficult part is to make the path for the second half long enough to have something practical.
Also, those photons need to stay coherent during their journey on that path and are not allowed to interact with each other.
We could use two mirrors, to let the photons bounce between them to extend the path (or the travel duration), but those need to be insanely pricise for reasonable amounts of time.
Just as an example, for 1 second of time travel, we would need a path length about the distance of the moon to the earth. And 1 second isn't very practical. To win the lottery we would need at least many hours.
Also, we would need to build the whole thing multiple times, one for each bit of information.
How to operate the time machine:
Turn on the particle emitter and look at the screen. If you see an interference pattern, write down a 1, otherwise a 0.
This is the information that your future you has sent you.
Repeat this process with the other time machines for more bits of information.
Then wait the time which corresponds to the path length (maybe send in your lottery numbers) and then (this part is very important) make sure to flip the switch corresponsing to the bit that you wrote down, so that your past you receives that info in the past.
I hope that helps :)9 -
My code editor has been frozen for 3 minutes because I entered a single character. My computer is a 16core 5.2ghz marvel of engineering. Visual Studio is a plague on humanity full-stop. Working with Unreal Engine gives me no choice but to use this piece of trash IDE that has only been going downhill since 2013. Cancel the project. Don't start over. Give up. Let Jetbrains make the IDEs.4
-
Hardwood Flooring Installation Services by Palm Tile - Gardner Tile Installation
At Palm Tile, located in Gardner, MA, we specialize in high-quality hardwood flooring installation that enhances the beauty and value of your home or business. Hardwood floors are timeless, adding warmth, elegance, and durability to any space. Whether you're renovating a single room or upgrading your entire property, our expert team is here to ensure that your hardwood floors are installed with the highest level of precision and craftsmanship.
Why Choose Palm Tile for Your Hardwood Flooring Installation?
At Palm Tile, we are committed to providing superior hardwood flooring installation services that bring your vision to life. Hardwood floors offer a range of benefits, from timeless aesthetics to long-lasting durability, making them an excellent investment for any property. Here’s why you should choose Palm Tile for your next hardwood flooring project:
Expert Installation: Our team of skilled professionals has years of experience in installing hardwood flooring. We ensure that each plank is laid with precision, ensuring a seamless, beautiful finish. From leveling the subfloor to finishing the installation with the proper sealants, we guarantee that your hardwood floors will be installed to perfection.
Wide Selection of Hardwood Options: Whether you prefer classic oak, rich mahogany, or exotic woods like walnut or teak, Palm Tile offers a vast selection of hardwood flooring options. We help you select the best style, color, and finish to suit your design preferences and the overall aesthetic of your space.
Durability and Long-Lasting Quality: Hardwood flooring is known for its strength and durability. With proper care, hardwood floors can last for decades, even with heavy foot traffic. They are resistant to scratches and dents, making them ideal for both residential and commercial settings. Our expert installation ensures that your floors will stand the test of time.
Timeless Beauty: Hardwood floors are renowned for their natural beauty and timeless appeal. Whether you're going for a classic or modern look, hardwood flooring adds a touch of luxury to any space. The variety of wood types, finishes, and stains available ensures that your floors will match your unique style.
Enhanced Property Value: Installing hardwood floors is an investment that can increase the value of your property. Homes and businesses with hardwood flooring are often more desirable to potential buyers, making them a wise choice if you're considering selling in the future.
Professional Service: At Palm Tile, we are committed to providing exceptional customer service from start to finish. Our team will guide you through the entire process, from selecting the right hardwood to the final installation. We take the time to ensure that every detail is handled with care and attention, giving you the best possible experience.
Types of Hardwood Flooring We Install
Solid Hardwood: Solid hardwood flooring is made from a single piece of wood and is known for its durability and classic look. It can be sanded and refinished multiple times, which gives it a long lifespan. Solid hardwood floors are ideal for areas with low to moderate moisture levels.
Engineered Hardwood: Engineered hardwood is made from multiple layers of wood, with a hardwood veneer on top. It is more resistant to moisture than solid hardwood, making it a great option for areas like basements or kitchens. Engineered hardwood is also easier to install than solid wood.
Exotic Hardwood: If you're looking for something unique, exotic hardwoods like Brazilian cherry, teak, or bamboo provide a one-of-a-kind look. These types of hardwood flooring are often more durable and feature distinctive grains and colors.
Why Hardwood Flooring Is a Great Choice
Hardwood flooring adds character and beauty to any home or business. Its natural warmth makes a room feel inviting, and its aesthetic versatility means it can complement a wide variety of interior styles. Additionally, hardwood floors are easy to maintain and clean, making them a practical choice for both residential and commercial spaces. With proper care, hardwood floors can last a lifetime, providing an enduring and timeless investment.
Contact Palm Tile for Your Hardwood Flooring Installation
If you're looking for reliable and professional hardwood flooring installation services in Gardner, MA, Palm Tile is the company to trust. We offer expert installation, a wide variety of hardwood flooring options, and exceptional customer service to ensure your satisfaction.
Call us today at +1 (857) 990-8658 to schedule your consultation or visit us at 59 Foster Ct, Gardner, MA 01440, United States. Let Palm Tile help you create the elegant, durable, and beautiful hardwood floors you’ve always wanted!2 -
Arte Floors: Your Local Carpet Shop, Expert Carpet Fitters, and Wood Flooring Specialists in London
Welcome to Arte Floors, your trusted local carpet shop near me, offering a wide selection of high-quality carpets, expert carpet fitting services, and stunning wood flooring near me. Located at 380 Essex Rd, London N1 3PF, we are committed to providing London residents with top-notch flooring solutions for every room and space. Whether you're looking to enhance your home with a new carpet or transform your floors with beautiful wood options, we have everything you need.
Your Trusted Carpet Shop Near Me
At Arte Floors, we are proud to be your go-to carpet shop near me. We carry an extensive selection of carpets in various styles, colors, textures, and materials to suit your specific needs. From luxurious wool carpets to affordable synthetic options, our range offers something for everyone.
Why choose Arte Floors as your carpet shop near me?
Wide Selection: We offer a wide variety of carpets, including plush, textured, and patterned designs to complement any décor.
Expert Advice: Our knowledgeable team is here to help you find the perfect carpet for your space, providing advice on color, texture, and durability.
Quality Brands: We only stock carpets from trusted, high-quality brands, ensuring you get durable and stylish options that will last for years.
If you’re in the market for a new carpet, stop by Arte Floors, your local carpet shop near me, and discover the best flooring options for your home or business.
Professional Carpet Fitters Near Me
Once you've selected the perfect carpet, our team of professional carpet fitters near me will ensure a flawless installation. At Arte Floors, we understand that the quality of your carpet installation is just as important as the quality of the carpet itself. Our expert carpet fitters are trained to deliver precise and efficient installations, ensuring a smooth, seamless finish every time.
The benefits of choosing carpet fitters near me from Arte Floors include:
Expert Installation: Our carpet fitters have years of experience and use the latest techniques to ensure your carpet is installed correctly.
Minimal Disruption: We work quickly and efficiently, ensuring minimal disruption to your daily routine.
Attention to Detail: We take care of every detail, from proper measurements to perfect seams and edges, leaving you with a beautifully installed carpet that enhances your space.
Choose Arte Floors for professional carpet fitters near me and enjoy the peace of mind that comes with expert installation.
Stunning Wood Flooring Near Me
If you’re looking to elevate your space with natural beauty and elegance, wood flooring near me from Arte Floors is the perfect choice. We offer a wide selection of high-quality wood flooring options, including hardwood, engineered wood, and laminate, to suit every home and office.
The benefits of wood flooring near me from Arte Floors include:
Timeless Beauty: Wood flooring adds warmth and character to any room, creating a sophisticated and welcoming atmosphere.
Durability: Our wood flooring options are designed to withstand the wear and tear of daily life, making them perfect for high-traffic areas.
Eco-Friendly: Many of our wood flooring options are sustainably sourced, making them an environmentally conscious choice.
Whether you’re looking for classic hardwood, durable engineered wood, or affordable laminate, Arte Floors offers the best wood flooring near me to complement your space.
Why Choose Arte Floors?
Local Expertise: As your trusted carpet shop near me and wood flooring specialists, we offer expert advice and high-quality products.
End-to-End Service: From helping you choose the right carpet or wood flooring to providing expert installation services, we’re with you every step of the way.
Affordable Pricing: We offer competitive prices without compromising on quality, so you get great value for your investment.
Customer Satisfaction: Our top priority is ensuring that you are completely satisfied with your flooring purchase and installation.
Visit Arte Floors Today
For the best carpet shop near me, carpet fitters near me, and wood flooring near me, look no further than Arte Floors. Visit us at 380 Essex Rd, London N1 3PF, where our friendly team will assist you in choosing the perfect flooring solution for your home or business.
Call us at +44 20 7050 1155 for more information or to schedule an appointment. Let us help you transform your space with high-quality carpets and wood flooring that will last for years!2 -
Advance Fenceworks: Expert Wooden Fence Building in Winnipeg, MB
When it comes to adding charm, privacy, and security to your property, wooden fence building is a timeless solution that offers both functionality and aesthetic appeal. At Advance Fenceworks, we specialize in providing top-tier wooden fence building services to homeowners and businesses in Winnipeg, MB. Whether you’re looking to create a private retreat in your backyard or add curb appeal to your property, our expert team is here to deliver the perfect wooden fence tailored to your needs.
Located at 182 El Tassi Dr, Winnipeg, MB R3W 0M4, Advance Fenceworks offers high-quality craftsmanship, durable materials, and exceptional customer service. If you’re considering a wooden fence for your home or business, read on to learn more about why we’re the best choice for wooden fence building in Winnipeg.
Why Choose Advance Fenceworks for Wooden Fence Building?
When you choose Advance Fenceworks, you're selecting a team of skilled professionals who are dedicated to delivering the highest standards in wooden fence building. Here’s why we stand out in Winnipeg:
1. Experienced Fence Builders
Our team consists of experienced fence builders with a deep understanding of the wooden fence building process. We take the time to carefully assess your needs and design a fence that fits perfectly with your property’s aesthetic and functionality. Whether you need a rustic wooden fence for a rural property or a sleek, modern design for an urban backyard, we’ve got you covered.
2. Custom Wooden Fence Solutions
We believe that every property is unique, and we offer custom wooden fence building services to match your specific vision. From choosing the right wood type to designing the perfect height and style, we’ll work with you every step of the way to ensure your fence enhances the beauty and security of your property.
3. High-Quality Materials
We use only the best quality wood for our wooden fence building projects. We understand that wooden fences need to withstand the elements, and that’s why we use durable, weather-resistant materials that will hold up against Winnipeg's harsh climate. Whether you choose cedar, pine, or another wood type, we ensure that your fence is built to last.
4. Affordable and Transparent Pricing
At Advance Fenceworks, we are committed to providing high-quality fencing solutions at affordable prices. We offer competitive rates for our wooden fence building services without compromising on quality. Our upfront estimates are transparent, with no hidden fees, so you can budget confidently for your project.
5. Commitment to Customer Satisfaction
Customer satisfaction is our top priority. From the moment you contact us to the completion of your wooden fence building project, we focus on providing excellent service, ensuring that your fence is built to your exact specifications. We aim to exceed your expectations and deliver a fence that enhances the beauty, security, and value of your property.
Benefits of Wooden Fences
A wooden fence is more than just a boundary—it’s a functional and aesthetic addition to your property. Here are some of the top benefits of installing a wooden fence:
1. Privacy
Wooden fences provide excellent privacy for your home or business. Whether you’re relaxing in your backyard, hosting a gathering, or simply want to enjoy your outdoor space without prying eyes, a wooden fence creates a secure, private area for you and your family.
2. Aesthetic Appeal
Wooden fences are versatile and can complement a wide range of architectural styles. Whether you want a rustic, traditional look or a sleek, modern design, a wooden fence adds a natural, warm feel to your property. Additionally, wooden fences can be painted or stained to match your personal style and exterior decor.
3. Durability and Longevity
With proper care and maintenance, wooden fences can last for many years. The materials we use are designed to withstand Winnipeg's weather, and we take extra steps to treat and seal your fence to ensure it holds up against moisture, sunlight, and other environmental factors.
4. Increased Property Value
A professionally installed wooden fence enhances the curb appeal of your property, potentially increasing its value. If you're planning to sell your home, a beautiful wooden fence can make your property more attractive to prospective buyers.
5. Customization Options
Wooden fences offer a wide range of design possibilities. From classic picket fences to taller privacy fences, we can customize the design to suit your needs. You can choose the height, style, and finish to match your property’s character and meet your functional requirements.
3

