₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,147 members, 8,439,065 topics. Date: Saturday, 04 July 2026 at 01:25 PM

Toggle theme

MindHacker9009's Posts

Nairaland ForumMindHacker9009's ProfileMindHacker9009's Posts

1 2 3 4 5 6 7 8 9 10 11 12 (of 115 pages)

Foreign AffairsRe: Nations Prepared To Arm Iran With Nuclear Warheads After US Strikes - Russia by MindHacker9009(m): 6:39pm On Jun 22, 2025
baralatie:
We gat NATO,Russia,china,India,Pakistan,
Which one them would be so stupid as to even sell a nuclear warhead to iran
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.
Foreign AffairsRe: Nations Prepared To Arm Iran With Nuclear Warheads After US Strikes - Russia by MindHacker9009(m): 5:58pm On Jun 22, 2025
These countries are just using Iran to make money, because after building it for Iran, Israel and America with destroy it.
ProgrammingA Good Programmer Knows The Logic Instead Just Memorising A Few Syntax by MindHacker9009(op):
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.
Christianity EtcRe: Here Is What Happens When You Have Sex With Prostitutes by MindHacker9009(m):
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.
ProgrammingRe: Full Stack Development Job by MindHacker9009(m): 2:18pm On Jun 21, 2025
And you will be surprised that they have senior developers in their team already that can not develop such.
ProgrammingRe: Can A 40 Years Old Man Still Acquire IT Skill? by MindHacker9009(m): 4:08pm On Jun 20, 2025
40 is not too old, to start learning how to code.
ProgrammingOpenAI Boss: Meta Offering $100m Plus To Poach My Staff by MindHacker9009(op): 11:57pm On Jun 18, 2025
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

Christianity EtcRe: God Is Yet To Punish Babylon For Destroying Jerusalem by MindHacker9009(m): 3:34pm On Jun 18, 2025
MrPresident1:
Let America join Israeli to bomb Tehran and it is takeover for Babylon
The destruction of Babylon for destroying the first temple in Jerusalem has just started. But why has it taken about three thousand years?
Foreign AffairsIranians Call For End Of Khamenei, Take To Streets by MindHacker9009(op): 6:21pm On Jun 17, 2025

ProgrammingRe: The Two Categories Of Programmers Which category Are You by MindHacker9009(m):
Revealpanda:
Dude I was only giving an example to buttress my point sitting when I was new to JavaScript...

What's with the Chatgpt reply 🤕


The HTML to PDF converter shouldn't be categorised as complex though. It's something 5 to 10 lines of codes would do.
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.
EducationRe: The Five Degrees With The Best Job Prospects In The UK by MindHacker9009(m):
Not anymore

Record numbers of unemployed UK Doctors? Training Bottlenecks


https://www.youtube.com/watch?v=6K4lv_BKyy8
ProgrammingRe: The Two Categories Of Programmers Which category Are You by MindHacker9009(m):
Revealpanda:
What does it even mean to "memorize syntax"?
If you claim to know a programming language, its syntax should come naturally to you not something you constantly have to look up in documentation. Of course, there may be exceptions for parts you don't use regularly or encounter in your day-to-day work like when I first encountered ternary operators and template literals in JavaScript

The best programmers are those who can bring their own ideas and the ideas of others to life through code. Nothing more, nothing less.
It doesn’t matter how you do it, as long as the code is clean and works as intended. That’s what truly matters.
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
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m):
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
ProgrammingRe: The Two Categories Of Programmers Which category Are You by MindHacker9009(m): 5:18am On Jun 16, 2025
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!
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m): 9:01pm On Jun 15, 2025
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.
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m): 8:43pm On Jun 15, 2025
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.
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m):
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.
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m): 6:37pm On Jun 15, 2025
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.
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m): 5:40pm On Jun 15, 2025
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.
ProgrammingRe: The Two Categories Of Programmers Which category Are You by MindHacker9009(m):
Alphabyte3:
Individuals who primarily rely on memorization and rote learning (cramming) to code tend to focus on memorizing syntax, specific functions, or patterns without necessarily understanding the underlying concepts. This approach may allow them to produce working code in familiar scenarios but can limit their ability to adapt to new problems or troubleshoot effectively.
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.
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m):
@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.😎

Christianity EtcRe: Born-again Tongues by MindHacker9009(op): 12:41pm On Jun 14, 2025
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.
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m): 10:58pm On Jun 13, 2025
@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.
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m): 9:27pm On Jun 13, 2025
@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:
Point is, you aren't even trying to understand the problem, you aren't demonstrating being a 'senior engineer', expected to have superior tshooting ability. You didn't ask questions or probe to try get to the root cause.

What you did is what a newbie would do. But then, all is well
.
ProgrammingRe: Early to Early-mid career VoIP Professional by MindHacker9009(m): 9:21pm On Jun 13, 2025
@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:
You say you have Linux knowledge, and someone with a likely underpowered host is complaining that their VM shuts down and your first response is to tail the logs? lol.

Curating according to your ChatGPT: “ means selecting, organizing, and presenting content, items, or experiences with purpose and care”. Emphasis on selecting and presenting. Not lifting verbatim, including tags and markers that enable ChatGPT properly format content. You curate by removing those, and highlighting the commands, preferably using monospace fonts or the NL code tags. None of that was done. Just a wall of unformatted text. Curator

Like I said, the floor is yours. My work here is done
Christianity EtcBorn-again Tongues by MindHacker9009(op):
"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

1 2 3 4 5 6 7 8 9 10 11 12 (of 115 pages)