Dayworld Breakup

Dayworld Breakup is a 1990 science fiction novel by American writer Philip José Farmer, the last book in the Dayworld Trilogy.[2][3]

Dayworld Breakup
First edition
AuthorPhilip José Farmer
Cover artistVincent Di Fate
CountryUnited States
LanguageEnglish
SeriesDayworld
GenreScience fiction
PublisherTor[1]
Publication date
1990
Media typePrint (Hardback & Paperback)
Pages324 (paperback edition)
ISBN0-312-85035-2 (paperback edition)
OCLC24246420
Preceded byDayworld Rebel 

Notes

gollark: I only need something like two routes so a full web framework is overkill.
gollark: ```nimimport optionsimport asyncdispatchimport httpximport tiny_sqliteimport macrosimport karax/[karaxdsl, vdom]import ./dbmacro includeFile(x: string): string = newStrLitNode(readFile(x.strVal))const css = includeFile("./src/style.css")let database = openDatabase("./monitoring.sqlite3")migrate(database)var threadDB {.threadvar.}: Option[DbConn]proc openDB(): DbConn = if isNone threadDB: threadDB = some openDatabase("./monitoring.sqlite3") get threadDBproc mainPage(): string = let vnode = buildHtml(html()): head: style: text css text "Bee deployed" $vnodeproc onRequest(req: Request) {.async.} = if req.httpMethod == some(HttpGet): case req.path.get() of "/": req.send(body=mainPage(), code=Http200, headers="Content-Type: text/html") else: req.send(Http404) else: req.send(Http404)echo "Starting up"run(onRequest, initSettings(Port(7800), "", 0))```This is what I have so far.
gollark: One per thread is likely sort of better ish slightly anyway.
gollark: Nope, this is probably fine.
gollark: I have a threadvar for each thread's DB connection and a function to get it.

See also


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.