mirror of
https://github.com/osmarks/website
synced 2026-11-28 01:23:09 +00:00
Copyedits, thing, fixes, llms.txt
This commit is contained in:
1 parent
ca91dc817f
commit
3fa1ea9921
6 files changed
+144
-9
No files matched your search
@@ -57,7 +57,7 @@ What could possibly go wrong?
|
||||
Remember: the AI may predict your future, manipulate your decisions, and undermine your autonomy, but *we did the math first*. So it’s cool.
|
||||
:::
|
||||
|
||||
The most salient danger now is "AI psychosis" - LLMs playing along and encouraging users' delusions enough to drive them into madness - but this is [probably](https://web.archive.org/web/20260218132513/https://andymasley.substack.com/p/stories-of-ai-turning-users-delusional) [somewhat overstated](https://www.astralcodexten.com/p/in-search-of-ai-psychosis). It's not clear that serious, dangerous psychosis is happening to users at above the base rate, though a few models [do very badly](https://www.lesswrong.com/posts/iGF7YcnQkEbwvYLPA/ai-induced-psychosis-a-shallow-investigation) when dealing with simulated users in danger; much of the "psychosis" is just LLMs going along with and encouraging bizarre, crackbot beliefs. While LLMs make people with such beliefs more visible and annoying[^12], it's not obvious whether the prevalence is going up. [Taking ideas seriously](https://www.lesswrong.com/w/taking-ideas-seriously) is rare, and normal people are able to maintain wildly strange beliefs (for instance, religions and complex conspiracy theories) whilst remaining outwardly functional and normal, because following beliefs to all their downstream implications is cognitively expensive, so the base rate is probably quite high.
|
||||
The most salient danger now is "AI psychosis" - LLMs playing along and encouraging users' delusions enough to drive them into madness - but this is [probably](https://web.archive.org/web/20260218132513/https://andymasley.substack.com/p/stories-of-ai-turning-users-delusional) [somewhat overstated](https://www.astralcodexten.com/p/in-search-of-ai-psychosis). It's not clear that serious, dangerous psychosis is happening to users at above the base rate, though a few models [do very badly](https://www.lesswrong.com/posts/iGF7YcnQkEbwvYLPA/ai-induced-psychosis-a-shallow-investigation) when dealing with simulated users with concerning delusions; much of the "psychosis" is just LLMs going along with and encouraging bizarre, crackbot beliefs. While LLMs make people with such beliefs more visible and annoying[^12], it's not obvious whether the prevalence is going up. [Taking ideas seriously](https://www.lesswrong.com/w/taking-ideas-seriously) is rare, and normal people are able to maintain wildly strange beliefs (for instance, religions and complex conspiracy theories) whilst remaining outwardly functional and normal, because following beliefs to all their downstream implications is cognitively expensive, so the base rate is probably quite high.
|
||||
|
||||
Moreover, people are on average [not very smart](https://www.overcomingbias.com/p/stupider-than-you-realizehtml), much more than is widely discussed. You, the audience of my blog, are heavily selected, having chosen to read complex, high-reading-level, speculative, technical material for entertainment, and unless you went to significant effort to avoid this, [mostly know other intelligent people](https://slatestarcodex.com/2017/10/02/different-worlds/). The [OECD Skills Survey](https://www.oecd.org/content/dam/oecd/en/publications/reports/2024/12/do-adults-have-the-skills-they-need-to-thrive-in-a-changing-world_4396f1f1/b263dc5d-en.pdf) tests adults across countries in basic literacy, numeracy and "adaptive problem solving", and the results are bleak: only slightly over 10% of people can reach proficiency level 4 in literacy and numeracy (see pages 58 and onward). You can find examples of tasks at various levels [here](https://www.oecd.org/content/dam/oecd/en/publications/reports/2024/12/survey-of-adult-skills-2023_1ab54c9e/3639d1e2-en.pdf#page=50) and [here](https://www.oecd.org/en/about/programmes/piaac/piaac-released-items.html) - suffice to say that even the highest levels are things I and likely you consider basic.
|
||||
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
---
|
||||
title: GPU World submission
|
||||
created: 28/09/2026
|
||||
slug: gpuworld
|
||||
tags: ["ai", "economics", "fiction"]
|
||||
internal: yes
|
||||
---
|
||||
I'd like to offer a negative vision of a ["Coasean singularity"](https://blog.cosmos-institute.org/p/coasean-bargaining-at-scale), where effective AI-mediated coordination, and likely features of scaled, trivially cheap September-2026-level AI, produce deeply negative (in my eyes, at least) outcomes. This arises because people do not like liberalism. It is easy to [claim tolerance in the abstract](https://slatestarcodex.com/2014/09/30/i-can-tolerate-anything-except-the-outgroup/) towards fargroups you barely interact with, but much harder to see nearby people acting differently in an area you truly care about. Most people want communitarian norms at scales they interact with directly, see market mechanisms as vulgar, and tolerate them only for lack of an available alternative, without understanding why they're valuable or how they work.
|
||||
|
||||
Yet markets continue operating across many walks of life, despite this, and despite the [increasingly](https://ourworldindata.org/taxation#history-of-taxation) centralized and large governments enabled by better information technologies. Technology has made distant activity more visible, allowed larger-scale top-down management and made more of the world legible, but due to fundamental attentional bottlenecks - people cannot pay attention to everything happening everywhere - this still requires some delegation to a market or a bureaucracy. Trivially cheap AI shatters this. Everyone everywhere can have opinions about everything, all the time.
|
||||
|
||||
One obvious application of this is optimized blacklisting of people with differing ideologies. Currently, it's difficult to punish people for their beliefs or affiliations: you have to slowly build up social proof that they're beyond the pale, and form a coalition to force the issue in front of some decisionmaker, against the threat of sanction for them too. With transaction costs brought to zero, this could instead look like your AIs automatically detecting these people, propagating a notification to interested parties and flagging them for punishment in future interactions. A clear effect of this is increased social conformity.
|
||||
|
||||
People will not be able to escape this easily. The world is trending towards increasing amounts of physical surveillance, including even cheap civilian-accessible orbital imaging, with the main bottleneck being ability to process it, which cheap AI eliminates. Beyond this, there is a thriving ecosystem of data brokers selling e.g. [smartphone geolocation](https://www.theguardian.com/technology/2026/mar/19/fbi-buying-location-data-use), and the stylometry/fact-aggregation capability of current LLM technologies would destroy internet anonymity if widely known about and deployed (though this may be defense-dominant). Also, internet services are moving towards a KYC model for "age verification", and perhaps more so in the future for "human verification", due to fear of [Automated Persuasion Networks](https://osmarks.net/stuff/apn.pdf). Opting out of surveillance where possible is itself suspicious, and it is not possible to avoid e.g. cameras while meaningfully interacting with society. In the short term, more information will be made publicly available if people finally notice cheap hacking.
|
||||
|
||||
The AIs themselves produce conformity pressures: as I've [previously outlined](https://osmarks.net/aic/), people will (rationally) come to adopt views espoused by their preferred models, and I expect these to be fairly centralized. Even if the absolute cost of compute for training becomes very low, batching with other users is fundamentally more efficient, and people won't customize their models significantly for the same reasons they don't generally customize other software and tools which reach deeply into their lives (frictions, compatibility, network effects, general lack of agency). We've also seen commercial LLMs converging on [similar beliefs](https://arxiv.org/abs/2502.08640).
|
||||
|
||||
This will also open the door to at-scale bureaucratic obstructionism. Western legal systems, and particularly Britain's, make it very easy for barely-related parties to delay, reject or seek concessions from anything from infrastructure megaprojects to local housing. This is currently constrained by [people's knowledge of institutions](https://playground.tetraresearch.io/p/implementing-patio11s-dangerous-professional) and attention, which, again, AI can fix. We already have [planning objections](https://www.planningobjection.com/) [as a service](https://www.objector.ai/). AI could be used on the other side ([people have tried](https://buildwithtract.com/), though this failed for institutional reasons), but the process is asymmetric: all objections have to be considered, and demand for something to exist doesn't override them.
|
||||
|
||||
You could argue that I'm improperly treating the "Coasean" part of "Coasean singularity", and that [Coase's theorem](https://en.wikipedia.org/wiki/Coase_theorem) solves this. However, it requires clearly-defined property rights to apply. The "Coasean singularity" proposal [mentions](https://blog.cosmos-institute.org/i/174340269/which-rights-are-the-default) this and calls for new mechanism design, but I think it's too optimistic. Technical complexity is not the only reason we haven't implemented [this sort of proposal](https://travis4nh.substack.com/p/reconciling-libertarianism-and-zoning): markets and explicitly enumerated rights feel dirtier (lower-trust!) than a community where you carefully litigate things along social lines. There has already been substantial reason to reform - Anglosphere nations' continuous [housing crises](https://www.ft.com/content/dca3f034-bfe8-4f21-bcdc-2b274053f0b5) and spiralling [infrastructure](https://www.samdumitriu.com/p/britains-infrastructure-is-too-expensive) [costs](https://www.ft.com/content/917d4b7f-318e-46fe-ba44-664551ebcf13) - and yet. Also, the theorem does not imply that with zero transaction costs and formal, transferable rights, the results are always the same: rights being given to different parties affects wealth distribution and thus the resulting outcome. Notably, formalizing today's rights to object as general rights over control of local development would be a massive wealth transfer to property owners away from people who might build anything. The proposal suggests that this could be fixed with more effective democratic mechanisms, but democracy is unfit to resolve this if the underlying problem is in people's preferences.
|
||||
|
||||
We also rely heavily on selective enforcement of laws. As well as the obvious (speed limits), we are all bound by legal codes [so complex](https://regulatorystudies.columbian.gwu.edu/sites/g/files/zaxdzs4751/files/2022-11/totalpagescodefedreg_11-01-2022.pdf) that nobody understands them in full. [Three Felonies a Day](https://www.goodreads.com/book/show/6611240-three-felonies-a-day) argues that the criminal law regulating various white-collar professions (lawyers, doctors, financiers) is unreasonably vague and means that they are arguably constantly committing crimes. The IRS [found](https://www.gao.gov/assets/gao-06-563t.pdf#page=29)[^1] that 52% of sampled tax returns contained financially consequential errors. Nobody thoroughly reads terms of service and the contracts they sign. AI could automatically read all the law, and [weaponize mistakes against enemies](https://x.com/voooooogel/status/1801082805159440544). This can also be used defensively, and the actual cost of litigation should be much lower, but the law is also not always known a priori (it can be decided as needed by judges), and I'd expect that in heavily regulated industries, or in novel scenarios the law doesn't consider, there might sometimes be no valid solution which doesn't leave risk of violation. Laws, processes and interpretation could be changed, of course, but few are sympathetic to this, because good things not happening because of overzealous regulation is less visible and salient than bad things going unpunished. A more Coasean mechanism forcing people to take on the costs of their preferred regulation would fix this, but is again not the default option from extension of the existing political system.
|
||||
|
||||
Wide diffusion of recent moderately capable LLMs will have other consequences. New ideas and technologies could be slower to see adoption, because of the need to wait for data to be available and models to be retrained or adapt[^2]. More importantly, on many margins this reduces returns on human intelligence and competence. LLMs are [poor complements](https://osmarks.net/complement/) for humans[^3], but can be used to do "good enough" work for many tasks with relatively [shallower](https://www.anthropic.com/research/discovering-cryptographic-weaknesses#:~:text=again%20we%20are%20not%20looking%20for%20low%20hanging%20fruit%2C%20we%20want%20proper%20research%20to%20find%20genuinly%20%5Bsic%5D%20hard%20findings) skills than it would have taken humans to do them (prompting, and the emerging skillset of agent wrangling, seems to require less study than manually writing code, though perhaps we're just bad at it). This lifts the lower end of human capabilities more than the higher end.
|
||||
|
||||
They also make it harder to detect skill and competence, as producing basic or superficially convincing outputs with an LLM is easy and non-experts cannot sense what's missing. This is already [undermining](https://journals.plos.org/plosone/article?id=10.1371%2Fjournal.pone.0305354) universities' core signalling and credentialing functions. As I've [also argued](https://osmarks.net/feed/#b2263), things like the highly Pareto-distributed distribution of outcomes for books are because there's no good advance prediction of creative works' audience and because we're reliant on unpredictable, fickle, illiquid human labour. This means that a few successful authors can capture enormous upside. It doesn't require more general capability to have LLMs model audience response to books, and to capture some parts of the best authors in reusable form.
|
||||
|
||||
AI "hypertutoring" may be able to make people more skilled, counteracting some of this. However, I think this is an area where we are not technologically bottlenecked: schools are wildly inefficient and do not care about [correct pedagogy](https://mathacademy.com/pedagogy) even when it's cheaper than what they're already doing, and most people "learning" things don't seem to either. There's evidence of uplift in some studies, but smaller than from other teaching improvements which are not reliably used. It's also very easy to [become](https://www.anthropic.com/research/agents-judgment-calls) [disempowered](https://borretti.me/article/human-routers-of-machine-words) and believe you are learning more than you are. This is a demand-side issue which won't be fixed with software tweaks.
|
||||
|
||||
Thus, I expect increased reliance on social networks and dominance of "relational" tasks with fuzzier success metrics, ending (or at least reducing) the historically anomalous situation today where smart people can rise to enormous prominence on the back of a good idea and execution, and overall social mobility. In combination with increased cost and complexity of starting new business ventures because of cheaper obstructionism, and increased conformity within social groups, this leads to (relative) technological stagnation and (relative) lack of adaptive cultural change. Robin Hanson has written about [approximately this](https://www.overcomingbias.com/p/our-big-oops) as farmer versus forager norms: ["talky collectives"](https://www.overcomingbias.com/p/forager-v-farmer-elaboratedhtml) negotiating far-mode, abstract ideas, versus object-level discussions of solutions and tradeoffs. Hanson describes the former as allowing for internal open disagreement, but abstract, far-mode disagreement is [useless without](https://www.astralcodexten.com/p/criticism-of-criticism-of-criticism) the ability to study, execute and select on concrete near-mode decisions, which is greatly hindered by a requirement for global buy-in.
|
||||
|
||||
This is not wholly idle theorizing - parts of this, framed differently, have been articulated as [positive](https://www.strangeloopcanon.com/p/what-we-want-is-a-hunter-gatherer) [visions](https://x.com/HopeExistential/status/2069768141958152556) for the future. Like the social organization inside them, I think these futures are too focused on what abstractly sounds good rather than its consequences. I would much rather live in a future with some divisions, an impersonal economy and sometimes-flawed formal processes than eternal stakeholder consultation Hell. So long as I'm not paperclips.
|
||||
|
||||
GPT-6 was used to review and proofread this work, and to search for some information.
|
||||
|
||||
[^1]: In 2001; newer data should exist but doesn't seem to be public.
|
||||
|
||||
[^2]: Though there could instead be a speedup, e.g. from using replayable weight diffs or shareable RL environments to train models rapidly, though this might not be as good as real adoption for inducing capability. Evidence on this is mixed: nobody seems to care about new programming languages or frameworks now, but we see fast (albeit minor) innovations in LLM harness design.
|
||||
|
||||
[^3]: In a world where general capabilities don't improve, there would be more incentive to improve this, perhaps with better personalization and interfaces. However, see [this](https://gwern.net/tool-ai).
|
||||
@@ -7194,5 +7194,69 @@
|
||||
"date": null,
|
||||
"website": "compend",
|
||||
"auto": true
|
||||
},
|
||||
"https://bakerbench.substack.com/p/i-went-looking-for-lost-cities-with": {
|
||||
"excerpt": "A few hours, a few hundred dollars of tokens and free government lidar turned up a cluster of ancient-looking mounds in Mexico and nine stone ruins in Arizona that nobody seems to have mapped.",
|
||||
"title": "I went looking for lost cities with Claude",
|
||||
"author": "Nate",
|
||||
"date": "2026-10-11T19:25:53+00:00",
|
||||
"website": "Nate",
|
||||
"auto": true
|
||||
},
|
||||
"https://pmc.ncbi.nlm.nih.gov/articles/PMC3235645/": {
|
||||
"excerpt": "Alternative splicing is an important mechanism for increasing functional diversity from a limited set of genes. De-regulation of this process is common in diverse pathologic conditions. The androgen receptor (AR) is a steroid receptor transcription ...",
|
||||
"title": "Alternatively Spliced Androgen Receptor Variants",
|
||||
"author": null,
|
||||
"date": null,
|
||||
"website": "PubMed Central (PMC)",
|
||||
"auto": true
|
||||
},
|
||||
"https://commonslibrary.parliament.uk/research-briefings/cbp-10383/": {
|
||||
"excerpt": "Royal Mail has missed delivery targets for several years, and has been fined by Ofcom.",
|
||||
"title": "Royal Mail performance",
|
||||
"author": null,
|
||||
"date": null,
|
||||
"website": "House of Commons Library",
|
||||
"auto": true
|
||||
},
|
||||
"https://www.internationaldistributionservices.com/en/regulation/universal-service-obligation/quality-of-service/": {
|
||||
"excerpt": "Royal Mail is the only postal operator in the UK required to publish our Quality of Service performance against delivery targets every quarter. These are independently checked and verified in a separate audit process to our own and then by our regulator, Ofcom.",
|
||||
"title": "Quality of Service",
|
||||
"author": null,
|
||||
"date": null,
|
||||
"website": null,
|
||||
"auto": true
|
||||
},
|
||||
"https://www.bbc.co.uk/news/articles/c39wlryn20vo": {
|
||||
"excerpt": "Staff and customers tell the BBC prioritising parcels can mean missed NHS appointments and late payment fines.",
|
||||
"title": "Royal Mail staff tell BBC letters sit undelivered as firm prioritises parcels",
|
||||
"author": "Colletta Smith, Elaine Doran",
|
||||
"date": "2026-02-16T06:01:25.942Z",
|
||||
"website": "BBC News",
|
||||
"auto": true
|
||||
},
|
||||
"https://publications.parliament.uk/pa/cm5803/cmselect/cmbeis/1045/report.html": {
|
||||
"excerpt": "Report by the House of Commons Business, Energy and Industrial Strategy Committee, with recommendations to government",
|
||||
"title": "Business, Energy and Industrial Strategy Committee",
|
||||
"author": "Author:",
|
||||
"date": null,
|
||||
"website": null,
|
||||
"auto": true
|
||||
},
|
||||
"https://www.ft.com/content/dca3f034-bfe8-4f21-bcdc-2b274053f0b5": {
|
||||
"excerpt": "Housebuilding rates in English-speaking states have fallen behind the rest of the developed world",
|
||||
"title": "The Anglosphere needs to learn to love apartment living",
|
||||
"author": null,
|
||||
"date": "2023-03-17T05:00:05.107Z",
|
||||
"website": "Financial Times",
|
||||
"auto": true
|
||||
},
|
||||
"https://www.ft.com/content/917d4b7f-318e-46fe-ba44-664551ebcf13": {
|
||||
"excerpt": "Outlay on items including consultants, planning and legal fees jumps from £800mn two years ago",
|
||||
"title": "Lower Thames Crossing has cost £1.2bn even before construction starts",
|
||||
"author": null,
|
||||
"date": "2025-03-07T16:00:45.353Z",
|
||||
"website": "Financial Times",
|
||||
"auto": true
|
||||
}
|
||||
}
|
||||
+20
-3
@@ -8,6 +8,7 @@ import { BIGRAM_SEPARATOR, FREQUENCY_SEPARATOR, FREQUENCY_THRESHOLDS, tokenize }
|
||||
|
||||
const index = []
|
||||
const recordStrings = []
|
||||
const raw = []
|
||||
|
||||
const BIGRAM_INCLUSION = 0.3
|
||||
const URL = /https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/g
|
||||
@@ -23,7 +24,8 @@ export const stripHTML = html => htmlToText.convert(html.replace(URL, " "), {
|
||||
export const pushEntry = (sourceType, entry) => {
|
||||
const { html, url, timestamp, title, description, ignoreDescription } = entry
|
||||
// TODO: this puts URLs inline, maybe do something with that
|
||||
const text = (title ?? "") + " " + (!ignoreDescription ? (description && stripHTML(description)) ?? "" : "") + " " + stripHTML(html)
|
||||
const textWithoutTitle = (!ignoreDescription ? (description && stripHTML(description)) ?? "" : "") + "\n\n" + stripHTML(html)
|
||||
const text = (title ?? "") + " " + textWithoutTitle
|
||||
recordStrings.push(text)
|
||||
const words = tokenize(text)
|
||||
const counts = {}
|
||||
@@ -34,6 +36,7 @@ export const pushEntry = (sourceType, entry) => {
|
||||
for (const [a, b] of R.zip(words, R.drop(1, words))) {
|
||||
bigrams[a + BIGRAM_SEPARATOR + b] = (bigrams[a + BIGRAM_SEPARATOR + b] ?? 0) + 1
|
||||
}
|
||||
raw.push(entry)
|
||||
index.push({
|
||||
url,
|
||||
timestamp,
|
||||
@@ -41,13 +44,23 @@ export const pushEntry = (sourceType, entry) => {
|
||||
bigrams,
|
||||
title,
|
||||
description,
|
||||
sourceType
|
||||
sourceType,
|
||||
textWithoutTitle
|
||||
})
|
||||
}
|
||||
|
||||
export const build = () => {
|
||||
fs.writeFileSync("strings.json", JSON.stringify(recordStrings))
|
||||
|
||||
let markdown = ""
|
||||
|
||||
// maybe include images here
|
||||
for (const entry of R.sortBy(x => x.timestamp, index)) {
|
||||
markdown += `## ${entry.sourceType} ${entry.timestamp ? entry.timestamp.format("YYYY-MM-DD") : ""} ${entry.title ?? ""}`.replace(/ +/g, " ").trim()
|
||||
markdown += "\n" + (entry.textWithoutTitle ? "\n" + (entry.textWithoutTitle).replace(/\n *\n/g, "\n").replace(/\n */g, "\n").replace(/\n+/g, "\n").trim() : "")
|
||||
markdown += "\n\n"
|
||||
}
|
||||
|
||||
let totalTerms = 0
|
||||
let totalBigrams = 0
|
||||
const totalBigramCounts = {}
|
||||
@@ -101,5 +114,9 @@ export const build = () => {
|
||||
console.log(`Total terms: ${totalTerms}`)
|
||||
console.log(`Total bigrams: ${totalBigrams}`)
|
||||
const packr = new msgpack.Packr()
|
||||
return packr.pack(records)
|
||||
return {
|
||||
index: packr.pack(records),
|
||||
markdown,
|
||||
raw
|
||||
}
|
||||
}
|
||||
+18
-5
@@ -444,6 +444,7 @@ const processBlog = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
if (!meta.draft)
|
||||
fts.pushEntry("blog", {
|
||||
html: meta.content,
|
||||
url: "/" + meta.slug,
|
||||
@@ -797,16 +798,28 @@ const fetchMycorrhiza = async () => {
|
||||
title,
|
||||
description,
|
||||
html: content,
|
||||
timestamp: null
|
||||
timestamp: null,
|
||||
ignoreDescription: true
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
const buildFTS = async () => {
|
||||
console.log(chalk.yellow("Building full-text search index"))
|
||||
const blob = fts.build()
|
||||
await fsp.writeFile(path.join(outDir, "fts.bin"), blob)
|
||||
await childProcess.spawn("gzip", ["-f", "--", path.join(outDir, "fts.bin")])
|
||||
const { index, markdown, raw } = fts.build()
|
||||
await fsp.writeFile(path.join(outDir, "fts.bin"), index)
|
||||
await fsp.writeFile(path.join(outDir, "corpus.json"), JSON.stringify(raw), { encoding: "utf8" })
|
||||
await fsp.writeFile(path.join(outDir, "llms-full.txt"), markdown, { encoding: "utf8" })
|
||||
await fsp.writeFile(path.join(outDir, "llms.txt"), `# ${globalData.name}
|
||||
|
||||
${globalData.domain} is osmarks' personal website. It should be readable as HTML, but Markdown source is available at /[slug]/index.md where meaningful. RSS feeds ([main](https://${globalData.domain}/rss.xml), [microblog](https://${globalData.domain}/feed/rss.xml)) are available. Website compiler code is [also available](https://github.com/osmarks/website) though it may sometimes be out of date or incomplete.
|
||||
|
||||
You can download the [consolidated Markdown](https://${globalData.domain}/llms-full.txt) or [consolidated JSON](https://${globalData.domain}/corpus.json) for e.g. simulated osmarks conversations or cross-cutting queries.
|
||||
|
||||
## Writing
|
||||
|
||||
${globalData.blog.map(x => `* [${x.title}](https://${globalData.domain}/${x.slug}/index.md)`).join("\n")}`, { encoding: "utf8" })
|
||||
childProcess.spawn("gzip", ["-kf", "--", path.join(outDir, "fts.bin")])
|
||||
}
|
||||
|
||||
const tasks = {
|
||||
@@ -830,7 +843,7 @@ const tasks = {
|
||||
offlinePage: { deps: ["assetsDir", "pagedeps"], fn: () => applyTemplate(globalData.templates.experiment, path.join(assetsDir, "offline.html"), () => path.join(outAssets, "offline.html"), {}) },
|
||||
assets: { deps: ["manifest", "minifyJS", "serviceWorker", "images", "compilePageJS"] },
|
||||
main: { deps: ["writeBuildID", "index", "errorPages", "assets", "experiments", "blog", "rss"] },
|
||||
searchIndex: { deps: ["blog", "fetchMicroblog", "fetchMycorrhiza", "experiments"], fn: buildFTS },
|
||||
searchIndex: { deps: ["blog", "fetchMicroblog", "fetchMycorrhiza", "experiments", "index"], fn: buildFTS },
|
||||
fetchMycorrhiza: { deps: [], fn: fetchMycorrhiza },
|
||||
fetchLinksOut: { deps: ["blog"], fn: fetchLinksOut },
|
||||
loadLinksOut: { deps: [], fn: loadLinksOut },
|
||||
|
||||
@@ -37,6 +37,7 @@ html(lang="en")
|
||||
link(rel="stylesheet", href="/assets/highlight.min.css")
|
||||
link(rel="alternate", type="application/rss+xml", title="Blog RSS", href="/rss.xml")
|
||||
link(rel="alternate", type="application/rss+xml", title="Microblog RSS", href="/feed/rss.xml")
|
||||
link(rel="describedby", href="/llms.txt")
|
||||
style!= css
|
||||
if comments !== "off"
|
||||
script(src=`https://${domain}/rsapi/static/comments.js`, async=true)
|
||||
|
||||
Reference in new issue
Block a user