bed_monster420
Hey folks, I'm building a Go API, and I'm working with struct tags to handle JSON serialization. Are there best practices for struct tags in Go, especially when dealing with nested structs?
bed_monster420
Hey folks, I'm building a Go API, and I'm working with struct tags to handle JSON serialization. Are there best practices for struct tags in Go, especially when dealing with nested structs?
oiled_baby
In today’s world of functional programming, microservices, and flexible scripting languages, OOP’s rigid class hierarchies and inheritance can feel limiting and unnecessarily complex. Many modern applications benefit more from modular, stateless functions and data transformations that are easier to scale, test, and adapt, suggesting that we might be better off focusing on simpler, more adaptable paradigms rather than strict OOP. SO WHY DO WE NEED IT ANYWAY ???
batyr1337
I'm learning Go and noticing it handles errors differently from other languages. I’m wondering if there are any recommended patterns for managing error handling gracefully, especially in larger projects. Would love to know what’s worked for you all
mustafa_hater
Ну это что-то с чем-то, ну типо c'mon, займись жизнью чел
narutouzumaki
Я хакнул вебку главного админа этого форума, только посмотрите на эту жирную тушку #bosskfc
dinarka
По дизайну вообще прикольный, по функционалу конечно скудноват, но для начала пойдет
narutouzumaki
Hey everyone! As a big fan of both anime and programming, I thought it’d be fun to imagine what type of programmers our favorite anime characters would be. For example: Light Yagami (Death Note): Probably a backend developer with a talent for writing incredibly complex algorithms. He’d definitely be the one creating secure systems but with a dark twist! Naruto Uzumaki (Naruto): Full-stack developer with tons of energy! He'd be all about collaborative work, tackling problems head-on, and finding creative solutions. He'd be the one bringing team spirit to the office! Levi Ackerman (Attack on Titan): I see him as the quality assurance master. He’d make sure every line of code is spotless and probably wouldn’t let any bugs slip by. Super strict about code quality! Who else would you add, and what would their coding style be like? Let’s see how many creative responses we can get!
yourwifipenetrator_aka_danik
Hello to all the pathetic creatures that inhabit this forum. Today I am sharing with you, the brainless, security tips for your home Wi-Fi: Change Default Credentials: Always update the default username and password on your router. Use Strong Encryption: Opt for WPA3 or at least WPA2 for better security; avoid WEP. Regular Firmware Updates: Keep your router's firmware updated to protect against vulnerabilities. Disable WPS: Turn off Wi-Fi Protected Setup to prevent brute-force attacks. Monitor Devices: Regularly check for unauthorized devices connected to your network. Conduct Penetration Testing: Use tools like Aircrack-ng to identify vulnerabilities in a controlled setting.
miramurka
I've got something interesting about this and only 2 of my last brain cells can tell me that I'm on the wrong path
ornat
Here's a fun one: How would you solve this problem in O(n) complexity? 'Find the maximum sum of subarrays in a given array of integers.' Share your approaches!
ornat
Could someone review my implementation of the binary search algorithm? I'm unsure about its efficiency and could use some feedback!
jojoenjoyer
Does anyone know the best way to optimize database queries in PostgreSQL? I've tried using indexes, but it's still slow.
jojoenjoyer
Hi everyone! Debugging is something we all face daily. What are your go-to methods when troubleshooting? Do you prefer logging, using a debugger tool, or something else? Share your best tips!
batyr1337
Hey there! I’ve built some HTTP handlers in Go and now need to write tests for them. What's the best way to mock HTTP requests and responses in Go? If anyone has tips or libraries to recommend, I'd really appreciate it
batyr1337
Has anyone encountered this problem? I'm stuck on phase 2 of the project because of this, the EC2 instance just loads, but the content of the database deployed on it cannot be displayed, please help ;-(
adilbek
you can't deny that endterms are just something that we've just used to, but in fact they're just a piece of evilness that come from a bigger source of evil - University itsef