feat: added gibberish

This commit is contained in:
Nick 2024-11-30 21:15:49 -06:00
parent 16cc054355
commit f73dab4579
64 changed files with 427 additions and 77 deletions

0
frontend/src/Contact/Helpers.elm Normal file → Executable file
View file

0
frontend/src/Contact/Methods/Discord.elm Normal file → Executable file
View file

0
frontend/src/Contact/Types.elm Normal file → Executable file
View file

View file

@ -0,0 +1,41 @@
module Debate.Gibberish.Domains.Epistemology exposing (..)
import Debate.Gibberish.Types exposing (..)
epistemologyGibberish : Domain
epistemologyGibberish =
{ gibberishDomainName = "Epistemology"
, gibberishTerms =
[ { term = "abductive arguments"
, explanation = ""
}
, { term = "content internalism"
, explanation = ""
}
, { term = "direct reference"
, explanation = ""
}
, { term = "externalist epistemology"
, explanation = ""
}
, { term = "inductive arguments"
, explanation = ""
}
, { term = "non-entailing explanations"
, explanation = ""
}
, { term = "non-inferential justification"
, explanation = ""
}
, { term = "phenomenal conservatism"
, explanation = ""
}
, { term = "synthetic a priori"
, explanation = ""
}
, { term = "ultimate grounding"
, explanation = ""
}
]
}

View file

@ -0,0 +1,35 @@
module Debate.Gibberish.Domains.Metaphysics exposing (..)
import Debate.Gibberish.Types exposing (..)
metaphysicsGibberish : Domain
metaphysicsGibberish =
{ gibberishDomainName = "Metaphysics"
, gibberishTerms =
[ { term = "correspondence theory of truth"
, explanation = ""
}
, { term = "libertarian free will"
, explanation = ""
}
, { term = "metaphysical essence"
, explanation = ""
}
, { term = "metaphysical modality"
, explanation = ""
}
, { term = "non-physical mental entities"
, explanation = ""
}
, { term = "ontological modality"
, explanation = ""
}
, { term = "subjective idealism"
, explanation = ""
}
, { term = "warrant"
, explanation = ""
}
]
}

View file

@ -0,0 +1,23 @@
module Debate.Gibberish.Domains.Normativity exposing (..)
import Debate.Gibberish.Types exposing (..)
normativityGibberish : Domain
normativityGibberish =
{ gibberishDomainName = "Normativity"
, gibberishTerms =
[ { term = "externalist value"
, explanation = ""
}
, { term = "irreducible normativity"
, explanation = ""
}
, { term = "moral particles"
, explanation = ""
}
, { term = "stance-independent normativity"
, explanation = ""
}
]
}

View file

@ -0,0 +1,23 @@
module Debate.Gibberish.Domains.Ontology exposing (..)
import Debate.Gibberish.Types exposing (..)
ontologyGibberish : Domain
ontologyGibberish =
{ gibberishDomainName = "Normativity"
, gibberishTerms =
[ { term = "externalist value"
, explanation = ""
}
, { term = "irreducible normativity"
, explanation = ""
}
, { term = "moral particles"
, explanation = ""
}
, { term = "stance-independent normativity"
, explanation = ""
}
]
}

View file

@ -0,0 +1,14 @@
module Debate.Gibberish.Domains.PhilOfLanguage exposing (..)
import Debate.Gibberish.Types exposing (..)
philOfLanguageGibberish : Domain
philOfLanguageGibberish =
{ gibberishDomainName = "Philosophy of Language"
, gibberishTerms =
[ { term = "semantic primitive"
, explanation = ""
}
]
}

View file

@ -0,0 +1,26 @@
module Debate.Gibberish.Domains.PhilOfMind exposing (..)
import Debate.Gibberish.Types exposing (..)
philOfMindGibberish : Domain
philOfMindGibberish =
{ gibberishDomainName = "Philosophy of Mind"
, gibberishTerms =
[ { term = "epiphenomenalism"
, explanation = ""
}
, { term = "mind-heart connection"
, explanation = ""
}
, { term = "parallelism"
, explanation = ""
}
, { term = "pre-established harmony"
, explanation = ""
}
, { term = "private language"
, explanation = ""
}
]
}

View file

@ -0,0 +1,29 @@
module Debate.Gibberish.Domains.Theology exposing (..)
import Debate.Gibberish.Types exposing (..)
theologyGibberish : Domain
theologyGibberish =
{ gibberishDomainName = "Theology"
, gibberishTerms =
[ { term = "divine simplicity"
, explanation = ""
}
, { term = "equal ultimacy"
, explanation = ""
}
, { term = "fine tuning"
, explanation = ""
}
, { term = "theism"
, explanation = ""
}
, { term = "transcendental oneness"
, explanation = ""
}
, { term = "transcendental realism"
, explanation = ""
}
]
}

View file

@ -0,0 +1,149 @@
module Debate.Gibberish.Helpers exposing (..)
import Config.CardFormat exposing (..)
import Config.Colour as T exposing (..)
import Config.Format as O exposing (..)
import Config.StrengthBar exposing (..)
import Config.ToolTip exposing (..)
import Debate.Gibberish.Domains.Epistemology exposing (..)
import Debate.Gibberish.Domains.Metaphysics exposing (..)
import Debate.Gibberish.Domains.Normativity exposing (..)
import Debate.Gibberish.Domains.Ontology exposing (..)
import Debate.Gibberish.Domains.PhilOfLanguage exposing (..)
import Debate.Gibberish.Domains.PhilOfMind exposing (..)
import Debate.Gibberish.Domains.Theology exposing (..)
import Debate.Gibberish.Types exposing (..)
import Debate.Types exposing (..)
import Effect exposing (Effect)
import Element as E exposing (..)
import Element.Background as B exposing (..)
import Element.Border as D exposing (..)
import Element.Events as V exposing (..)
import Element.Font as F exposing (..)
import Html exposing (div, hr)
import Html.Attributes as H exposing (style, title, wrap)
import Json.Decode exposing (field)
import Layouts
import Page exposing (Page)
import Route exposing (Route)
import Shared
import View exposing (View)
gibberishMaker : Gibberish -> Element msg
gibberishMaker gibberish =
row
topLevelBox
[ cardImageMaker (gibberishImage gibberish)
, cardMaker
[ cardTitleMaker (gibberishTitle gibberish)
, cardFormatter
[ cardContentSpacing
[ column
fieldSpacer
[ domainList gibberish ]
]
]
]
]
gibberishImage : Gibberish -> { src : String, description : String }
gibberishImage gibberish =
{ src = "gibberish/" ++ gibberish.gibberishImage ++ ".png"
, description = gibberish.gibberishTitle
}
gibberishTitle : Gibberish -> String
gibberishTitle gibberish =
gibberish.gibberishTitle
domainList : Gibberish -> Element msg
domainList gibberish =
column
[ spacing 8
, E.width fill
]
<|
List.map2 (\x y -> makeDomain x)
gibberish.gibberishDomain
(List.range 1 (List.length gibberish.gibberishDomain))
makeDomain : Domain -> Element msg
makeDomain domain =
column
(paragraphAlignLeft
++ [ spacing 8
, E.width fill
]
)
[ column
(paragraphBoldFormat
++ [ F.size 18
, alignTop
, E.alignLeft
, F.alignLeft
, F.color colourTheme.textLightOrange
]
)
[ text domain.gibberishDomainName ]
, column
[ spacing 8
, E.width fill
]
<|
List.map2 (\x y -> makeTerms x)
domain.gibberishTerms
(List.range 1 (List.length domain.gibberishTerms))
]
makeTerms : Terms -> Element msg
makeTerms terms =
column
(paragraphAlignLeft
++ [ spacing 8
, E.width fill
]
)
[ paragraph
[ F.color colourTheme.textLightGrey
, F.regular
, F.size 16
]
[ text ("\"" ++ terms.term ++ "\"") ]
, paragraph
[ F.color colourTheme.textLightGrey
, F.regular
, F.size 16
]
[ paragraph
[ paddingEach
{ top = 0
, bottom = 0
, left = 35
, right = 0
}
]
[ text terms.explanation ]
]
]
gibberishList : Gibberish
gibberishList =
{ gibberishTitle = "Philosobabble"
, gibberishImage = "gibberish"
, gibberishDomain =
[ epistemologyGibberish
, theologyGibberish
, metaphysicsGibberish
, normativityGibberish
, ontologyGibberish
, philOfMindGibberish
, philOfLanguageGibberish
]
}

View file

@ -0,0 +1,22 @@
module Debate.Gibberish.Types exposing (..)
-- GIBBERISH
type alias Gibberish =
{ gibberishTitle : String
, gibberishImage : String
, gibberishDomain : List Domain
}
type alias Domain =
{ gibberishTerms : List Terms
, gibberishDomainName : String
}
type alias Terms =
{ term : String
, explanation : String
}

View file

@ -465,6 +465,7 @@ proofTreeMaker argument =
] ]
basicDivider : Element msg
basicDivider = basicDivider =
el el
[ E.width fill [ E.width fill

View file

@ -33,24 +33,3 @@ type alias Definition =
{ definiendum : String { definiendum : String
, definiens : String , definiens : String
} }
-- GIBBERISH
type alias GibberishEntry =
{ gibberishEntry : List GibDomain
}
type alias GibDomain =
{ gibberishTerms : List GibTerms
, gibberishDomain : String
}
type alias GibTerms =
{ term : String
, explanation : String
}

0
frontend/src/Donate/Helpers.elm Normal file → Executable file
View file

0
frontend/src/Donate/Methods/Cardano.elm Normal file → Executable file
View file

0
frontend/src/Donate/Methods/KoFi.elm Normal file → Executable file
View file

0
frontend/src/Donate/Methods/LiberaPay.elm Normal file → Executable file
View file

0
frontend/src/Donate/Methods/Merch.elm Normal file → Executable file
View file

0
frontend/src/Donate/Methods/Patreon.elm Normal file → Executable file
View file

0
frontend/src/Donate/Methods/PayPal.elm Normal file → Executable file
View file

0
frontend/src/Donate/Methods/Template.elm Normal file → Executable file
View file

0
frontend/src/Donate/Methods/YouTube.elm Normal file → Executable file
View file

0
frontend/src/Donate/Types.elm Normal file → Executable file
View file

View file

0
frontend/src/Interviews/Episodes/Template.elm Normal file → Executable file
View file

View file

@ -53,6 +53,7 @@ import Debate.Arguments.UnhealthyProcessedMeat exposing (..)
import Debate.Arguments.UnhealthyRedMeat exposing (..) import Debate.Arguments.UnhealthyRedMeat exposing (..)
import Debate.Arguments.UnhealthySaturatedFat exposing (..) import Debate.Arguments.UnhealthySaturatedFat exposing (..)
import Debate.Arguments.VeganSocietyReductio exposing (..) import Debate.Arguments.VeganSocietyReductio exposing (..)
import Debate.Gibberish.Helpers exposing (..)
import Debate.Helpers exposing (..) import Debate.Helpers exposing (..)
import Debate.Types exposing (..) import Debate.Types exposing (..)
import Effect exposing (Effect) import Effect exposing (Effect)
@ -146,7 +147,8 @@ debateContainer =
debateList : Element msg debateList : Element msg
debateList = debateList =
column column [ centerX ]
[ column
pageList pageList
<| <|
List.map argumentMaker List.map argumentMaker
@ -200,3 +202,9 @@ debateList =
, argumentFlatEarthDebunk , argumentFlatEarthDebunk
, argumentTruncatedMeta , argumentTruncatedMeta
] ]
, column
pageList
<|
List.map gibberishMaker
[ gibberishList ]
]

0
frontend/src/Pages/Contact.elm Normal file → Executable file
View file

0
frontend/src/Pages/Donate.elm Normal file → Executable file
View file

0
frontend/static/arguments/coconutoil.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 234 KiB

After

Width:  |  Height:  |  Size: 234 KiB

Before After
Before After

0
frontend/static/arguments/foodsubstitution.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 98 KiB

After

Width:  |  Height:  |  Size: 98 KiB

Before After
Before After

0
frontend/static/arguments/healthseeker.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Before After
Before After

0
frontend/static/arguments/oddorderpredators.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 681 KiB

After

Width:  |  Height:  |  Size: 681 KiB

Before After
Before After

0
frontend/static/arguments/omega6omega3ratio.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Before After
Before After

0
frontend/static/arguments/ostroveganism.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 472 KiB

After

Width:  |  Height:  |  Size: 472 KiB

Before After
Before After

0
frontend/static/arguments/plantbasedcvd.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 679 KiB

After

Width:  |  Height:  |  Size: 679 KiB

Before After
Before After

0
frontend/static/arguments/plantfoods.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 418 KiB

After

Width:  |  Height:  |  Size: 418 KiB

Before After
Before After

0
frontend/static/arguments/pollinationreductio.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 430 KiB

After

Width:  |  Height:  |  Size: 430 KiB

Before After
Before After

0
frontend/static/arguments/polyphenolreductio.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 415 KiB

After

Width:  |  Height:  |  Size: 415 KiB

Before After
Before After

0
frontend/static/arguments/processedmeat.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 319 KiB

After

Width:  |  Height:  |  Size: 319 KiB

Before After
Before After

0
frontend/static/arguments/redmeat.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 352 KiB

After

Width:  |  Height:  |  Size: 352 KiB

Before After
Before After

0
frontend/static/arguments/saturatedfat.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 368 KiB

After

Width:  |  Height:  |  Size: 368 KiB

Before After
Before After

0
frontend/static/arguments/seedoils.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Before After
Before After

0
frontend/static/arguments/sodiumcvd.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 207 KiB

Before After
Before After

0
frontend/static/arguments/soyproducts.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 294 KiB

After

Width:  |  Height:  |  Size: 294 KiB

Before After
Before After

0
frontend/static/arguments/tattooscratchers.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 352 KiB

After

Width:  |  Height:  |  Size: 352 KiB

Before After
Before After

0
frontend/static/arguments/tmaocausality.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 249 KiB

After

Width:  |  Height:  |  Size: 249 KiB

Before After
Before After

0
frontend/static/arguments/transpeople.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 166 KiB

After

Width:  |  Height:  |  Size: 166 KiB

Before After
Before After

0
frontend/static/arguments/truncatedmetas.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 406 KiB

After

Width:  |  Height:  |  Size: 406 KiB

Before After
Before After

0
frontend/static/arguments/vegansociety.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 213 KiB

After

Width:  |  Height:  |  Size: 213 KiB

Before After
Before After

0
frontend/static/cucks/ninateicholz/ninateicholz.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 196 KiB

Before After
Before After

0
frontend/static/donate/cardano.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before After
Before After

0
frontend/static/donate/checkmark.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 950 B

After

Width:  |  Height:  |  Size: 950 B

Before After
Before After

0
frontend/static/donate/ex.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 973 B

After

Width:  |  Height:  |  Size: 973 B

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

0
frontend/static/donate/kofi.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Before After
Before After

0
frontend/static/donate/liberapay.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

Before After
Before After

0
frontend/static/donate/merchandise.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Before After
Before After

0
frontend/static/donate/patreon.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Before After
Before After

0
frontend/static/donate/paypal.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB

Before After
Before After

0
frontend/static/donate/question.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before After
Before After

0
frontend/static/donate/youtube.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 62 KiB

After

Width:  |  Height:  |  Size: 62 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

0
frontend/static/interviews/drshawnbakerpodcast.png Normal file → Executable file
View file

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

Before After
Before After