There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

hblaub , in My poor RAM...

Please don’t eat my RAM. I need it for mining MemoryCoin ™.

explodicle ,

(Not FUD, legit curious)

Is there any way to make RAM production significantly greener than it is today?

amanneedsamaid , in Markdown everywhere

Me but org-mode.

marcos ,

Isn’t org-mode compatible with markdown?

amanneedsamaid ,

Org-mode can be exported to many different languages (markdown, HTML, LaTeX) via org-export.

If you’re asking whether org mode uses all the same syntax of markdown (which would make them 1:1 compatible) it does not.

For instance, “headline” in org mode is “*”, whereas in markdown a top level heading is “#”.

marcos ,

Oh, it’s a headline? I always treated it like an item.

Now it makes more sense that emacs insists on collapsing them.

amanneedsamaid ,

Yeah, org-mode prefers using " - " and numbered lists as items. (Although they are also collapsible)

verstra , in Markdown everywhere

This is the way.

Almost completely pure way of storing ideas. With this I mean that you don’t store unnecessary data such as “background should be white” or “left page margin is 1.3cm”. It’s just text. What’s important is what it says + minimal markup.

Presentation is left to the reader’s client. Do you want dark mode? Get a markdown editor/reader that supports it. Do you want serif font? Again, that’s client’s choice and not part of the document.

I wish browsers would support markdown out of the box, so you could open example.com/some-post.md

jadero ,

Old fart warning!

Presentation is left to the reader’s client. Do you want dark mode? Get a markdown editor/reader that supports it. Do you want serif font? Again, that’s client’s choice and not part of the document.

I remember when that is how the web worked. All that markup was to define the structure of the document and the client rendered it as set by the user.

Some clients were better than others. My favourite was the default browser in OS/2 Warp, which allowed me to easily set the display characteristics of every tag. The end result was that every site looked (approximately) the same, which made browsing so much nicer, in my opinion.

Then someone decided that website creation should be part of the desktop publishing class (at least at the school I taught at). The world (wide web) has never recovered.

ShortFuse ,

We’re kinda getting it back with the Accessibility tree

In theory, if the page is compiled right, you can read everything right from there. You could also interact with it.

jadero ,

Thanks. This is the first I’ve heard of the Accessibility tree. A quick look kind of spooked me, but I’ll dig deeper.

OffByOneError ,

Looks kind of simple to me at first glance…

There are four properties in an accessibility tree object:

name

How can we refer to this thing? For instance, a link with the text “Read more” will have “Read more” as its name (find more on how names are computed in the Accessible Name and Description Computation spec).

description

How do we describe this thing, if we want to provide more description beyond the name? The description of a table could explain what kind of information the table contains.

role

What kind of thing is it? For example, is it a button, a nav bar, or a list of items?

state

Does it have a state? Examples include checked or unchecked checkbox states and collapsed or expanded states for the <summary> element.

developer.mozilla.org/en-US/…/Accessibility_tree</summary>

jadero ,

Looks kind of simple to me at first glance…

Well, it has been a decade since I’ve done anything other than dig holes (literally), drive school buses, and work in my shop. :)

Thanks for the jump start. I’ll add this to my ever growing list of tech stuff I’d like to tackle in my retirement.

ShortFuse ,

You can use Dev Tools to see a page’s full accessibility tree:

Chrome: developer.chrome.com/…/full-accessibility-tree/#f…

Firefox: …mozilla.org/…/accessibility_inspector/-…

I haven’t really looked for anything that will present that to you as an Add-On/Extension but it’s theoretically possible.

jadero ,

Ok, thanks! That looks like a good start for me.

We’re getting closer to winter. I’ve got most of those preparations done. “Just” have to finish building the heater for my shop. My programming based project list is coming together: learn me some Rust, contribute some documentation to a project I’m following, look deeper into the potential of the Accessibility tree. That should keep me busy for a while!

KrokanteBamischijf ,

It’s a simple and elegant way of covering 95% of document structuring needs, while being as close to readable plaintext as possible.

The vast majority of documents currently written in MS-word could just be markdown. The vast majority of web content could just be markdown. This would save the modern world petabytes of XML bloat.

If you need something fancier, either use a vector format or do fancy client-side styling.

space , in My poor RAM...

Main difference is the electron app has access to more things on your computer, like files, sensors, microphone, camera etc.

mwguy , in Markdown everywhere

They’ll find us soon

Thanos with Restructured Text and Sphinx

Travesty ,

You mean thanos.io?

mwguy ,

than.os

nosurprises , in Markdown everywhere

True that. A react library handles the rendering.

Lizard , in Markdown everywhere

Password manager? Hm…

docAvid ,

Not markdown but same spirit: www.passwordstore.org

NightAuthor ,

AES encrypted by hand, and then… .md files on GitHub

Chobbes ,

Artisanally woven substitution-permutation networks.

reverendsteveii , in Imagine

cowsay “Like, subscribe and ringadingding that bell for more!”

Asudox ,

<span style="color:#323232;">________________________________________
</span><span style="color:#323232;">/ Like, subscribe and ringadingding that 
</span><span style="color:#323232;"> bell for more!                         /
</span><span style="color:#323232;"> ----------------------------------------
</span><span style="color:#323232;">           ^__^
</span><span style="color:#323232;">           (oo)_______
</span><span style="color:#323232;">            (__)       )/
</span><span style="color:#323232;">                ||----w |
</span><span style="color:#323232;">                ||     ||
</span>
reverendsteveii ,

Time for me to learn how to build a Lemmy bot, it seems

VonReposti ,

Hate it when it happens

JoYo , in After 6 hours
@JoYo@lemmy.ml avatar

sometimes it is the unit tests.

CubitOom , in Markdown everywhere

Emacs gang here, coughing in org-mode.

ilovegodette , in Imagine

KILL SELF

SUDO !!

h_a_r_u_k_i , in Markdown everywhere
@h_a_r_u_k_i@programming.dev avatar

Markdown is good. I use it when working in the company since the format is ubiquitous. I do writing my blog posts with Markdown (Hugo for the curious).

But personally, or working with a bit more niche team, for writing personal documentation I prefer Asciidoc [0]. It has better syntax and have some nice functionalities like Table of Contents.

For personal notes, nothing can surpass Org Mode [1].

[0] asciidoc.org

[1] orgmode.org

morrowind ,
@morrowind@lemmy.ml avatar

Yeah asciidoc is really cool, I wish it was better supported.

Same with asciimath (are they related? )

funkless_eck ,

doesn’t Markdown have a TOC function if you have at least 2 headings?

sbstp ,

Unfortunately there’s no way to have a generated TOC within the page itself. It’s usually in a sidebar or something like that.

lambalicious , in Markdown everywhere

Eh, while Markdown is nice I think Dokuwiki’s syntax is infinitively better for any kind of text that ends up involving programming code. It also has a header syntax that makes sense, albeit rather cumbersome. And it also makes a proper distinction between italics and underline which are two different, standard typographical effects and not the same thing as Markdown seems to believe; and between ordered and unordered lists (let alone nested lists).

Just about the only bad thing is I haven’t been able to find an editor that supports it. Probably because, to my knowledge, no self-standing / independent renderer exists for it (the parser and renderer seem to be tightly integrated into the content manager).

MonkderZweite , in Markdown everywhere

Yes?

sndrtj , in Imagine

Since this week I get some form of ad in the github diff viewer. “Copilot is available for purchase for you organization”. Horrible.

qwop ,

Yeah they’ve put them in a couple places, It’s pretty bad. Had to work out how to create a custom uBlock Origin rule to block them.

vox ,
@vox@sopuli.xyz avatar

there’s a dismiss button under the hamburger menu right next to it, it removes all of these copilot ads permanently.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines