TruthCoder's Posts
Nairaland Forum › TruthCoder's Profile › TruthCoder's Posts
1 2 3 4 5 6 7 8 ... 16 17 18 19 20 21 22 23 24 (of 49 pages)
Werey claims to have 3 years experience in HTML LOL. He even says Node.js and ‘their numerous subsets’ LWKMD
|
Sleekcode:Is this not your api?
|
Sleekcode:Says the fool that commits .env files to github
|
Sleekcode:Dont worry. I have all that i need. And your bravado in the face of oncoming bullets wont help you. Sha hold on. I am going through your reao life socials now. FUTO graduate abi? Your other name is Andrew abi? Sha wait. Your breakfast would be ready soon |
Sleekcode:LMAO. You are still making mouth? OK. Your harvest don land today. I would make you an example to all other dumbos like you on Nairaland here who think the world revolves around their school hostel. Just wait. |
Sleekcode:You think it is only your name that i have? ![]() |
Sleekcode:I will make you my work this morning. That your small api that you created with no security, i will DDOS the living daylight out of it soon. Sho lo stupid ni |
Sleekcode:Izeogu Maduabuchi, Dont let me have your time. You are a small fry. Few minutes and i have your real name, all social handles , your pictures and your life history. LOL |
Sleekcode:Every normal and sensible human who read my initial post here, saw my attribution (which was explicit) and my follow ups would understand that i simply gave an alternative view. Yes, i asked chatGPT and wrote it here that it was an answer provided by chatGPT. (I clearly wrote courtesy of chatGPT under the post or are you mot smart enough to know that such attributions are not written by chatGPT?) You have been going round my old threads on a personal vendetta, looking for where to pour your anger. If you are a real programmer, you would know that every single valuable site in the world would one day get its fire test from potential hackers. Yahoo, Facebook, Heroku, etc all had their close shaves with potential attacks recently. Are you better that the programmers in these organizations? It is the attitude of never-do-wells like you that has made programming section on Nairaland dull. You have nothing to your name. NOTHING. Yet, you come here looking for where to expend your frustration. You are simply frustrated with your unsuccessful life. Dont stop at this thread, dig further. You are simply angry because i have no job for you. That’s how you went to an old thread i opened when i wanted to sell off my 2012 MBP which was a core i7 with 16gb. You were asking the dumb question that who codes on a 2012 MBP. You are simply an unhappy fellow. It’s Christmas and I don’t know about your side, but i am here celebrating the successes of this year. I have no space for a toxic slowpoke like you. |
Sleekcode:LOL I dont do ‘gigs’ I handle projects. |
Sleekcode:Yes, I used a 2012 Macbook Pro for coding and i sold it when i was decluttering my space when i this year. What exactly do you think is wrong with a 2012 MBP? Have you ever owned one before? If you even have any basic understanding of programming, you would know that a core i7 with 16GB RAM and dedicated graphics is more than enough for web development. The 2012 to 2015 Macbook Pros are still one of the best intel-based Macbooks out there. There are many developers that i know that still use the 2015. I currently use the 2015 because it is more reliable than any other thing from 2016 to 2019. The projects i work on fuel my lifestyle and passion. I build business solutions and currently am working on a project on Yas Island with my 2015 MBP. Now, what are you working on? You came to this thread, trying to dig up on me. Be careful young one. |
bedfordng:All unrecognised paths resolve with a res.json() response, as long as they are within the rate limit. All requests above the rate limit simply fail and block the ip automatically. I also have my error logics in place for all valid paths to reduce crashes. I have zod and validator in place for input validations. I also have my headers with custom tokens from my web and mobile apps for all requests which is verified via a middleware. This is in addition to the jwts for protected routes. I am considering logging all rouge ips and storing them in a central blacklist for all my projects but the load time cost is what i am concerned about. Maybe if i create the list centrally, then have my projects have cron jobs that fetch from this list and update locally to a redis cache? Then cross referencing via the locally updated list should not cost more in time and compute. |
Sleekcode:You opinion has been noted. You can now move along Thanks |
bedfordng:Very true. My main concern would be how he got the server link Could it be through crawling? What are the possible mitigations against such since the APIs are not customer facing? I dont think i can use an IP whitelist as railway does refresh intermittently. Inputs welcome |
Sleekcode:Dont you think it would be wiser if you read the post before commenting from your already-formed biased mind? Since you are the god of code, abeg tell me which theme or scripts i copied on a simple Nodejs Express server? Do you even know how serverless deploys work? To you, the system has no value but not to the company that paid in USD for a fully integrated workflow automation system. Do you even know what workflow automation is? I don’t copy codes and would not have been able to spot this if i had unnecessary or unknown scripts running. This is not a landing page for iya basira’s food canteen or an NFT scamming site. It is a custom built site and you might not believe it but some people do write their own codes. Even if you know more than everyone here, dont you think it is better you share your unlimited knowledge than trying to ridicule? Edit: Someone smarter has given a response above. You can do well to read it. Thanks |
Asekun434:Great. |
Asekun434:I would like to ask. Does the face id still work? |
Railway deploys their default client servers as Bleep dot up dot railway dot app where Bleep is the client’s identifier. For production, it is expected to use a custom domain which replaces the default with your domain. Since this project is still in development, i have not applied the custom domain. |
airsaylongcome:It is a serverless deployment on Railway. One of my assumptions is that the attack happened via Railway (possibly an hacker has access to their systems and its not yet discovered). I would be contacting their support via email soon. |
I am writing to share an experience I recently had while working on an automation system for a client. The system is built using an Express server that serves a svelte-kit and flutter app from Railway, and security is always a top priority for me. That's why I implemented measures such as cors, helmet, and express-rate-limit to keep the system secure. However, while going through the logs for the system, I noticed that the express-rate-limit had been triggered. This was surprising because the site is still in development and I am the only user. Upon further investigation, I discovered that someone had been trying to gain unauthorized access to the system. These attempts included trying to locate unprotected .env files on the routes, and some of the requests were made less than a second apart, which indicated that it was a malicious attack rather than an accident. In response to this event, I changed all passwords and identified and fixed any bugs in the system that were discovered through the logs. I also implemented a persistent blacklist for rogue IPs to prevent future attacks of this nature. This experience has reminded me of the importance of continuously monitoring and securing my systems, and the need to stay vigilant in protecting against potential threats. I hope this post helps others to stay aware of the potential risks and take the necessary precautions to keep their own projects secure.
|
GREATIGBOMAN: ![]() |
Wow, it's really impressive how there are all these self-proclaimed geniuses out there who think they're the best because they can answer some trivia questions about data structures and algorithms. Newsflash: that doesn't mean you're actually a good coder. In fact, most of these DSA-obsessed babies don't have a single practical project to their name. They've never solved a real-life dev problem, let alone achieved 100 MAU on anything. And yet, they have the audacity to beg for hand-me-down laptops and criticize others who can afford brand new desk set-ups. But hey, it's not like being a good coder is about being able to think on your feet and adapt your current knowledge to solve real problems. Oh wait, that's exactly what it's about. That's why teams are made up of different people with different skills, not just the CTO. But I'm sure these yapping puppies know better than that. Carry on, guys |
is coding all about data structures and algorithms Coding involves many different aspects, and data structures and algorithms are just one part of it. In general, coding involves designing, writing, testing, and debugging code to solve problems or accomplish specific goals. Data structures and algorithms are important tools that are used to solve problems and perform tasks in an efficient and effective way. They allow you to organize and manipulate data in a way that is optimized for a particular purpose, such as searching, sorting, or storing data. However, there is much more to coding than just data structures and algorithms. Other important aspects of coding include: Designing and planning: This involves understanding the problem or goal, determining the requirements and constraints, and designing a solution that meets those requirements. Writing code: This involves writing the actual code that implements the solution, using a programming language and following best practices for code organization, readability, and maintainability. Testing and debugging: This involves testing the code to ensure that it works correctly, and debugging any issues that arise. Collaborating and communicating: This involves working with other developers and stakeholders, such as project managers and users, to ensure that the solution meets their needs and meets project goals. Overall, coding involves a wide range of skills and activities, and data structures and algorithms are just one part of the picture. |
TastyFriedPussy:To solve this problem, you can iterate over the nodes and use the node colors and values to reconstruct the tree. Here's a rough outline of a possible solution: Start with an empty list of edges. Iterate over the nodes, starting from the first one. For each node, do the following: If the current node is white, find the next black node in the list and create an edge between the two nodes with a value equal to the difference between their sv values. If the current node is black, find the next white node in the list and create an edge between the two nodes with a value equal to the difference between their sv values. Repeat this process until you have processed all the nodes. function restoreTree(n: number, nodes: Array< [number, number] > ) : Array < [number, number, number] > { const edges: Array<[number, number, number]> = []; for (let i = 0; i < n; i++) { const [ci, si] = nodes[i]; let j = i + 1; while (j < n && nodes[j][0] === ci) { j++; } if (j < n) { const [cj, sj] = nodes[j]; edges.push([i + 1, j + 1, Math.abs(si - sj)]); } } return edges; } Courtesy, ChatGPT. |
truthCoder:As i said here, its all about the money. OpenAI has announced that it is expecting $1 billion in revenues for 2024. Na who no smart na him fasting dey kill. Now the question, would i pay for chatGPT? The answer is a resounding YES. I dont mind paying based on my experience with it in the last few days. It has made my job and life so much easier. Google search looks like one antique service from 1970 in comparison. Advanced sql queries, code refactoring, process designs, back and forth discussions about a project and even i was able to write a romantic letter to my french girlfriend in french and she was just blushing ![]() Many tech companies are having disruptive meetings right now on adapting this to their products As i said earlier, na who no smart na him fasting dey kill.
|
dapojaja:I like your response. Yes farm labourers jobs are at risk when the tractor comes in. Now are you a farm owner or a farm labourer? Laborious or tedious parts of a process are just necessary evils. We are humans and the main thing that separates us from other animals is our ability to identify useful resources and adapt them to our convenience in such manners that it makes our lives more comfortable than what nature intended. That is why we live in houses and not on trees. The main reason why we cook our food etc. Should we now limit a chance to better development for the whole human race because some labourers are afraid of adapting? |
A lot of people who are afraid that AI would take their jobs are not real programmers to begin with. It is like a farmer getting afraid that a Tractor will take their job because it can plough faster and better. Learn to decide which is your real job and use all available tools to make it more efficient If you just belong to the pool of script copiers, then i am sorry, your days are numbered. If however, you are more focused on the logic and management side of coding, how would a tool that will make your life easier be a threat? |
Great thread. |
Solanaa:Share a link to the code if public and let’s review. I have my production codes on GitHub with no issues whatsoever. There are thousands, if not millions of production codes on GitHub |
Blake755:How was iPhone making you spend unnecessarily? You wake up to debit alerts from your billions balanced account? Lamba United |
henrygold100:They have sold you gbewu dani. You just bought a refurbished iphone. Battery too is not genuine. Next time, always mask your serial number when sharing screenshots. This is not android pemi pada. Unfortunately, you need to return the phone and collect your money or use like that. |
Allison012:Which issues did you notice there? OP no get data don turn to issues for you? Oluaye infinix dey get opinions |
1 2 3 4 5 6 7 8 ... 16 17 18 19 20 21 22 23 24 (of 49 pages)

