• Setting Up CMU Sphinx (PocketSphinx) on Ubuntu

    Posted in Everything on Feb 04, 2019

    The instructions in a blog post for Ubuntu 14.04 (linked below) worked for me on Ubuntu 18, with one extra step after you complete the following:

    I tried to run it after these steps and got this error:

    cannot open shared object file: No such file or directory on pocketsphinx

    So I ran the following two lines of bash:

    echo 'export LD_LIBRARY_PATH=/usr/local/lib' >> ~/.bashrc

    source ~/.bashrc

    This resolved the issue, and I was able to run it as described in the article. from Baker Street Systems.

  • Error TS6053 File '...node_modules/keycode/keycode.d.ts' not found.

    Posted in Everything on Oct 24, 2018

    What to do when you see the following in Visual Studio? "Error TS6053 File '...node_modules/keycode/keycode.d.ts' not found."

    I have learned that whenever I see this error, to simply restart Visual Studio and recompile. The error goes away. If anyone knows of an easier way to resolve this, comment below. Thanks.

  • Error TS6053 File '(path...) /node_modules/keycode/keycode.d.ts' not found

    Posted in Everything on Oct 15, 2018

    Have you gotten this error? Is it sometimes accompanied by the even more rare

    Failed to load view '...' because it's not a React element

    If so, restart Visual Studio. These errors seem to go away when you do that. Wasn't able to find this information by Googling, so here it is for you.

    Hm, that 2nd one is more intransigent than I thought. I was able to remove it by setting a breakpoint where it occurs in bundle.js, and then restarting after the breakpoint is hit. Strangely, that eliminated the error, but I'm still having issues with Visual Studio not being able to find things which are definit...

  • A very simple "Using C# HttpClient from Sync and Async code"

    Posted in Everything on Oct 08, 2018

    Simplicity is so nice. I just spent two hours zooming all over the web looking for a very simple HTTPClient code sample. Of dozens that I saw, all of them were overcomplicated. I knew it was just a matter of a few lines of code, and couldn't believe the poor quality and needless complexity I was seeing. The most promising alternative to HTTPClient, for example, RestSharp, currently has code samples which do not match the actual code, which is unfortunate because it does look like the best way to go. I'm not trying to debug someone else's project, I'm simply looking for the easiest way to get u...

  • How to Install the Falcon Agent on Ubuntu Linux (full instructions)

    Posted in Everything on Oct 02, 2018

    After wrestling for a while trying to get CrowdStrike's falcon sensor app running properly in Ubuntu, we found that the online documentation is incomplete. A round trip to their support team got us this PDF (Falcon Sensor for Linux Deployment Guide Documentation Support _ Falcon), which gave us the information we needed:

    Install; your version may be different, the package is available on your portal.

    sudo dpkg -i falcon-sensor_4.12.0-5704_amd64.deb

    Then, had to run these three commands because of a dependency issue. Ignored a few notification-type errors.

    sudo apt-get install libnl1
    sudo ap...

  • Why you cannot divide by zero and why you can

    Posted in Developing Software, Mathy Stuff on Oct 01, 2018

    Well this is going to be fun. Long ago, my thought experiments on dividing by zero detected a bug*, and therefore went in the direction of "you can divide by zero" and of course this left me on the outskirts of mathematics years ago. I set up a tent and made a home there, where I am quite happy. A brand new website now says the same thing, with better examples and clear reasoning. Of course, anyone worth their salt in mathematics will reject it (it's the way mathematics handles innovations around the number zero for many centuries now, so such rejection is not to be taken without... a grain of...

  • Atiyah's proof of Riemann has an unexpected confirmation in Furey

    Posted in Mathy Stuff, Postinfinity Tergiversation on Sep 25, 2018

    Update again, Sept 2021: Just found this excellent link to R. J. Lipton taking Atiyah seriously. I don't have time to dig in right now, but want to. I'm delighted to see someone doing this, as the binary response to Atiyah's insights left me feeling like more people should be looking into this, just in the hope that someone with Atiyah's solid reputation and skills might provide some clues in the legendary pursuit, even if that's all he provided. What's most exciting about this post I just found is that I'm currently studying quaternions, and I'm still curious about the link between Clifford A...

  • King David’s radical insight

    Posted in Everything on Sep 15, 2018

    So I’m reading this book on grace, which is turning out to be one of my favorite books ever, because it so systematically details how grace operates in a way that confirms my own thoughts on the subject for so long. Yet it goes further, and provides lots of evidence to support its position. Here is one insight in the book which never occurred to me before:

    While repenting over his sin with Bathsheba, David said “thou [God] desirest not sacrifice; else I would give it: thou delightest not in burnt offering. The sacrifices of God are a broken spirit: a broken and contrite heart, O God, tho...

  • An adventure begins

    Posted in Developing Software on Sep 13, 2018

    Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for clearhat Enter the new value, or press ENTER for the default Full Name []: Clearhat Room Number []: Work Phone []: Home Phone []: (816)xxx-xxxx Other []: @@clearhat.org Is the information correct? [Y/n] y ubuntu@dashboard:/opt/dashboard$ sudo usermod -aG clearhat Usage: usermod [options] LOGIN Options: -c, --comment COMMENT new value of the GECOS field -d, --home HOME_DIR new home directory for the user account -e, --expiredate EXPIRE_DATE set account e...

  • Merging an existing React project with an empty Visual Studio .NET Core backend

    Posted in Developing Software on Sep 10, 2018

    I'm new to React so I was pleased to finally discover that this task is very easy. After going through all the tutorials on how things work, and diligently searching down a decent React project template, I finally had an existing open source React dashboard that I wanted to integrate into an brand-new .NET Core project which I could then modify to my heart's desire. I thought I would need to carefully stitch things together once I had figured out where to put the files, but it turns out to be so simple! All I needed to do was delete the (nearly) empty stubs within the ClientApp folder generate...