Skip to main content ↑ ↓
Recent Posts
1
Bug Reports / Re: Slow Page Load time
Last post by Hj Ahmad Rasyid Hj Ismail -
Yeah. Weirdly slow. Even when refreshed. I can see this site is way faster. You will be shocked if you know how much vrams and vcpus I have assigned for this server vm, even its storage is on enterprise nvme, so yes, I should finished restructuring to see whether something else are bothering / disturbing.
4
Bug Reports / Re: Slow Page Load time
Last post by Spuds -
I broke this out of the other thread and put the main bits it in the bug board.  I've also added the last discussion section from GitHub just so I can track this.

QuoteI haven't tested 2.0 extensively though already have it up and running since you released its beta. So far I am still not satistifed with front page queries which still taken more than 3 seconds while in 1.1 it is just below 0.02 seconds. I don't what queries have been added to load the forum at that instance and whether they are even necessaries. I haven't gone deeper into the code anyway, so cannot give any opinion but generally too much queries when loading the forum is no good, or if the queries are about the same as 1.1, how the queries are done, that cause that longer time to process it, is still not acceptable to me. Anyway, thanks for "this fix" even though I haven't gone through in details or tested it.

I've not experienced this on my installs so there is something different that is causing the issue.  The only slow (and its very slow) query that I know of is if you enable like stats on the board index (its one of the theme options for the information center, like calendar, new posts, members, etc) That query will be slow IF you have a test board with lots of posts.  I've made adjustments that will help with that for the next test release.

That said, does your test site have many posts or is it a fresh install with just a few posts?  Then what are you running in terms of apache/nginx, mysql/mariadb/postgre and then PHP and its version.  I'd like to recreate your environment to see if I can repo this issue.
6
Bug Reports / 2.0 - Num_Replies in Recycled Topics
Last post by ScottJB -
When trying to get into my board that is set for recycling, I get this error:

Code: [Copy]
Type of error: Undefined
 Warning: Undefined array key "num_replies"
 /index.php?board=8
 File: /sources/ElkArte/TopicUtil.php—Line:62

Backtrace:

Code: [Copy]
Warning: Undefined array key "num_replies"
#0: {closure:ElkArte\Errors\ErrorHandler::__construct():53}()
Called from: /sources/ElkArte/TopicUtil.php line: 62
#1: prepareContext()
Called from: /sources/ElkArte/Controller/MessageIndex.php line: 660
#2: loadBoardTopics()
Called from: /sources/ElkArte/Controller/MessageIndex.php line: 193
#3: action_messageindex()
Called from: /sources/ElkArte/SiteDispatcher.php line: 421
#4: dispatch()
Called from: /index.php line: 143
#5: elk_main()
Called from: /index.php line: 71
8
Chit Chat / Re: Linux is not as hard as people think...
Last post by Hj Ahmad Rasyid Hj Ismail -
I too, have been (ad)venturing various Linux since 20 years ago, running it on server during Intel Pentium still-a-thing era, upgrading software's and hardware's, then i3, i5, i7, AMD, mini pc, android box, true but kind old servers, cabling and networking, especially when things become more affordable and necessary, till up-to-date, it is still quite a great satisfying (ad)venture), not to say that MS is not the preferred main OS, as it is the one I have always been using since MS-DOS in 1990 when I was in my upper secondary school though, however, it was not just Linuxes, but android too, I even tried playing Hackintosh for God's sake, and yeah they all pretty much make me feel my free times are worthless, although in "my reality" each and every part of them is worthwhile, so I have no regrets and will keep toying and playing around as much as I am still able to, wasting all "the free times".

And yeah, that is kind of, out of topic, a bit or not, so thanks for sharing your Kubuntu 26.04 setup in your Asus All-in-One PC ET2321I @ScottJB, it really good to know that Linux has been a good learning process, very useful to you and makes your tech life easier. If you got more free times "to waste", may be try learning kvm vs lxc, how to manage those containers inside your Linux.
9
Chit Chat / Re: Linux is not as hard as people think...
Last post by Steeley -
Well Scott, you brought back long ago memories.. and I hope you (and others) receive my reply in the humor intent I have in relating it.. maybe a little "elbow-in-the-ribs"..

I remember the mindset when I obtained my first "personal computer", a Xerox 820 CP/m box, dual 5 1/4 double-side double-density drives, and a Diablo 630 wide-carriage printer.. t'was about 1979.. "Ah, what is THIS?" I puzzled. A Z-80 chip, 64K of ram, and a floppy disk with the CP/m OS and 3 leather-bound binders complete with instructions I had no idea what was trying to tell me..
I hooked up with some XDS, PARC and Skunkworks engineers in my Mountaineering Club and off on a long journey of discovery I went. Not long I have a Bell acoustic coupler and I was 'beta testing' some dial-up communication software automating message transfers, I was a "node" in a network up and down the state (try to keep connections at the far end of "local" to avoid long-distance charges, the next node will relay into the next exchange free to them. San Diego to San Francisco, about 35 CP/m computers).
It would eventually be branched and then ported over to DOS and later become "RBBS", but I'm getting ahead of myself.
I acquired a "Heathkit 8086/Z-80 Microprocessor Programming Kit" and with that convinced myself that as a hardware engineer, this software stuff was not my forte.. as I alluded to in an earlier post, confusing jump with go-to instructions was my downfall, one takes an extra clock-cycle to execute, and I could never remember which, and inevitably my mnemonic programming lands on a data register instead of the next instruction and the processor goes off to never-never land.. No duck-to-water thing here..

That said, it was exciting times none-the-less, next an Xerox 16-8 dual CP/m DOS 2.0 machine with a 10 MegaMyGod hard drive boat anchor, then a Zenith XT, switch to Wildcat BBS, then a 286 running Windows (1), 386, 486SX, Windows 3.1 - best OS on the planet EVER (IMHO). Bought a PC JR and a Mac to support some scripting software for Delphi BBS, who had a backdoor onto ARPANet and the colleges, so now UNIX, IBM, AppleNet, Novel.. Wildcat 5 supports ethernet!

Did some "Basic" programming (dabble in paradox, oracle, database application development, off into enterprise CRM, Process-facilitating website development, constant challenges, constant learning, learning, learning.
At some point my curiosity waned and the driving quest for knowledge decayed as even more and more wild stuff came on the scene. Damn, I was born a long time ago, with 64K of ram. I'm out of memory. Stack overflow.. everything new I learn has to overwrite something I used to know. If someone tells me my zipper is down I'm afraid I'll forget who I am or where I live.       

I'm now at the point I just want my technology to work, basic things. My finance software worked fine back in 1998 - it's been upgraded at least 1000 times since, most all added stuff that hasn't improved a single thing I use it for (except to be able to run on the last still- supported OS version out there.. incompatibility is just an OS upgrade away). Nothing I need to do has changed in 30 years. I was happy with HTML 4, it did everything I needed it to do.

I now run a Dell Optiplex 7070 with Windows 11 because my Tax software won't run on Windows 10, and my previous Dell box won't run Windows 11.
Has any of this added anything to my life that Win98 on a 486 didn't? No.
Did I appreciate having to learn and adapt to the new stuff in Windows 11?
Did I appreciate having to hunt down and disable all the cool cloud, team stuff, assistants, and AI crap that came with it, disable widgets, apps, and 'features' I don't need loading and taking up memory and disk space and/or provide security vulnerabilities?
Absolutely not.

My back up software was cheap 20 years ago and still does the job, my Antivirus does its thing for a nominal subscription maintenance fee, I use LibreOffice to handle all the windows office app files I created years ago and that any anybody sends to me. All stuff I downloaded, most of it "free". Years ago.
I now have a "smart phone" that I can link to the computer several ways, the most useful new app on it is "Notepad Free", my grocery list. Most of the stuff that came with it I've disabled or deleted. (My old flip phone wouldn't work with my new much cheaper carrier). Something new to learn.. did I appreciate that either?
No.

I built my career on never shirking away from a need, sometimes just for the hell of it, to accomplish something I'd never done before, in the process earned a comfortable retirement, and now I'm old, and tired and wish to enjoy my remaining days "smelling the roses", being bored, lazy, and entertained, with little additional effort on my part... I'll pay (a little) if it means I don't have to spend the time or do the research, trial and error, investigation compiling, reconfiguring, troubleshooting and all the associated labor.

But yes, I do remember when I too might have said what you said:

Quote from: "ScottJB" – It has been a blast figuring out how to make all of this technology work smoothly together. Even on an older Core i3 with an HDD, Linux gives you the power to make your computer do exactly what you want it to do.

Yea, I remember relishing a challenge and the rush of mastering it. Now I get the same rush and satisfaction drizzling some chocolate syrup on a bowl of vanilla ice cream before bed, and slowly nibbling at it..

And so, I will pass on words of wisdom passed to me a couple decades ago when I considered unchaining myself from all Micro$oft $oftware.

"Linux is only free if your free time is worthless..."  :grin:

Carry on, bro..