#

Offline Ignorance

#:mozz #:connectivity #:mesh #:rf:lora #:ai:local #:tools:ollama

It's now 17:21 and wet. It's either been raining, pouring or absolutely pissing it down all day.

I started with my usual #:bedfast start-of-day, which has been getting longer but oddly more productive since the nights started drawing in.

Coffee, then to desk. I'd only just got started on stuff when the interweb connection dropped. Grrr.

Connezione (#:spell)

The connection isn't brilliant here at the best of times. Any bad weather, oh dear. Thing is, the world's fibre cables terminate about 2km up the road. I don't know about my neighbours, but my copper wires are mostly on the ground up the field (I intend to recycle the poles for radio stuff). The best connection available at the moment is via a radio link to a mountain across the valley. It's fast enough for my purposes (just) but can be intermittent, which can be bloody annoying. I am kinda impressed by the tech though, the transceiver on my front house wall is smaller than a pair of binoculars. I must look into the freqs/protocols.

I've been toying with the idea of setting up a LoRa (Lora? - dunno, clashing acronyms) link/mesh with Castiglione di Garfagnana, nearest (small) town an hour's walk away, up and down hills. Medieval fortress town, strategically placed, significant in the days of city-states as it overlooks the access bits of this part of the Garfagnana valley. Which is a long way of saying it's on a hill. I've not checked properly, but I'm pretty sure somewhere on the house or in the field there should be a clear line of sight. In a straight line it can't be more than a couple of km. Should be reachable even with a smallish antenna.

But lorA, as best I know, only has a very low baud rate, only enough for minimal messaging. I don't know details of the legality re. freqs & power, but crucially I believe there is some open space in the bands, which would give me a foothold.

#:tbc ...

redundancy of connection is a Good Thing.

elfquake etc

#:todo ask on Facebook if there are any Radio Hams around here, check for groups

#:todo make a little pingy app to find my phone

Ollama Fun

The stuff I'm working on at the moment is heavily dependent on LLMs. No interweb, no LLMs... But I remembered I had promising results the other day running Phi 3 on Ollama on my (very basic) desktop computer. So I just sparked it up to have a play. Discovered I could really do with seeing the docs... Hmm, I'm guessing I cloned the Ollama repo locally, docs might be there. But got distracted by writing that ^^^, and I'd better take Claudio out before dark.

Anyhoo, this is how I found I could do with the docs :

danny@danny-desktop:~$ ollama run phi3
>>> /?
Available Commands:
  /set            Set session variables
  /show           Show model information
  /load <model>   Load a session or model
  /save <model>   Save your current session
  /clear          Clear session context
  /bye            Exit
  /?, /help       Help for a command
  /? shortcuts    Help for keyboard shortcuts

Use """ to begin a multi-line message.

>>> set help
To set up a command-line application that provides user assistance with the phrase "set help", you can use Python's
built-in \`argparse\` module to create an argument parser and define this as one of its arguments. Here is how it could be
implemented:

\`\`\`python
import argparse

def main():
    # Create a top-level namespace for the command line program options
    parser = argparse.ArgumentParser(description='Help Set')
...

It continued for page after page.