FirasRG
Explore posts from serversRReactifluxDIAdiscord.js - Imagine an appCDCloudflare DevelopersJCHJava Community | Help. Code. Learn.
JCHJava Community | Help. Code. Learn.
•Created by FirasRG on 1/18/2025 in #java-help
How I make Spotless follows my checkstyle configuration?
I have some annoying conflicts between Checkstyle and Spotless and I dunno what is the best approach to do ?
5 replies
JCHJava Community | Help. Code. Learn.
•Created by FirasRG on 1/16/2025 in #java-help
What is the meaning of lazy-initialization in Spring Boot properties file ?
In one of our projects in company. A teammate did this long time ago, and I don't get why ?
The property documentation says :
Whether initialization should be performed lazily. - default value is false
16 replies
JCHJava Community | Help. Code. Learn.
•Created by FirasRG on 12/31/2024 in #java-help
[Philosophy] SE, Why we don't do it correctly ?
I've been thinking about this question for years, without truly finding the answer to it. In real world experience I've seen many engineers (developers, networkers, business analysts) from different levels (certainly most are juniors), most of the time where they get assigned to an issue or a task, they read description for maximum 30 mins, discuss a bit to clarify or add something in description, create their code branches and dive directly to code. Another example, I've seen it so much, in technical assessment tests, the employer of an organization, put the candidate into a coding test with very short timeout (like 15 - 30 mins), which means they want them to understand the whole problem very quickly and code directly with high expectations! A 3rd example, especially in medium and small companies, when they start on a big project from scratch, and a customer tells them "So i'm ok to start some business with you, however, i want a first working release in 2 weeks!" and they say "Sure ! don't worry". :kekw: So they start coding blindly and do multiple mistakes as they didn't take enough time to think about the problem and at the end they lose the customer and the whole business, and they try again to find another to do same mistake and so on. I don't understand, really, why we learned in uni and e-courses that diving to code is the easy part, while thinking about stuff like architecture, maintainability and scaling is the hard part, but in practice we do the opposite ?! IOW, we think that coding is the HARD damn part, which is not true !
107 replies
DIAdiscord.js - Imagine an app
•Created by FirasRG on 6/23/2024 in #djs-questions
Duplicated commands (not global)
im starting out with a very basic command ping-pong! when i use deploy-command.ts script multiple times, i see the command twice on my server. I don't get why this is happening. Ive followed the guide step by step :
https://discordjs.guide/creating-your-bot/slash-commands.html#before-you-continue
I can share my code if needed .
9 replies
CDCloudflare Developers
•Created by FirasRG on 6/23/2024 in #workers-help
How to deploy discord bot app through workers ?
I've followed Discord tutorial step by step and got issues with node compatibility ! I need to know whether is possible to deploy my bot app builts with discordjs to cloudflare or not; thanls
Source: https://discord.com/developers/docs/tutorials/hosting-on-cloudflare-workers#creating-your-cloudflare-worker
12 replies