<commit_before>/* vere/daemon.c
**
** the main loop of the daemon process
*/
#include "all.h"
#include "ur/ur.h"
#include "vere/ivory.h"
#include "vere/vere.h"
#include <curl/curl.h>
#include <uv.h>

//  XX use a new GCP bucket?
//
// static const c3_c* ver_hos_c = "https://bootstrap.urbit.org/vere";
static const c3_c* ver_hos_c = "http://localhost:8000";

//  stash config flags for worker
//
static c3_w sag_w;

/*
::  skeleton client->king protocol
::
|%
::  +doom: daemon command
::
::    Should require auth to the daemon itself
::
+$  doom
  $%  ::  boot
      ::
      ::  p: boot procedure
      ::  q: pill specifier
      ::  r: path to pier
      ::
      [%boot p=boot q=pill r=@t]
      ::  end the daemon
      ::
      ::    XX not implemented<commit_msg>vere: corrects base url for binary download<commit_after>/* vere/daemon.c
**
** the main loop of the daemon process
*/
#include "all.h"
#include "ur/ur.h"
#include "vere/ivory.h"
#include "vere/vere.h"
#include <curl/curl.h>
#include <uv.h>

static const c3_c* ver_hos_c = "https://bootstrap.urbit.org/vere";

//  stash config flags for worker
//
static c3_w sag_w;

/*
::  skeleton client->king protocol
::
|%
::  +doom: daemon command
::
::    Should require auth to the daemon itself
::
+$  doom
  $%  ::  boot
      ::
      ::  p: boot procedure
      ::  q: pill specifier
      ::  r: path to pier
      ::
      [%boot p=boot q=pill r=@t]
      ::  end the daemon
      ::
      ::    XX not implemented
{'fraction_non_alphanumeric': 0.15846257585974377, 'fraction_numerical': 0.006068779501011463, 'mean_word_length': 2.5587529976019185, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '197205', 'n_tokens_mistral': 569, 'n_tokens_neox': 559, 'n_words': 154}