Tag: howto

  1. Reprint: Making your own superconductor.

    29 May 2020

    Disclaimer: Times have changed since this article was written so seek legal and scientific advice from qualified personnel if you plan to try making your own superconducting materials.  I am not qualified personnel or a lawyer.  Do not try this at home.  We live in a world in which possession of basic chemistry apparatus is illegal in some places, so do your homework.

    Process reprinted from OMNI Magazine, November 1987, page 76.  (local PDF) (local CBR) (right-click -> save as to download))

    From How To Make Your Own Superconductors, by Bruce Schecter.  Retyped as faithfully as possible.  Hyperlinks mine, added for …

    Read more...

  2. Faking a telnet server with netcat.

    25 May 2020

    Let's say that you need to be able to access a server somewhere on your network.  This is a pretty common thing to do if you've got a fair amount of infrastructure at home.  But let's say that your computer, for whatever reason, doesn't have the horsepower to run SSH because the crypto used requires math that older systems can't carry out in anything like reasonable time.  This is a not uncommon situation for retrocomputing enthusiasts.  In the days before SSH we used telnet for this, but pretty much the entire Net doesn't anymore because the traffic wasn't encrypted, so …

    Read more...

  3. Tunneling across networks with Nebula.

    30 April 2020

    Longtime readers have no doubt observed that I plug a lot weird shit into my exocortex - from bookmark managers to card catalogues to just about anything that has an API.  Sometimes this is fairly straightforward; if it's on the public Net I can get to it (processing that data is a separate issue, of course).  But what about the stuff I have around the lab?  I'm always messing with new toys that are network connected and occasionally useful.  The question is, how do I get it out of the lab and out to my exocortex?  Sometimes I write bots to …

    Read more...

  4. A little preparation is not a bad thing: Getting Narcan.

    21 April 2020

    Obligatory disclaimer: I AM NOT A MEDICAL DOCTOR.  SEEK PROFESSIONAL ADVICE AND TRAINING.

    There's really no good way to start an article about the epidemic of opiate overdoses and deaths in the United States.  It's a terrible thing.  Unlike a lot of articles out there and stereotyping that happens, a nontrivial number of opioid deaths are due to accidental overdoses of painkillers taken by folks who are trying to manage chronic pain.  I say this as someone whose dental health history reads like Hellraiser fanfic.  If you're in so much pain that you can't even think straight most of the …

    Read more...

  5. Using Nginx to spoof HTTP Host headers.

    26 February 2020

    EDIT: s/alice.bob.com/alice.example.com/ to fix part of the backstory.

    Let's say that you have a server (like Prosody) that has one or more subsystems (like BOSH and Websockets).  You want to stick them behind a web server like Nginx so that they can be accessed via HTTP - let's say that you want a browser to be able to communicate with those subsystems for some reason.  Or more likely you have a web application that needs to communicate with them in the same way (because Javascript).  Assuming that the above features are already enabled in Prosody …

    Read more...

  6. Integrating Huginn with a Matrix server.

    12 February 2020

    Throughout this series I've shown you how to set up a Matrix server and client using Synapse and Riot, and make it much more robust as a service by integrating a database server and a mechanism for making VoIP more reliable.  Now we'll wrap it up by doing something neat, building a simple agent network in Huginn to post what I'm listening to into a Matrix Room.  I have an account on libre.fm that my media players log to which we'll be using as our data source.  Of course, this is only a demonstration of the basic technique, you …

    Read more...

  7. Making a Matrix server STUN-enabled.

    04 February 2020

    Previously in this series I showed you how to migrate a Matrix server to use Postgres, a database server designed for busy workloads, such as those of a busy chat server.  This time around I'll demonstrate how to integrate Synapse with a STUN/TURN server to make the voice and video conferencing features of the Matrix network more reliable.  It's remarkably easy to do but it does take a little planning.  Here's why I recommend doing this:

    If you are reading this, chances are you're behind a NATting firewall, which means that your device doesn't have a publically routable IP …

    Read more...

  8. Converting a Matrix server to use Postgres.

    29 January 2020

    In my last post about the Matrix network I covered how to set up a public Synapse server as well as a web-based client called Riot.  In so doing I left out a part of the process for the sake of clarity (because it's a hefty procedure and there's no reason not to break it down into logical modules), which was using a database back-end that's designed for workloads above and beyond what SQLite was meant for.  I'll be the first to tell you, I'm not a database professional, I don't know a whole lot about how to use or …

    Read more...

  9. Setting up a private Matrix server.

    21 January 2020

    EDIT - 20200804 - Updated the Nginx stanzas because the newer versions of Certbot do all the work of setting up SSL/TLS support for you, including the most basic Nginx settings.  If you have them there you'll run into trouble unless you delete them or comment them out.  Also, Certbot centralizes all of the appropriate SSL configuration and hardening settings into a single includable file (/etc/letsencrypt/options-ssl-nginx.conf) for ease of maintenance.

    A couple of years ago I spent some time trying to set up Matrix, a self-hosted instant messaging and chat system that works a little like Jabber, a …

    Read more...

  10. Rigging up Raspbian Buster to run on a Pi-Top

    14 January 2020

    It doesn't seem that long ago that I put together a Pi-Top and started tricking it out to use as a backup system.  It was problematic in some important ways (the keyboard's a bit wonky), but most of all the supported respin of Raspbian for use with the Pi-Top was really, really slow and a bit fragile.  While Windbringer was busy doing a full backup last week I took my Pi-Top for a spin while out and about, and to be blunt it was too bloody slow to use.  At first I figured that the microSD card I was using …

    Read more...

3 / 10