DOH! Network

  • News
  • ...
  • Johnny Leche

Welcome to the DOH! Network — The Official Website of Johnny Leche.

Sunday September 27, 2015
In the process of updating the server, it seems PHP was updated to treat dashes in regular expressions differently. It use to be you could put just a dash to remove any unwanted characters from a string. $dirName = preg_replace('/[^a-zA-Z0-9&.!-\s]/', "", $dirName); But now the dash has to have a forward slash in front of it. $dirName = preg_replace('/[^a-zA-Z0-9&.!\-\s]/', "", $dirName); The issue occurred in my code on Movies and Games
Wednesday September 23, 2015
Finally fixed the issue with the missing 'libsigsegv.so.2' files. Thanks to 'Speek' answering 'Altiris's question over on LinuxQuestions.org and a download from SlackOnly.com I was able to 'installpkg libsigsegv-2.10-x86_64-2_slack.txz'. SlackPkg wouldn't work because it kept breaking on install of 'libsigsegv.so.2' because 'libsigsegv.so.2' was missing. That's real helpful. There are still other issues to be resolved like ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2 "No such file or directory") but at least I can check versions now with SlackPkg.
Tuesday September 22, 2015
Turns out what I thought was a bot on the Unreal Tournament 4 test server last night was an actual person. How people found the server 5 minutes after I started it I don't know. I can't connect from the in-game server browser directly. I have to connect by typing in the internal ip. But when I was checking some settings this morning there were no bots.
The DHCP server is fixed. The server update added a bunch of .new files in /etc/rc.d and after moving those that were safe to replace for the original versions and restarting worked to resolve the DHCP server crashing. Now back to figuring out what's up with SQL.
UPDATE: DOH! Thought I had DHCP working but trying to connect the work laptop failed. After digging around through files and redoing rc.dhcpd I finally figured out the issue after the update where I had to change the internal network card from eth1 to eth2, DHCP also looks for a specific ethernet id. Changed eth1 to eth2 and all good again. Atleast there. SQL is still screwed up along with slackpkg.
Finally was able to get SonarQube working yesterday. The last issue was that the "Analyze" function was breaking because I had too many files being reviewed. I limited it to a smaller group of directories and was able to see some results. Initial impression: It's just JSLint that also does CSS. Granted I only have it analyzing a folder that contains javascript, CSS and Handlebars templates but I'm not seeing anything really exciting yet. I think I need to add some of the graphing modules and some .NET code but I wouldn't know if the .NET stuff is really issues or just an overactive rule set. That the CSS rules don't like using IDs when applying styles seems like a little much.
Monday September 21, 2015
Was hoping to fix my SQL issues tonight but noticed the WiFi was not working. Turns out the server update screwed up the DHCP settings as well. Problem resolved but I wonder how many other things aren't working that I haven't noticed yet.
Heroes returns this Thursday with the 2-hour premiere of Heroes Reborn!
Started up an Unreal Tournament 4 test server and it looks like it's working. I went in to see if it was really working and there were already three people in it. Have to see if I can get server stats from it. qStats won't support it. Sounds like it doesn't put out much information yet without a plugin.
Sunday September 20, 2015
DOH! I always hate updating the server to the latest version. This time around, something got screwed up with the databases and javascript is getting hung up in a few places. Not sure what happened to the databases yet and wondering what kind of update would break my javascript. It's not that crazy. Hopefully it will all be resolved before the latest episode of "Fear the Walking Dead" tonight at 6pm.
UPDATE: It looks like all SQL/javascript issues are because the database server is not working.
UPDATE 2: The issues with the databases is not just they aren't running. There are missing files that don't seem to be a part of any related package.
Saturday September 19, 2015
Epic Games has released the latest version of Unreal Tournament Pre-Alpha Season for download. While not complete, it is a huge update from previous betas with three textured maps and three characters to choose from that can be customized with different hats that look really out of place on some of those characters. Download it today and watch the CTF Exhibition Tournament today on Twitch.tv or YouTube. Or download Unreal Engine 4 and make your own Ocarina of Time village like ArtistArtorias did.
Sunday September 13, 2015
I had the opportunity misfortune to work on my first project at my current job the other day. And I thought my code from my previous job was bad. What the heck was I thinking when I did this? I blame it on the fact that I never got to write as much javascript at the previous job as I do now and my functions never had to do anything at the level I currently do. Anyway, I did get the issue fixed that was causing the problem but I would have really liked to have scrapped everything and started from scratch because at my current level, looking at that old code I see a big mess. Oh, to have that kind of time to go and rebuild everything. Maybe one day. At least my current project is nearing completion and I think it is much better than I have done on the past.
Friday September 04, 2015
OK, SonarQube server is running on the laptop. I had to roll back to the 4.3 version like doing on the server and install the Java JDK. It's on the VM side with Git so that should make it easier to get the project into it. Only problem now is it looks like all the documentation is for the current build so menus aren't where they are supposed to be. Great!
Thursday September 03, 2015
Trying to set up a SonarQube server for one of my goals at work. My manager said...
Oh yea! It's super easy. Just run the install scripts.
Well, it's not. I was eventually able to get a version like 4 versions old to load up but only if I use the internal "not meant for production" database. And that's not viewable via the net. I'm thinking I will just have to load it on my laptop in the event I have to demo it but whatever. It won't be the latest and greatest version anyway.
Tuesday September 01, 2015
Sadly I have to admit I haven't been checking to make sure the site is Internet Explorer 8 compatible with the new redesign. So for all 3 of the Internet Explorer 8 users still visiting the site, I apologize if the site doesn't look as spiff for you as it does for all the other viewers that are using more modern browsers.