MindHacker9009's Posts
Nairaland Forum › MindHacker9009's Profile › MindHacker9009's Posts
1 2 3 4 5 6 7 8 9 10 11 12 (of 115 pages)
baralatie:Only Pakistan might try it, but trust Israel and America will blow it up in the same Iran before Iran can attempt to use it. |
These countries are just using Iran to make money, because after building it for Iran, Israel and America with destroy it. |
A good programmer understands how to translate complex user requirements into well-functioning code by applying solid logic, rather than simply memorising syntax. In contrast, a poor programmer focuses on memorising a few syntax without grasping the underlying logic needed to build reliable, usable applications, often resulting in software that don't work. Interestingly, bad programmers often dislike tools like ChatGPT or AI, because these tools expose their limited understanding and reduce their reliance on rote memorisation of a few syntax. So, the next time you hear a programmer criticize ChatGPT or AI, it reveals their mediocre programming skills. |
Samson was fine when he entered a prostitute and God made him more powerful, but it was when he fell in love with Delilah he took for a wife material, was when he fell. |
And you will be surprised that they have senior developers in their team already that can not develop such. |
40 is not too old, to start learning how to code. |
Meta should come and recruit Nairaland programmers and leave OpenAI alone. OpenAI boss: Meta offering $100m plus to poach my staff The boss of OpenAI, Sam Altman, says members of his team have been getting "giant offers" from rival tech firm Meta, including $100m (£74.3m) "signing bonuses." Meta - which owns Facebook, Instagram and WhatsApp - is attempting to boost the artificial intelligence (AI) side of its business, including recently spending $14bn (£10.4bn) to buy 49% of the startup, Scale AI. However Mr Altman said "at least so far" none of his "best people" had been persuaded to jump ship. BBC News has contacted Meta for a response. https://www.bbc.co.uk/news/articles/c8730088e5do
|
MrPresident1:The destruction of Babylon for destroying the first temple in Jerusalem has just started. But why has it taken about three thousand years? |
|
Revealpanda:There are hundreds of thousands of short code snippets 5 to 10 lines or more that can make an application work correctly. It's unrealistic to expect anyone to memorise them all. Using ChatGPT is like using your phone today it's simply a modern tool to help you get things done quickly and efficiently. |
Not anymore Record numbers of unemployed UK Doctors? Training Bottlenecks https://www.youtube.com/watch?v=6K4lv_BKyy8 |
Revealpanda:This means you are only writing simple hello world applications with if else statements. The ternary operator is a shorthand for if...else statements. Syntax: javascript: condition ? expressionIfTrue : expressionIfFalse; If you're developing an SaaS application where you have to do new complex stuff like: How to convert HTML to PDF How to generate tables in PDF How to merge/split PDFs How to add watermarks or metadata to PDFs How to sign or encrypt PDFs |
This is good: reboot your VM twice within 5 minutes to temporarily disable the firewall But it is often the simplest if you're locked out. Other options include: 🔄 Alternative Solutions: 1. Access via VM Console or SSH (if available): If you have console or SSH access (e.g., through a hypervisor like VirtualBox, VMware, or Proxmox), you can: Log in as root. Use the FreePBX firewall commands directly: bash fwconsole firewall disable Or whitelist your subnet: bash fwconsole firewall trust <your-subnet> 2. Disable the Firewall Permanently (if needed): bash fwconsole firewall stop fwconsole firewall disable 3. Add Your IP/Subnet to the Trusted Zone Manually: You can add IPs to the FreePBX firewall “trusted” zone via CLI: bash fwconsole firewall trusted --add=192.168.1.0/24 fwconsole firewall reload 4. Reset Network Settings: If the firewall is causing persistent issues: bash fwconsole firewall reset 🛠 Best Practice: Use the "twice in 5 minutes reboot trick" if you’re locked out and can’t use the terminal. Prefer command-line methods if you can access the VM’s console or SSH. Always whitelist your local network after first login to prevent being locked out. ⚠️ Notes: If the FreePBX VM is behind NAT (e.g., on a home router or cloud provider), make sure port access is managed correctly. The Sangoma activation is optional for most core features but may be required for commercial modules. From ChatGPT |
No, a software engineer doesn't need to memorise all syntax. While it's helpful to know common syntax for frequently used languages and tools, the reality is that most developers rely heavily on resources like documentation, code editors with autocomplete features and search engines to look up specific syntax when needed. Software engineering is more about understanding how to solve problems, design algorithms and write clean, maintainable code. Syntax is something that can be quickly looked up and tools like IDEs (Integrated Development Environments) can make this process even easier by suggesting or auto-completing code as you write it. The focus is generally on problem-solving, logical thinking, and understanding the principles behind the languages and frameworks you work with. In short, you don't need to memorise every detail, you just need to know where to find the information when you need it! |
You said: “We’re looking at Apache denying requests... but the user isn’t even getting that far.” Rebuttal: Apache logs help confirm that. Even if a request never makes it to Apache, proving a lack of entries for the iPhone IP in the logs is useful diagnostic data. 🔹 It's not premature — it's elimination. 🔹 If Apache logs do show requests, we’ve proven the traffic is getting through. 🔹 If logs show denied by server configuration, it means the firewall allowed it, but Apache refused it. You said: “User hasn’t even created an extension yet, and we’re already looking at SIP registration failures.” Rebuttal: We don’t know that for sure. Unless the user explicitly says, “I haven't created any extensions,” we shouldn't assume what has or hasn’t been done. 🔹 Many people create extension 1001 by default during setup or testing. 🔹 If there’s a log saying "registration from 'sip:1001@x.x.x.x' failed...", then something is trying to register — and it’s failing. 🔹 That log is real evidence, not assumption. So we’re not "jumping ahead" — we’re following actual system activity. You said: “User hasn’t even created an extension yet and we’re already looking at SIP registration failures.” Rebuttal: We don’t know that for sure. Unless the user explicitly says, “I haven't created any extensions,” we shouldn't assume what has or hasn’t been done. 🔹 Many people create extension 1001 by default during setup or testing. 🔹 If there’s a log saying "registration from 'sip:1001@x.x.x.x' failed...", then something is trying to register and it’s failing. 🔹 That log is real evidence, not assumption. So we’re not "jumping ahead", we’re following actual system activity. |
ChatGPT: Key Observations: You're accessing FreePBX's web GUI via your iPhone browser. It works initially, but then stops responding. You can get it working again temporarily by running fwconsole restart. So what matters right now: This is a connectivity issue to the web interface, likely tied to: Firewall behavior (especially FreePBX’s Responsive Firewall or Fail2Ban) Resource exhaustion or a service crash IP getting blacklisted or timing out Not SIP registration or SIP extensions yet Here's What You Should Check Next 1. Is Your iPhone Getting Blocked by the Firewall or Fail2Ban? Run: fail2ban-client status And check: fail2ban-client status apache-auth If your iPhone’s IP appears in the banned list, unban it: fail2ban-client set apache-auth unbanip <iPhone-IP> 2. Check FreePBX's Firewall If you're using FreePBX's Responsive Firewall, it might block mobile devices not actively "pinging" or registering. Whitelist your iPhone: fwconsole firewall list trusted fwconsole firewall trust <your-iPhone-IP> 3. See if Apache or PHP-FPM crashed Right after it stops working, run: systemctl status httpd systemctl status php-fpm And check logs: tail -n 50 /var/log/httpd/error_log 4. Determine What Triggers the Failure Does it stop working: Only from iPhone? After login or idle time? From desktop too? Try accessing the GUI from a PC on the same network and see if it stays up longer. As a senior engineer : We shouldn't chase SIP logs or worry about extensions if the real issue is GUI access being dropped, likely caused by firewall behavior, bans, or service crashes. |
ChatGPT: To find out whether a firewall (or Fail2Ban) is blocking access, here’s how to interpret the logs: 🔍 1. /var/log/httpd/error_log – Apache Errors What to look for: ✅ Blocked or unauthorized access: pgsql [error] [client 192.168.1.100] client denied by server configuration [error] AH01630: client denied by server configuration: /var/www/html This usually means Apache is rejecting access due to config or security restrictions. 🚫 Timeouts or abrupt disconnects (could imply firewall/drop): pgsql [error] [client 192.168.1.100] Premature end of script headers: index.php [notice] child pid XXXX exit signal Segmentation fault Can occur if the connection is killed unexpectedly, possibly by a firewall or Fail2Ban. 🔐 SSL errors (e.g., blocked HTTPS attempts): csharp [ssl:error] AH02032: Hostname mismatch Not directly firewall, but indicates access attempts might be malformed or blocked. 🔍 2. /var/log/asterisk/full – Asterisk Logs This log is more about telephony activity, but it can still show failed connection attempts that trigger Fail2Ban. What to look for: ❗ Authentication failures (SIP/chan_pjsip): pgsql [2025-06-13 12:12:34] NOTICE[1234] chan_sip.c: Registration from 'sip:1001@x.x.x.x' failed for 'x.x.x.x:5060' - Wrong password These failed login attempts can trigger Fail2Ban, which then blocks the IP. |
Lol... You’re missing the point entirely. A senior engineer knows that even something as basic as a subnet misconfiguration can be confirmed instantly by checking the logs. That's not "rookie" work, that’s efficient troubleshooting. Why waste time guessing when the system can tell you exactly what’s wrong? Plugging into an ECU only work if you know how to interpret them. That’s what separates actual engineers from non engineers. We senior engineers don’t rely on guesses, we first check logs and interpret them to resolve issuers fast. |
Would you take your car to a mechanic who randomly pulls out plugs and cables, guessing what might be wrong? Or would you prefer a mechanic who connects to the ECU, reads the diagnostics and identifies the issue right away? Senior engineers like me today work smarter and faster, leveraging smart tools and AI to read the logs to get to the root of problems right away. |
Alphabyte3:From my experience, those I have worked with who do not have a degree in computer science or software engineering tend to memorise only a limited set of syntax and are limited to the few they can memorise. This is because there are millions of syntax that need to be referenced in order to find an effective solution. By contrast, a programmer with a computer science or software engineering degree can efficiently navigate and reference this vast body of syntax, enabling them to arrive at solutions much more quickly and not having to memorise millions of syntax. Those without such a background are often limited to the few syntax elements they have memorised, which can lead to poorly developed software or even the abandonment of projects altogether. I once worked in an a large global organisation where the principal software engineer with only a secondary school education, had no understanding of SQL relationships and very limited knowledge of handling complex programming challenges. This kind of situation is unfortunately not uncommon in the industry. I find software development to be one of the most dysfunctional fields to work in, largely because many IT managers, along with the programmers they prefer to hire, do not hold degrees in computer science or software engineering. This preference reflects a broader acceptance of mediocrity within the industry. Consider, for example, a forum advert that reads: “From Accounting to Software Development in Less Than Four Months.” This is nothing short of a joke. Even after three or four years depending on the country, studying computer science or software engineering at university to understand the fundamentals to advanced level, it still takes years of practical experience to become very good and even then, continuous professional development is essential. |
@airsaylongcome You've offered three suggestions now including this funny one "reboot your VM twice within 5 minutes"😄, but they don't appear to have resolved the issue. Because what you’re doing amounts to trial and error. That approach wastes time and lacks direction. It’s like fixing cars in the seventies, before they had ECUs you can now plug into to read error codes and identify the problem right away. The first and most important step in any proper troubleshooting process is checking the logs. They provide context, error messages and system behavior that point directly to the root cause. Skipping that step and throwing out random guesses is an outdated approach, it belongs in the stone age, and it’s certainly not what a senior engineer like me would do. Let’s focus on working smarter with smart tools and AI, not just harder like in the stone age.😎
|
Those deluded are those who have been hypnotised with a man made religion or using a man made religion to deceive the gullible ones, and those who say there is no creator. It's like a robot saying they don't have a maker. |
@airsaylongcome Your knowledge of VoIP is based solely on what you've read online or in books, as you haven’t developed your own Asterisk or FreePBX software before. Sorry to burst your bubble, but opening this thread to position yourself as the sole expert and then trying to monetize it is misleading. In reality, you likely know less than 10% of what AI generated resources can provide on VoIP. |
@emoboy4u You’re mistaken. Understanding the problem starts with gathering information and checking the logs is a fundamental step, even senior engineers rely on logs to pinpoint issues. Ignoring the logs isn’t a sign of expertise, it’s a critical oversight. So no, what I did wasn’t newbie-level troubleshooting, it was following standard, effective procedure. emoboy4u: |
@airsaylongcome Actually, you’re wrong, checking the logs is exactly the first and most essential step in troubleshooting any Linux or VM issue. If the VM is shutting down unexpectedly, the logs will often provide crucial clues about what’s going wrong. Ignoring the logs would be a very big mistake. So yes, tailing the logs is the right initial move before diving into hardware specs or anything else. The floor is still open if you want to argue that. airsaylongcome: |
"shanda-la ma-kori-a sanda-ra..." "eleboro sanda, rakata bashiri, kotomana..." "le-ra-ma, le-ra-ma, shoko-tala..." "Rebaba shantere makoria talasando!" "Yandala koshiri antabaraka shendoro!" "Bakiri alanda rakatama!" "Loshana makiri entara soba!" Add yours |