Windows
Posts
-
Nodebb to Xenforo -
What’s going on with NodeBB?@cagatay The most reliable way to upgrade Node.js on Ubuntu depends on how you originally installed it.
Method 1: Using NVM (Recommended)
If you already use Node Version Manager (NVM), upgrading is simple. NVM allows you to keep both versions and switch between them if needed.
- Install Node 22:
nvm install 22 - Switch to Node 22:
nvm use 22 - Set it as your default:
nvm alias default 22 - Verify the change:
node -v
Method 2: Using NodeSource (PPA)
If you installed Node.js via
aptusing the NodeSource repository, you need to update the repository script to point to the new version.- Remove the old NodeSource list (optional but cleaner):
sudo rm /etc/apt/sources.list.d/nodesource.list - Download and run the NodeSource setup script for Node 22:
curl -fsSL [https://deb.nodesource.com/setup_22.x](https://deb.nodesource.com/setup_22.x) | sudo -E bash - - Install/Upgrade Node.js:
sudo apt-get install -y nodejs - Verify the installation:
node -v
Method 3: Using the ‘n’ Package
If you have
npminstalled, you can use theninteractive manager.- Clear the npm cache:
sudo npm cache clean -f - Install the ‘n’ helper:
sudo npm install -g n - Install Node 22:
sudo n 22 - Update your shell:
hash -r
Troubleshooting
- Permission Denied: If you see permission errors using Method 2 or 3, ensure you are using
sudo. - Path Issues: If
node -vstill shows version 20 after upgrading via NVM, restart your terminal or runsource ~/.bashrc. - Conflicts: Avoid mixing these methods. If you switch from
apttonvm, it is best tosudo apt remove nodejsfirst to avoid path conflicts.
- Install Node 22:
-
What’s going on with NodeBB?@DownPW I tend to stay at least one release behind intentionally to ensure maturity before upgrading - unless there is a good reason to do so immediately - such as identified vulnerabilities
-
What’s going on with NodeBB?@cagatay what is in the nodebb log?
-
Claude Mythos in cyber security@crazycells I did see something similar to that article, yes. I never fully understood why anyone would want to give unfettered and complete access to AI without first understanding exactly what it had control of, and what it intended to do with that access.
This isn’t the first “horror story” and it won’t be the last.
-
Claude Mythos in cyber security@crazycells I’ve not personally tried Claude Mythos to be honest, but I do know I’m fed up of the hype around Anthropic. Take this for an example
Who in their right mind grants AI this much power and expects it to end well?
The real issue here is one of governance.
-
CTA banner for visitors@crazycells Yes, because of this code
$(document).ready(function () { $(window).on('action:ajaxify.end', function (data) { if (config && config.uid > 0) { // User is logged in, so don't fire any message } else { // Insert content into the selected element var addAfterLastPost = $( "<div class='alert alert-warning alert-dismissible fade show' role='alert'>" + "<p><strong>Hello! It looks like you're interested in this conversation, but you don't have an account yet.</strong></p>" + "<p>Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, " + "and choose to be notified of new replies (ether email, or push notification). You'll also be able to save bookmarks, use reactions, and upvote to show your appreciation to other community members.</p>" + "<p>With your input, this post could be even better 💗"+ "<br><br>"+ "<a style='margin-right:5px;' component='topic/reply/guest' href='/register' class='fw-semibold btn btn-sm btn-warning'>Register</a>" + "<a component='topic/reply/guest' href='/login' class='fw-semibold btn btn-sm btn-info'>Log in</a>" + "<button type='button' class='btn-close' data-bs-dismiss='alert' aria-label='Close'></button>" + "</div>" ); $('ul[component="topic"]').after(addAfterLastPost); } }); });This was adopted into core as far as I know, so I’ve removed my manual code.
-
Tutorial : NodeBB Scaling-clustering Redis + Proxied Cloudflare Free plan : integration guide@downpw this is a great walk through which I’m certain others will find extremely useful.
Thanks
-
Arch Server Progress@Madchatthew These are all smart moves, and it certainly looks like you’re headed in the right direction. Best of luck and I really hope this venture succeeds. It’s a niche market but has huge potential once word spreads around.
Building out the basic framework also makes sense before you take the plunge and invest heavier, which I myself would only do once the business starts to turn profit.
-
Torturing My Father & Mother In Law@Madchatthew This is really inspiring! Keep it up! There is life after Windows…