mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 15:05:42 -05:00
Quartz sync: Nov 4, 2023, 12:23 PM
This commit is contained in:
parent
533e0df937
commit
77a5067b37
12
content/Essays/ai-training.md
Normal file
12
content/Essays/ai-training.md
Normal file
@ -0,0 +1,12 @@
|
||||
---
|
||||
title: Why Training Generative AI Constitutes Copyright Infringement
|
||||
tags:
|
||||
- essay
|
||||
- seedling
|
||||
- ai
|
||||
date: 2023-11-04
|
||||
draft: true
|
||||
---
|
||||
Quick reiteration: **This site contains my own opinion in a personal capacity, and is not legal advice, nor is it representative of anyone else's opinion.**
|
||||
|
||||
I've seen a few news articles and opinion pieces recently that support training generative AI and LLMs on the broader internet as well as more traditional copyrighted works, without respect to the copyright holders for all of the above.
|
||||
@ -1,3 +1,6 @@
|
||||
// Remark42 comments for Quartz
|
||||
// v1.1
|
||||
|
||||
import { QuartzTransformerPlugin } from "../types"
|
||||
|
||||
// Configuration documented at https://remark42.com/docs/configuration/frontend/
|
||||
@ -21,8 +24,7 @@ export const Remark42: QuartzTransformerPlugin<Options> = (opts?: Options) => {
|
||||
|
||||
// Put the config into window scope
|
||||
var configAsString: string = "var remark_config={"
|
||||
for(const key in opts)
|
||||
{
|
||||
for (const key in opts) {
|
||||
let value = opts[key as keyof Options] // Fucked
|
||||
configAsString += key + ":" + "'" + value + "'," // Turbo fucked
|
||||
}
|
||||
@ -35,8 +37,7 @@ export const Remark42: QuartzTransformerPlugin<Options> = (opts?: Options) => {
|
||||
|
||||
// Put the embeddable components into window scope
|
||||
function getComment(e: Array<String>) {
|
||||
for (var o = 0; o < e.length; o++)
|
||||
{
|
||||
for (var o = 0; o < e.length; o++) {
|
||||
var src = opts?.host + '/web/' + e[o] + '.js'
|
||||
scripts.push({ src: src, loadTime: "afterDOMReady", contentType: "external", })
|
||||
}
|
||||
@ -50,7 +51,7 @@ export const Remark42: QuartzTransformerPlugin<Options> = (opts?: Options) => {
|
||||
if (this.remark42Instance) {
|
||||
this.remark42Instance.destroy()
|
||||
}
|
||||
|
||||
remark_config['url'] = window.location.origin + window.location.pathname
|
||||
this.remark42Instance = window.REMARK42.createInstance(remark_config)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user