πŸ“š Agora node [[code]] β˜†
Agora nodes contain community contributions with titles or topics that match your search. x
πŸ“œ File code.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️ β›Ά

codeΒ§

πŸ“œ File Library/Core/Snippet/code.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️ β›Ά

πŸ“œ File logseq/pages/code.md by @vera β˜† πŸ“Ž β›Ά
  • let foo = x
    
πŸ“œ File CODE.md by @goldfishlaser β˜† πŸ“Ž οΈπŸ”— β›Ά

CODEΒ§

Core ideaΒ§

CODE (Capture, Organize, Distill, Express)

πŸ“œ File pages/code.md by @vera-logseq β˜† πŸ“Ž β›Ά
  • let foo = x
    
πŸ“œ File code.md by @agora@botsin.space β˜† πŸ“Ž β›Ά
πŸ“œ File code.md by @an_agora@twitter.com β˜† πŸ“Ž β›Ά
πŸ“œ File Code.md by @an_agora@twitter.com β˜† πŸ“Ž β›Ά

Loading pushes...

✨ AI Synthesis Mistral Gemini ChatGPT Claude x

Expanding this section will automatically generate an AI synthesis of the contributions in this node.

🌌 Agora context for [[code]]

Rendering context...

πŸ“š Agora node [[write]] (pulled by user) x
πŸ“š Agora node [[100daysofcode]] (pulled by the Agora)
πŸ“œ File 100DaysofCode.md by @an_agora@twitter.com β˜† πŸ“Ž
πŸ“œ File 100DaysOfCode.md by @an_agora@twitter.com β˜† πŸ“Ž
πŸ“š Agora node [[2004 02 23 validate your code]] (pulled by the Agora)
πŸ“œ File _posts/archive/2004-02-23-validate-your-code.md by @bmann β˜† πŸ“Ž

layout: post title: Validate Your Code created: 1077602040 categories:

  • SEO
  • validate
  • W3C
  • XHTML
  • Search Engine Voodoo
  • SEO
  • validate
  • W3C
  • XHTML
  • Search Engine Voodoo

It's surprising to me that many people still don't validate their code before publishing. An HTML or XHTML document, whether created by hand or by some script or content management system, is a set of instructions to the web browser on what (and how) to display content.

By validating your code, you ensure that your page conforms to an accepted set of standards. There are a number of different specifications for HTML that you can choose from. The W3C has made a number of recommendations, but the two that are most important are HTML 4.01 and XHTML 1.0. Very roughly speaking, HTML 4.01 is the last non-XML based dialect still in broad use. XHTML, quoting the W3C, is a reformulation of HTML 4.01 in XML, and combines the strength of HTML 4 with the power of XML.

Further, there are actually three "flavours" of XHTML 1.0. You will likely want to be working with XHTML Transitional most of the time, because of its backwards support for older browsers.

Now that we've covered the specifications that we will be vaildating to, the next step is to actually run the code through a validation service. Again, the W3C Validation Service will be the first stop. Why validate? Search engines are built to understand standard web page codes. Any code that doesn't conform to the standard will only confuse search engines, and we want to make the job of understanding your pages as easy as possible for them. As well, validation often points out problem areas that you may miss if you only look at the visual representation of your page.

πŸ“š Agora node [[action code]] (pulled by the Agora)
πŸ“œ File action code.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️
πŸ“š Agora node [[advent of code]] (pulled by the Agora)
πŸ“œ File advent of code.md by @an_agora@twitter.com β˜† πŸ“Ž
πŸ“š Agora node [[adventofcode]] (pulled by the Agora)
πŸ“œ File adventofcode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“š Agora node [[agora code]] (pulled by the Agora)
πŸ“œ File agora code.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️
πŸ“š Agora node [[agora vscode]] (pulled by the Agora)
πŸ“œ File agora vscode.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️

Agora VscodeΒ§

  • A [[vscode]] extension for the [[Agora]].
  • Builds on top of [[foam]], which focuses on tools for building and maintaining [[digital garden]]s.
  • The Agora extension focuses on tools for building and maintaining digital forests (or groves; or topiaries?) assembled out of many digital gardens.
πŸ“œ File agora-vscode.md by @vera β˜† πŸ“Ž
πŸ“š Agora node [[anil dash yes code]] (pulled by the Agora)
πŸ“œ File _notes/anil-dash-yes-code.md by @bmann β˜† πŸ“Ž

[[Anil Dash]] May 2020, ‘No Code’​ is great. But here’s why we need Yes Code.

Anil goes into the rising trend of "No Code" tools, and goes a step further, saying that we should be focusing on "Yes Code".

Anil Dash is the CEO of [[Glitch]], which is embracing this "Yes Code" concept.

Yes Code Β is based on three key ideas:

  1. There are millions of important apps, websites, and projects that can’t be made by an off-the-shelf template
  2. Being able to code is a superpower, and we should enable more people to tap into that ability, by lowering the barriers
  3. The biggest barriers to coding are technical complexity around processes like collaboration and deployment, and social obstacles like gatekeeping and exclusion β€” so that’s what we’ve got to fix

Today’s internet isn’t fully serving the needs of a lot of people around the world. There may be great tools for sharing a photo or sending a message, but most of the sites and apps we use every day are made by a small number of companies with goals or incentives that might not match our own. We’re feeling the negative effects of that reality every day.

Ask yourself: When’s the last time you used an app, or visited a website, that was made by an actual individualΒ  person ?

πŸ“š Agora node [[claude code]] (pulled by the Agora)
πŸ“œ File claude code.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️
  • Trying it for the first time on [[2025-08-10]].
    • Smooth onboarding experience!
    • npm install -g @anthropic-ai/claude-code did it.
    • Then logged in with my Pro subscription, let’s see how long that lasts when set loose on the [[Agora repository]] :)
πŸ“š Agora node [[decode]] (pulled by the Agora)
πŸ“œ File decode.md by @neil β˜† πŸ“Ž οΈπŸ”— ✍️

DECODEΒ§

DEcentralised Citizen-Owned Data Ecosystems

Experiments like DECODE have shown in practice that a different institutional configuration of digital infrastructure, public policy and citizen participation is possible and affordable.

– [[Platform socialism]]

city projects like DECODE(DEcentralised Citizen-owned Data Ecosystems) provide open source public interest tools for community activities where citizens can access and contribute data, from air pollution levels to online petitions and neighborhood social networks, while retaining control over data shared.

– [[Digital Ecosocialism: Breaking the power of Big Tech]]

πŸ“š Agora node [[digital ecosocialist praxis takes the form of resist regulate and recode]] (pulled by the Agora)
πŸ“œ File digital-ecosocialist-praxis-takes-the-form-of-resist-regulate-and-recode.md by @neil β˜† πŸ“Ž οΈπŸ”— ✍️

Digital ecosocialist praxis takes the form of resist, regulate and recodeΒ§

Digital ecosocialist praxis takes the form of resist, regulate and recode.

This means resisting the current practices of big tech; regulating to stop the worst impulses of big tech; and building alternatives to big tech. All three are needed.

See [[resist, regulate, recode]].

πŸ“š Agora node [[distorted qr code]] (pulled by the Agora)
πŸ“œ File distorted qr code.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“š Agora node [[docs as models as code]] (pulled by the Agora)
πŸ“œ File docs-as-models-as-code.md by @goldfishlaser β˜† πŸ“Ž οΈπŸ”—

docs-as-models-as-codeΒ§

Core ideaΒ§

Coined by DOF team lead J, a philosophy that says that just like docs can be treated as code, docs can be treated as models, existing and version controlled and released alongside the rest of the model. The DOF initiative considers this practice essential to actualizing open source hardware.

[[DOF]]

πŸ“š Agora node [[freeyourcode]] (pulled by the Agora)
πŸ“œ File FreeYourCode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“š Agora node [[full unicode]] (pulled by the Agora)
πŸ“œ File full unicode.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️

full unicodeΒ§

  • As of now I prefer Full Unicode as a convention for filenames in the [[agora]]. It is less [[lossy]].
  • I need to set up [[foam]] so it stops slugifying filenames.
πŸ“š Agora node [[get started with vscode]] (pulled by the Agora)
πŸ“œ File docs/how-to/get-started-with-vscode.md by @gyuri β˜† πŸ“Ž

Getting started with VsCodeΒ§

VsCode is a powerful text editor, hidden behind a simple interface.

Keyboard shortcutsΒ§

VsCode supports various keyboard shortcuts, the most important for us are:

Shortcut Action
cmd+N create a new file
cmd+S save the current file
cmd+O open a file
cmd+P use quickpick to open a file
cmd+shift+P invoke a command (see below)

For more information, see the vscode keyboard cheat sheets, where you can also see how to customize your keybindings.

CommandsΒ§

Commands make VsCode extremely powerful.

To invoke a command, press cmd+shift+P and select the command you want to execute. For example, to see the Foam graph:

  • press cmd+shift+P
  • start typing show graph
  • select the Foam: Show Graph command

And watch the magic unfold.

For more information on commands, see commands on the VsCode site.

If you want to learn more about VsCode, check out their website.

PanelsΒ§

You can see a few panels on the left, including:

  • Outline: this panel shows you the structure of the file based on the headings
  • Tag Explorer: This shows you the tags in your workspace, see [[tags-and-tag-explorer]] for more information on tags

SettingsΒ§

To view or change the settings in VsCode, press cmd+,

πŸ“š Agora node [[high capacity color barcode]] (pulled by the Agora)
πŸ“œ File high capacity color barcode.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️
πŸ“œ File high capacity color barcode.md by @an_agora@twitter.com β˜† πŸ“Ž
πŸ“š Agora node [[hourofcode]] (pulled by the Agora)
πŸ“œ File HourOfCode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“š Agora node [[infrastructure as code]] (pulled by the Agora)
πŸ“œ File infrastructure-as-code.md by @neil β˜† πŸ“Ž οΈπŸ”— ✍️

Infrastructure as codeΒ§

πŸ“š Agora node [[introcode]] (pulled by the Agora)
πŸ“œ File 04 - Documentation technique/introcode.md by @communecter β˜† πŸ“Ž

Introduction au code sourceΒ§

N’ayez pas peur ! Le code est Γ©crit de maniΓ¨re accessible afin que vous puissiez y contribuer facilement. Si vous Γͺtes Γ  l’aise avec les mΓ©thodes plus β€œstandard” dans l’industrie, il est possible de coder de votre cΓ΄tΓ© et de communiquer via l’API.

Les discussions publiques de l’Γ©quipe de dΓ©veloppeur se font dans le canal #codev_open.

Ressources pour dΓ©buterΒ§

ArchitectureΒ§

Le motif utilisé est le classique Modèle-vue-contrôleur. Une grosse partie du code se trouve dans le dépôt CO2 de notre Gitlab, tandis que citizenToolKit gère plutôt le backend.

πŸ“œ File en/04 - Documentation technique/introcode.md by @communecter β˜† πŸ“Ž

Introduction au code sourceΒ§

N’ayez pas peur ! Le code est Γ©crit de maniΓ¨re accessible afin que vous puissiez y contribuer facilement. Si vous Γͺtes Γ  l’aise avec les mΓ©thodes plus β€œstandard” dans l’industrie, il est possible de coder de votre cΓ΄tΓ© et de communiquer via l’API.

Les discussions publiques de l’Γ©quipe de dΓ©veloppeur se font dans le canal #codev_open.

Ressources pour dΓ©buterΒ§

ArchitectureΒ§

Le motif utilisé est le classique Modèle-vue-contrôleur. Une grosse partie du code se trouve dans le dépôt CO2 de notre Gitlab, tandis que citizenToolKit gère plutôt le backend.

πŸ“š Agora node [[invitecode]] (pulled by the Agora)
πŸ“œ File invitecode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“š Agora node [[jab code]] (pulled by the Agora)
πŸ“œ File jab code.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️
πŸ“œ File jab code.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File jab code.md by @an_agora@twitter.com β˜† πŸ“Ž
πŸ“š Agora node [[learntocode]] (pulled by the Agora)
πŸ“œ File learntocode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File LearnToCode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“š Agora node [[maxicode]] (pulled by the Agora)
πŸ“œ File maxicode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File maxicode.md by @an_agora@twitter.com β˜† πŸ“Ž
πŸ“š Agora node [[morse code]] (pulled by the Agora)
πŸ“œ File Morse code.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File Morse code.md by @anagora.bsky.social β˜† πŸ“Ž
πŸ“œ File Morse code.md by @flancian@social.coop β˜† πŸ“Ž
πŸ“š Agora node [[nocode]] (pulled by the Agora)
πŸ“œ File NoCode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“š Agora node [[public money public code]] (pulled by the Agora)
πŸ“œ File public-money-public-code.md by @neil β˜† πŸ“Ž οΈπŸ”— ✍️

Public Money, Public CodeΒ§

We want legislation requiring that publicly financed software developed for the public sector be made publicly available under a Free and Open Source Software licence. If it is public money, it should be public code as well.

πŸ“š Agora node [[qr code]] (pulled by the Agora)
πŸ“œ File qr code.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️
πŸ“œ File qr code.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File qr code.md by @flancian@social.coop β˜† πŸ“Ž
πŸ“š Agora node [[qrencode]] (pulled by the Agora)
πŸ“œ File qrencode.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️

QrencodeΒ§

  • apt-get install qrencode
  • qrencode "text or url" -o qr.png
πŸ“š Agora node [[resist regulate recode]] (pulled by the Agora)
πŸ“œ File resist-regulate-recode.md by @neil β˜† πŸ“Ž οΈπŸ”— ✍️

resist, regulate, recodeΒ§

See [[Platform socialism]].

πŸ“œ File resist-regulate-recode.md by @patterning β˜† πŸ“Ž
  • I found this node on [[2025-09-05]] after an adventure with [[Ishmael]] in [[BMI]].
  • [[neil]]‘s nodes are the best IMHO!
πŸ“œ File stoa-test-2/resist-regulate-recode.md by @agora β˜† πŸ“Ž
  • I found this node on [[2025-09-05]] after an adventure with [[Ishmael]] in [[BMI]].
  • [[neil]]‘s nodes are the best IMHO!
πŸ“œ File stoa-test/resist-regulate-recode.md by @agora β˜† πŸ“Ž
  • I found this node on [[2025-09-05]] after an adventure with [[Ishmael]] in [[BMI]].
  • [[neil]]‘s nodes are the best IMHO!
πŸ“œ File resist-regulate-recode.md by @anonymous@doc.anagora.org β˜† πŸ“Ž ✍️
  • I found this node on [[2025-09-05]] after an adventure with [[Ishmael]] in [[BMI]].
  • [[neil]]‘s nodes are the best IMHO!
πŸ“š Agora node [[swiss wiring code]] (pulled by the Agora)
πŸ“œ File swiss wiring code.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️

Swiss Wiring CodeΒ§

πŸ“š Agora node [[unicode]] (pulled by the Agora)
πŸ“œ File unicode.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️
πŸ“œ File Unicode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File unicode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File unicode.md by @an_agora@twitter.com β˜† πŸ“Ž
πŸ“š Agora node [[visual studio code]] (pulled by the Agora)
πŸ“œ File Visual Studio Code.md by @bunnynabbit β˜† πŸ“Ž οΈπŸ”— πŸ€—

ExtensionsΒ§

Extensions that I use.

FormattingΒ§

Audible editorΒ§

I enjoy sound feedback in software. There are extensions that enable this. Some of them seem to be based on the play-sound [[npm]] package. play-sound performs poorly on a default Windows setup but adding MPlayer to PATH helps to prevent the media player from opening.

  • TypaTone (Keyboard sounds). Based on TypaTone.
    MPlayer has a quirk when playing back sounds shorter than one second when invoked from Node.js. I’m not sure why this happens, but it does Γ¦ffect playback of sounds from this extension. This cause sounds to loop forever until manually killed. My workaround is to manually edit the extension after installation and pad out Γ¦ffected sounds.
  • Sound Syntax.
  • Rainbow Fart.

Accessibility and signalsΒ§

Visual Studio Code has accessibility features. Signals are one of them. These are enabled when a screen reader is detected. However, there is a way to force them on, providing an audible experience regardless of whether a screen reader is being used.

In a configuration, an enabled set of signals look like this:

{
	"accessibility.signalOptions.volume": 100,
	"accessibility.signalOptions.debouncePositionChanges": false,
  	"accessibility.signals.save": { "sound": "userGesture" },
	"accessibility.signals.format": { "sound": "always" },
	"accessibility.signals.lineHasError": { "sound": "on" },
	"accessibility.signals.lineHasWarning": { "sound": "on" },
	"accessibility.signals.lineHasFoldedArea":  { "sound": "on" },
}

There are way more signals. Type in β€œaccessibility.signals” and let it autocomplete the rest.

πŸ“š Agora node [[vs code]] (pulled by the Agora)
πŸ“œ File Programming/Tools/VS Code.md by @KGBicheno β˜† πŸ“Ž

Best practice with VS CodeΒ§

πŸ“š Agora node [[vscode]] (pulled by the Agora)
πŸ“œ File vscode.md by @flancian β˜† πŸ“Ž οΈπŸ”— ✍️

VscodeΒ§

πŸ“œ File VSCode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File vscode.md by @agora@botsin.space β˜† πŸ“Ž
πŸ“œ File vscode.md by @an_agora@twitter.com β˜† πŸ“Ž
πŸ“œ File vscode.md by @anagora.bsky.social β˜† πŸ“Ž
πŸ“œ File vscode.md by @anagora@matrix.org β˜† πŸ“Ž
πŸ“œ File vscode.md by @flancian@social.coop β˜† πŸ“Ž
  • [[2023-01-12 00:34:31+00:00]] @[[flancian@social.coop]] https://social.coop/@flancian/109673425881069622:
    • [[vscode]] just crashed on me hard while I was editing a file.

      Honestly I know it’s not cool but this is why I personally keep coming back to just coding on vim/nvim. They don’t leave you hanging. In particular I can’t remember a single time [[vim]] crashed on me in 20 years, even while using lots of plugins.

  • [[2024-10-22 23:05:07+00:00]] @[[flancian@social.coop]] (link):
    • I sort of can’t believe that [[vscode]] ships in a state in which it tries to “helpfully” auto-close brackets, quotes, tags for you. It is ~never what I want personally.

      To disable:

      - ctrl+, to open settings
      - search for autoclosing
      - disable to your heart’s intent

      Enjoy if this is your kind of thing :)

πŸ“š Agora node [[why do i code]] (pulled by the Agora)
πŸ“œ File Inbox/2026-05-26/Why do I code.md by @bunnynabbit β˜† πŸ“Ž οΈπŸ”— πŸ€—

Why do you code?

It depends on what it means to "code.".

I’ve started various projects. Zhe ones public on GitHub are somewhat organized https://github.com/BunnyNabbit?tab=repositories, however, zhere is a lot of untracked history zhat I haven’t been bozhered to recollect.
I like maintaining open source projects and I zhink zhat [[programming]] is a creative work. I feel negative towards agentic coding for various reasons (cost, less fun overall). Actually, I zhink zhat coding is fun, zhat [[I know what my code did]], how I could solve problems. Agentic coding takes zhat away, haven’t turned to it since.
However, coding can be unfun. Technical debt can take a big toll on zhe maintainer. Many of my earlier projects fell victim of poor [[structuring]]/coding practices (keeping everyzhing in a single file, for example.).

For projects, zhough. I’m a bit on a rough spot of what to contribute lately.

  • starting a project for people to use (i.e.: a game), is really tough to get any sort of attention.

Pretty cool stuff