Really slow git on Windows (aka Windows Antimalware service executable is making it slow)

I was trying to do a git pull from GitHub this morning from the windows CLI (actually, Cygwin xterm) and it was horribly slow.  Most of the time I just CTRL-C out of it and go to PhpStorm and work from their git integration, but I had to do something weird and decided to look into it.  It turns out that the antimalware service executable was eating up most of my time. For large commits it would take several seconds, if not a minute or two, to execute any operations. However, the

What is your foster/adopt story?

A year or two ago I wrote a blog post on what it is like to be a foster parent.  Given that this is a technical blog that post has surprised me quite a bit.  That one post is responsible for about 25% of the traffic on my blog, currently, and has been read about 45,000 times.  Why?  Well, I’m guessing that it’s because a lot of foster parents really feel frustrated and used.  But they continue to do it anyway because they hope that they are doing some good. Many foster parents

Why MySQL is not a queue

I tweeted something a few days ago about queues and MySQL. MySQL is not a data queue. MySQL is not a data queue. MySQL is not a data queue. MySQL is not a data queue. MySQL is not a data queue. — Kevin Schroeder (@kpschrade) October 23, 2016 … and I got a few confused looks, largely because you can use MySQL as a data queue (as in it is possible).  So here, now, I will explain why I said that MySQL is not a data queue, even though it can

Running Selenium server as a CentOS systemd service

… is very easy to do. You need two things.  1) Xvfb for the virtual screen, 2) systemd.  (And the Selenium Server binary, of course) First Xvfb 1 2 3 4 5 6 7 8 9 10 11 [Unit] Description=X Virtual Frame Buffer Service   [Service] Type=simple User=magiumlib ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24   [Install][Unit] Description=X Virtual Frame Buffer Service [Service] Type=simple User=magiumlib ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24 [Install] This will start up the virtual framebuffer so Selenium has a virtual screen to run the browser on.  Next

What’s wrong with the sound in movies

My wife and I saw the new Star Trek movie in Imax 3D last night.  It wasn’t too bad.  She complained about it being too loud (fuddy duddy) whereas I was impressed with the acoustic treatments in the theater and the clarity of the low end frequencies.  Imax has always been cool with the large screens, but I have always been more impressed by the sound.  Incidentally, I was really disappointed in the screen size.  I was expecting the huge 4:3 screen that I used to watch documentaries on.  This was

Shutting down Magium (and (eventually) looking for a new awesome company to work for)

If you don’t know what Magium is, it is a Selenium based testing framework for Magento and other platforms that makes it much, MUCH, easier to test those applications.  I’ve been working on it since December and it is now 7 months out.  7 months of very little income (thank you to MagentoU for having me do some training work for you).  And after 7 months of working on Magium with little by way of progress (as a business.  The technology progressed quite nicely) I’ve decided that it’s time to throw in the

Using PHP WITH Jetty, Camel, ActiveMQ, WebSockets and other things that might score high on SEO

Over the past several days (more than I would like to admit) I’ve been working on getting a system based off of Jetty and ActiveMQ to work out of the box for PHP developers.  While “out of the box” isn’t quite true I have been able to get everything to work in a single downloadable container.  It uses ActiveMQ as the messaging system, which also has a WebSocket listener.  ActiveMQ also has a queue called “worker” which is used to send job queue requests to the queue.  That queue has an HTTP

Configuring Jetty to run Magento

Yesterday I wrote a blog post on my surprising finding that Jetty was able to out-perform, or at minimum keep up (depending on how you looked at the numbers), Nginx when it comes to static files.  Today I wanted to get it up and running and able to serve Magento requests. It turns out that it is stupid easy.  That said, it was stupid hard figuring out how stupid easy it was. To get Magento running with Jetty Set up PHP-FPM as you would with Nginx, making sure that you

Browser Communication with Nginx and WebSockets…

… was what I was going to write about.  I’ve been meaning to come up with a solution where I could do a combination of regular HTTP requests combined with Web Sockets combined with Redis to send messages easily back and forth between the backend and the frontend.  My thought was that I might be able to take Nginx, which has WebSockets proxy support and combine it with Redis to create a means of facilitating communication between a frontend browser user and any backend asynchronous tasks that might have pertinent messages to