26
1
submitted 10 months ago by xiffu@kbin.social to c/programming@kbin.social

When accepting user input for redisplay, and particularly if it will be inserted into a database, it’s important that you sanitize the input to remove any malicious attempts at hijacking your server, or otherwise injecting unwanted MySQL commands, HTML, or JavaScript. https://chat-to.dev/post?id=6

#programming

27
1
submitted 10 months ago by xiffu@kbin.social to c/programming@kbin.social

Join chat rooms and explore programming content on Chat-to.dev.

28
0

The 14 Day Filmmaker Smartphone Edition is an online course about making films using a smartphone.

29
1
submitted 10 months ago by abhi9u@kbin.social to c/programming@kbin.social

Understand the mechanics of dynamic dispatch implementation in CPython

30
1

If you're looking to transform your living space into a cozy and inviting haven, look no further than the L-shaped sofa. This versatile furniture piece has been taking the design world by storm, revolutionizing how we arrange our seating areas. With its sleek lines and spacious layout, an L-shaped sofa is not only practical but also adds an element of contemporary sophistication to any room. So get ready to maximize both comfort and style as we delve into why L-shaped sofas are the ultimate choice for today's interior enthusiasts!

The Rise of L-Shaped Sofas in Modern Interior Design

Gone are the days when sofas were limited to traditional shapes and sizes. Modern interior design has embraced innovation, and L shape sofa have emerged as a hot trend in recent years. The rise of L-shaped sofas can be attributed to their ability to effortlessly blend functionality with style.

One of the key reasons behind their popularity is the versatility they offer in arrangement. Whether you have a compact living room or an open-concept space, an L-shaped sofa can easily fit into any corner, maximizing your floor space while providing ample seating for family and guests.

Moreover, L-shaped sofas have evolved beyond being just a seating option; they now serve as multifunctional pieces that cater to various needs. You can find models with built-in storage compartments or even ones that transform into cozy beds for overnight guests.

Another factor driving the popularity of these sofas is their aesthetic appeal. With clean lines, sleek designs, and a wide range of upholstery options available, L-shaped sofas effortlessly elevate the visual appeal of any room. From luxurious leather finishes to soft fabric textures, there's something for every taste and style preference.

Furthermore, L-shaped sofas bring an element of contemporary sophistication to any space they grace. Their bold presence adds character without overwhelming other furniture pieces or decor items in your room.

Versatility in Arrangement and Functionality

L-shaped sofas have gained immense popularity in modern interior design, and one of the reasons for their widespread appeal is their versatility in arrangement and functionality. These sofas offer a range of possibilities when it comes to configuring your seating area, allowing you to make the most out of your available space.

One of the key advantages of L-shaped sofas is their ability to fit snugly into corners, making them an ideal choice for smaller living rooms or apartments. By utilizing this corner space effectively, you can create a cozy and inviting seating area without sacrificing valuable square footage.

Furthermore, the unique shape of these sofas allows for various seating arrangements. You can place them against a wall or use them as room dividers to separate different areas within an open-concept living space. This flexibility enables you to transform your sofa from a traditional sitting area into a more social and interactive setting when hosting gatherings or entertaining guests.

In terms of functionality, L-shaped sofas often come with additional features such as built-in storage compartments or pull-out beds. These clever additions provide practical solutions for storing extra pillows, blankets, or even converting your sofa into a comfortable sleeping option for overnight guests.

The versatility in arrangement and functionality offered by L-shaped sofas makes them an excellent investment for any home. Whether you have limited space or simply want to add some style and convenience to your living room, these trendy pieces are sure to maximize comfort while adding flair to your decor scheme!

Tips for Choosing the Right L-Shaped Sofa for Your Space

When it comes to choosing the right L-shaped sofa for your space, there are a few key factors to consider. First and foremost, you'll want to take measurements of your room to ensure that the sofa will fit properly. There's nothing worse than falling in love with a sofa only to realize it won't fit through the door!

Next, think about the style and color of the sofa. L-shaped sofas come in a variety of designs, from sleek and modern to more traditional and cozy. Consider the overall aesthetic of your space and choose a sofa that complements it.

Comfort is also crucial when selecting an L-shaped sofa. Look for one with supportive cushions and plenty of seating space. You'll want something that can accommodate both family movie nights and entertaining guests.

Don't forget about durability either! Since an L-shaped sofa typically takes up a significant amount of space, you'll want to invest in one that will stand the test of time. Look for high-quality materials such as hardwood frames or sturdy metal construction.

Don't be afraid to try before you buy! Visit furniture stores or showrooms where you can see and test out different options firsthand. This way, you can get a feel for how comfortable each option is and whether it suits your needs.

By considering these tips when choosing an L-shaped sofa for your space, you can ensure both comfort and style in your living area!

Combining Comfort and Style: How to Accessorize Your L-Shaped Sofa

Accessorizing your L shape sofa dubai is the final touch that will bring your entire living space together in perfect harmony. By combining comfort and style, you can create a cozy and inviting atmosphere that reflects your personal taste.

Start by selecting throw pillows and blankets that complement the color scheme and design of your sofa. Opt for soft fabrics like velvet or faux fur to add an extra layer of comfort. Experiment with different sizes, shapes, and textures to create visual interest.

Next, consider adding a stylish coffee table or side tables near your L-shaped sofa. These pieces not only provide a convenient surface for beverages or snacks but also serve as decorative elements. Choose tables with unique designs or interesting materials to make a statement in your living room.

Lighting is another crucial aspect when accessorizing your L-shaped sofa. Install warm ambient lighting fixtures such as floor lamps or wall sconces to create an inviting ambiance. You can also incorporate task lighting with adjustable desk lamps for reading nooks within the seating area.

To complete the look, don't forget about artwork and decorative accents on the walls surrounding your L-shaped sofa. Hang paintings, photographs, or mirrors that resonate with your personal style to enhance the overall aesthetic appeal of the space.

Consider introducing plants into your living room decor scheme. Not only do they add freshness and natural beauty but they also purify the air inside your home. Select low-maintenance indoor plants like succulents or snake plants if you're not blessed with a green thumb.

By carefully selecting accessories that blend comfort and style seamlessly into one cohesive unit, you'll be able to maximize both functionality and visual appeal in relation to your L-shaped sofa setup.

So go ahead - get creative! Let these tips inspire you in transforming your living space into an oasis of comfort where style reigns supreme.

31
1
submitted 10 months ago* (last edited 10 months ago) by drailin@kbin.social to c/programming@kbin.social

Hey there everyone, I am back with v1.1 of my Latex Template for making D&D Item Cards. I received one major point of feedback from multiple people in the fediverse: make an option for fixing the card dimensions for easier printing and distribution/storage at the table. So that is exactly what I did!

Now you can choose the (admitedly more user-friendly) option of letting the card length vary for digital distribution, or you can fix the card aspect ratio. The item art background and text backgrounds can also now be changed, and a number of options have been included for item art backgrounds, but you can use whatever images you want.

Example Cards

The fixed-size cards are 5:7 by default, the same as playing cards. They include a front and back side for longer item descriptions, but you will have to edit the text more carefully and decide where to split between front/back content.

For the printable card item art, I highly recommend using a PNG with a transparent background and modifying tcolorbox interior style to set your background. Ensure your backgound art is close to 7:5 for best results. You can also load your image as the background art if you'd like instead, again, making sure it is in 7:5.

32
2
submitted 10 months ago by ernest@kbin.social to c/programming@kbin.social
33
2
submitted 10 months ago by btp@kbin.social to c/programming@kbin.social

Response from Martin Woodward, GitHub's VP of Developer Relations:

Sorry for the inconvenience @koepnick - while searching across all repos has required being logged in for a long time, when we enhanced the search capabilities earlier in the 2023 we had to extend this to repos as well (see https://github.blog/changelog/2023-06-07-code-search-now-requires-login/).

This is primarily to ensure we can support the load for developers on GitHub and help protect the servers from being overwhelmed by anonymous requests from bots etc.

34
2
submitted 10 months ago by abhi9u@kbin.social to c/programming@kbin.social

Understand how objects are implemented in CPython and how CPython emulates Inheritance and Polymorphism in C using struct embedding

35
4
submitted 10 months ago by drailin@kbin.social to c/programming@kbin.social

Hey there programmers, I know this is a more markup/typesetting deal, but I thought there might be people who are interested. After being dissapointed with many of the options out there for making ttrpg item cards, I made a LaTeX template for that exact purpose. I wanted it to be relatively easy to use, generate clean images, and be (semi) form fillable. The cards scale in height with the quantity of text given and image size, so users don't need to finagle with the box dimensions too much, and all card sections (generated by custom commands) can either be commented out or toggled off if they aren't relevant to the item.

If there are any people familiar with TeX who have thoughts or constructive criticism, I would love to get some more eyes on this. I have already posted this in the relavant ttrpg areas, but I am hoping people here might have more technical critiques. I have already gotten feedback that a setting for fixed dimensions would be smart in case players want to get card sleeves or a card binder, and want to make a back side for longer item descriptions, which I will work into V2.

Here is an example of a completed card with all the trimmings: Staff of the Jackal Lord

Thanks to anyone who takes the time to check it out, and if anyone uses it, please let me know what you think!

36
1

Devi monitors keywords in Facebook groups, LinkedIn, Twitter, and Reddit, and outreach using ChatGPT or Bard to close deal. Devi also create and schedule content using AI on all social media profiles. With Devi, you can spend less time on social media and more time growing your business.

37
2
submitted 11 months ago by danrot@kbin.social to c/programming@kbin.social

Comments in code are quite often a code smell. Let’s see what is suboptimal about comments and talk about some strategies to avoid them.

38
-1
submitted 11 months ago by Naps@kbin.social to c/programming@kbin.social

Scramble Cloud is now giving 100 GB of free end-to-end encrypted cloud storage for three month.

There's no telling how long this offer will last, so I highly recommend signing up right away if you're keen on securing this deal.

You won't need to share any sensitive personal information, such as payment details. Even a temporary email worked perfectly for me!

https://scramble.cloud

39
0

i've been programming for some time and i've always had a solid command of the language i program in. will i have a problem creating complex and scalable applications because i don't use frameworks?

40
0

i'm thinking of programming a simple news aggregator, what technologies do you recommend for the backend?

#programming

41
0

Kumpulan situs mpo terpercaya ialah tempat terbaik untuk memainkan berbagai jenis permainan slot gacor paling menarik dengan fasilitas dan pelayanan yang baik memberikan peluang jackpot slot paling banyak di Indonesia yang belum pernah ditawarkan di mana pula mengenakan deposit dana terjangkau. Segala keuntungan judi online diberikan yakni yang terlengkap dengan peluang jackpot paling banyak tanpa ada kata rugi dalam masing- masing permainannya di jamin gacor.

Ada banyak kemudahan serta keuntungan permainan slot jackpot maxwin terbesar mengenakan uang asli dengan sistem pembayaran terupdate menggunakan aplikasi Dana yang bisa dimainkan pada link mpo terkini. Dengan minimal deposit terjangkau buat segala permainan semacam slot gacor, live casino baccarat, togel online hingga judi bola online tanpa potongan yang cocok buat para penggila jackpot besar modal receh dengan bonus dan promosi yang berlimpah.

Tidak hanya dikenal sebagai bandarnya permainan slot gacor, situs mpo sbobet88 pula sudah banyak dikenal oleh para pecinta judi bola online di Indonesia sebab tetap memberikan banyak bocoran voor serta jadwal pertandingan terupdate dengan promosi paling banyak, sbobet88 menjamin pembayaran penuh di segala kemenangan yang diperoleh dengan support layanan 24 jam nonstop sehingga dapat digunakan kapan saja kala membutuhkan dorongan dari customer service.

Link deposit dana tanpa potongan menerima masing- masing tata metode pembayaran deposit terlengkap mengenakan deposit bank online terpercaya, deposit emoney terbaik semacam slot deposit Dana, hingga deposit mengenakan pulsa telkomsel tanpa potongan dengan pengalaman permainan slot terbaik di seluruh Indonesia mengenakan uang asli. Berkat berbagai opsi pembayaran yang terdapat situs mpo sajikan promosi menarik bisa didapatkan dengan banyak keuntungan bonus yang bisa didapatkan sekaligus masing- masing harinya.

Tidak perlu diragukan lagi buat tingkatan kemenangannya kumpulan mpo memberikan sensasi mudahnya menggapai kemenangan jackpot maxwin dibandingkan dengan taruhan judi online yang lain, slot gacor sbobet88 mengenakan sistem permainan sangat mudah dipahami buat dimenangkan dengan tampilan menarik pula fitur buyspin yang bisa pemain beli buat memperbesar nilai jackpot besar dan mudah menang. Link mpo terpercaya pula sajikan fitur demo slot online buat dicoba mainkan dikala saat sebelum mulai bermain mengenakan uang asli.

http://www.qianhailaw.cn/slot-deposit-dana/
https://bijou-cinemas.com/

42
0

Hey all, I want to know how you all deal with management and pushing tech debt work. Here's a little bit of background on my current situation, and I'd love to hear how you'd deal with it.

I've been in the profession for about 8 years and had a high-level job at my last company where I oversaw a huge amount of modernization work (bringing an old Laravel codebase up to PHP 8, putting all sites in Docker images for the new cloud infrastructure etc...).

I recently got a new remote job with a pretty high salary (I swear this is relevant and not a brag) with a company that has an ancient tech stack. During the interview, we talked about modernizing the company's stack and seemed to be quite important to them. I really like the company and the people working there and I've been really welcomed there. I was brought into the role because of my experience with modernizing code and I worked for a competitor before joining this team.

The tech stack here is pretty simple and ancient. It does work, but it causes a lot of issues. They're using a monolithic Apache server for all of the websites we manage which each dev has to set up with virtual hosts. My first main project is working under a senior dev to scope out a brand new Laravel API which is all modern tech, no outdated PHP versions or anything.

I was pretty pumped the past few weeks but today I hit a lot of roadblocks in working with him and kind of want to hear what you guys feel about the situation.

We're building out an API specification and he insisted that we do it in a Google document, which I suggested we look at an OpenAPI specification instead so we didn't have to keep repeating request bodies and responses. He came back and said something along the lines of: "I don't really want to learn YAML because I don't have time, so we'll stick with the document.". My wrists and fingers still ache from having to copy, paste and edit each request and response manually. Google Docs isn't a great solution for generating API specifications.

Then after that, we bootstrapped the main Laravel application. It's the most recent version of Laravel, and I realised that he'd committed the whole vendor folder to the repo and had gone through the .gitignore files in each dependency and removed stuff that would mess with it. I asked why he did it like that, and he said: "we won't be using Composer because our servers don't have it". Our other applications are running on an older version of PHP so I said we'd need a new server anyways, so why don't we do it the way that Laravel suggests with CI/CD pipelines? He comes back and says "We don't use Composer, and that won't change.". He's been pretty cold to me ever since I started.

Thanks for sticking with me, now back to the salary. How should I approach my manager (the Lead Developer) about this without making it seem like I'm tattling on the Senior? The salary is way more than an average Laravel dev and I know I'll feel bad if I say nothing. I also don't want to dull my skills with newer technologies because I'll struggle in my next role when/if I move on. I spent 3/4 years at my last role and then moved onto another role which only lasted 3 months before coming into this role, so I don't really want to change jobs again for a while.

I'd really value your opinions in this as professionals, even if the technology I've mentioned isn't familiar to you! How would you deal with this situation, especially when it comes to management that don't understand the problems that ignoring tech debt can cause?

43
0
44
0

Visual Studio Code for the Mac, once known as Mono Develop then Xamarin Studio, is being shut down by Microsoft. Visual Studio for Mac will continued to be supported with bug fixes and Apple platform updates for one more year.

45
1
"Clean" Code, Horrible Performance (www.computerenhance.com)
submitted 1 year ago* (last edited 1 year ago) by wave_walnut@kbin.social to c/programming@kbin.social

Many programming "best practices" taught today are performance disasters waiting to happen.

related article:
SE Radio 577: Casey Muratori on Clean Code, Horrible Performance?

46
1
submitted 1 year ago* (last edited 1 year ago) by Toby-Lykins725@kbin.social to c/programming@kbin.social

Microsoft Software Unlimited Sale, Affordable Price License Key

_Outline the Benefits of the Product/Service:
_
.Low rates
.Genuine keys that will work
Fast and easy delivery
Secure payments
Personalized customer service
A generous up to 80% discount when you use the coupon code MO30KEYS

Know more details then "Review Chick Hare"

#programming

47
0

No answers, but a lot of downvoting and toxicity around pROPer QueSTioNS. I got reminded why I haven't gone to that site for a very long time.

(Also if you have some better tutorials for the win32 API than what MS has, then I would appreciate that. No, I don't need a bloated library, that does things, but poorly, and has similar documentation issues with functions everyone assumes are called between the two main ones.)

48
1
submitted 1 year ago* (last edited 1 year ago) by ZILtoid1991@kbin.social to c/programming@kbin.social

Supposedly, it was only supposed to happen with high-precision trackpads, but it happens to all my devices. I do however have a graphic tablet and an old PS/2 keyboard connected to my motherboard, but all devices cause such issues on my PC at least. I tried my best to follow MS documentations as closely as possible, so unless there was something missing from there (I've read something about OnInputEvent.Post(), but it might be related to some other API) I don't think I've done something wrong.

49
0

Commit Mono is an anonymous and neutral programming typeface focused on creating a better reading experience.

50
1
submitted 1 year ago* (last edited 1 year ago) by FarraigePlaisteach@kbin.social to c/programming@kbin.social

I was looking at video reviews of git GUI clients. The best ones are pricey and we are two people occasionally editing some webpages for our business website. It’s hosted on GitLab Pages.

Can anyone recommend something straightforward? I’ll be sticking to the terminal but my colleague is new to code repositories.

Git GUI is free, but looks terrible IMO. Sublime have a nice one and it’s not subscription based, but is expensive. We are both on Mac usually.

Another alternative I considered was showing them the three terminal commands I use mainly (add, commit and push) and then let them edit from the file manager itself. But because they’ll be doing this so rarely, it might be easy to forget.

Edit: I’ve settled on a few to try out: sourcetree, fork, gitup and the one by Sublime. The conversation doesn’t have to end there, but thanks for the help. So many great answers here :)

view more: ‹ prev next ›

Programming

30 readers
1 users here now

This magazine is dedicated to discussions on programming languages, software development, and coding. Whether you are a beginner programmer or an experienced developer, this is the place for you. Here you can share your knowledge, ask questions, and engage in discussions on topics such as coding languages, software engineering, web development, and more. From the latest trends and frameworks to tips and tricks for debugging, this category covers a wide range of topics related to programming.

founded 2 years ago