Anon, you like it in the ass, don't you? - /g/ (#106038261)

Anonymous
7/26/2025, 10:34:27 PM No.106038261
buttseks
buttseks
md5: c671ac30719329e703355bd77d0de6c8🔍
>Whitespace indentation is used for denoting structure; however, tab characters are not allowed as part of that indentation.
Replies: >>106038295 >>106038307 >>106038784 >>106040233 >>106040380 >>106040896
Anonymous
7/26/2025, 10:37:46 PM No.106038295
>>106038261 (OP)
What is the use case? I mean for configuration maybe but for serialization significant white space can be a waste of space.
Replies: >>106040021 >>106040160
Anonymous
7/26/2025, 10:38:55 PM No.106038307
>>106038261 (OP)
I would rather be homeless than write another line of yaml.
Anonymous
7/26/2025, 11:17:34 PM No.106038784
>>106038261 (OP)
it's json but with less brackets
Anonymous
7/27/2025, 1:17:27 AM No.106040021
>>106038295
Basically JSON but much more pleasant to write and it has comments
Replies: >>106040308
Anonymous
7/27/2025, 1:29:55 AM No.106040160
>>106038295
You can omit a bunch of quote marks though, and if you’re really trying to reduce over-the-wire space taken you can just output YAML in the flow style so it looks like JSON
'@context': https://schema.org/
'@type': Recipe
name: ChefSteps’ basque cheesecake
url: https://www.chefsteps.com/activities/basque-cheesecake
author: Nicholas Gavin
cookingMethod: baking
recipeCategory: dessert
tool:
- '@type': HowToTool
name: 4-qt. Cambro
description: a 4-quart tall, narrow container
sameAs: https://www.amazon.com/Cambro-Containers-Lids-Food-Storage/dp/B07K5DGWNR?tag=chefsteps02-20
- immersion blender
- instant-read thermometer
- nonstick cooking spray
- parchment paper
- fine-mesh strainer
- 9″×3″ springform pan
- half-sheet pan
- cooling rack

# Todo: add grouping
recipeIngredient:
- { '@type': PropertyValue, value: '1.4', unitCode: kg, name: cream cheese, description: ≈6⅕ 8-ounce (226g) bricks }
- 450g granulated sugar
- 65g AP flour, unbleached
- 8g kosher salt
- 700g heavy cream
- 9 eggs, large
- 15g vanilla extract

This would be more unpleasant to write as JSON
Replies: >>106040201
Anonymous
7/27/2025, 1:33:41 AM No.106040201
>>106040160
Looks like shit and is slow to parse
Anonymous
7/27/2025, 1:36:38 AM No.106040233
>>106038261 (OP)
>json
>6 charts
>yaml
>10 chapter plus errata
https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell
Anonymous
7/27/2025, 1:44:01 AM No.106040308
1733100562191268
1733100562191268
md5: 09a398f5bc400ae4fba42db8e66a15fd🔍
>>106040021
>much more pleasant to write
Anonymous
7/27/2025, 1:51:57 AM No.106040380
>>106038261 (OP)
stop using useless tab characters. simple as lmao
Anonymous
7/27/2025, 2:48:57 AM No.106040896
>>106038261 (OP)
>muh tabs
tell me you're a lazy subhuman nigger without telling me you're a lazy subhuman nigger