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.

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

sometimes it is the unit tests.

reverendsteveii , in Imagine

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

Asudox ,
@Asudox@lemmy.world avatar

<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

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.

nosurprises , in Markdown everywhere

True that. A react library handles the rendering.

mwguy , in Markdown everywhere

They’ll find us soon

Thanos with Restructured Text and Sphinx

Travesty ,

You mean thanos.io?

mwguy ,

than.os

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.

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.

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)

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?

massive_bereavement , in Markdown everywhere
@massive_bereavement@kbin.social avatar

Discovering obsidian has been a blessing for my sanity and made me less lazy for taking notes.

Plus I can use latex to transform md into docx and there's decent pdf support so I don't need to play with the circus of WYSIWYG pain that's MS Word.

TrustingZebra ,

I keep meaning to check out Obsidian, but I’m like you said, lazy.

arandomthought ,

Hi. This is your push to do it.
Download it and start a video tutorial of your choosing.
It’s great! Do it!

TrustingZebra ,

Lol thanks, I appreciate the push. I have more important things to be pushed towards though, such as work and personal tasks.

massive_bereavement ,
@massive_bereavement@kbin.social avatar

Be lazier! I believe in you.

FlexibleToast ,

I have obsidian installed, but I haven’t really looked into how to use it. It has been on my list of things I should probably learn for a long time now

Nioxic ,

I am probably just an idiot but i find writing proper notes with links etc very tedious, in obsidian.

So i end uo just typing everything into a few documents based on the doc title. Which means i might as well just use notepad

FlexibleToast ,

I was using MarkText and a fairly structured set of directories. I switched to Bookstack which allows me to do essentially the same thing but with a web interface and the ability to share with even using RBAC. It doesn’t do the cool linking stuff though.

beppi ,

Sounds like you need to check out Org-roam (if you use emacs) or some other zettelkasten style note taking software

SkinnyTimmy ,

Randomly seeing German compound-words in the wild being used as a technical term is always funny to me for some reason

IlIllIIIllIlIlIIlI ,

Change Obsidian to Zettlr.

massive_bereavement ,
@massive_bereavement@kbin.social avatar

I think the use cases are different, as Zettlr seems like a pure publication tool but Obsidian (at least originally) was more of a personal note organizer that grew due to having community plugins.

I do agree though that Zettlr is a better publication tool, though I wouldn't change Obsidian for it as a personal organizer/kb.

drislands ,

Obsidian is what I used to keep my notes while playing Book of Hours. It was a fantastic tool and I’ll definitely use it in the future!

massive_bereavement ,
@massive_bereavement@kbin.social avatar

How's the Book of Hours? I played a good deal of Cultist Simulator, but it tends to suck me in and I recover few hours later without an understanding what just happened.

drislands ,

I finished my playthrough a couple days ago, after 80 hours. It’s much more forgiving than CS – there’s no lose condition, as far as I can tell. There’s also a shitload more to keep track of, hence me using Obsidian. I personally found the experience of tracking [what books give what resource] and [what resources make what crafting recipes] to be extremely satisfying, but your mileage may vary.

cyberic ,
@cyberic@discuss.tchncs.de avatar

Pandoc is also great!

massive_bereavement ,
@massive_bereavement@kbin.social avatar

Definitely, I said latex but I wanted to mean Pandoc.
The only thing is that applying a docx theme format to Pandoc was very challenging, although I would blame docx, not pandoc.

jdeath , in Markdown everywhere

this is the way

pomodoro_longbreak , in After 6 hours
@pomodoro_longbreak@sh.itjust.works avatar

Oof I am here right now, which is why I’m procrastinating on socials…

Semi-Hemi-Demigod , in Markdown everywhere
@Semi-Hemi-Demigod@kbin.social avatar

Whoever made Jira's markup syntax: Straight to jail.

mp3 ,
@mp3@lemmy.ca avatar

Same for Google Chat

TrustingZebra ,

The thing I dislike most about Atlassian products is that each of them has a completely different formatting engine and markup syntax. You’d think they’d be consistent but noooo

Semi-Hemi-Demigod ,
@Semi-Hemi-Demigod@kbin.social avatar

Thankfully these days I spend most of my time in Confluence, which supports Markdown

TrustingZebra ,

Both Bitbucket and Confluence partially support Markdown, but they implement it in different ways, which is maddening.

CountVon ,
@CountVon@sh.itjust.works avatar

Atlassian doesn’t even have consistency within single products! I’m using Jira Cloud at work, and while most fields support markdown (e.g. three backticks to start a code block) there are a few that only support Jira’s own notation (e.g. {code} to start a code block). It’s always infuriating when I type some markdown in one of the fields that doesn’t support it for some inexplicable reason.

Potatos_are_not_friends ,

In Confluence… the same emojis look different on page title on the sidebar vs the body. Two different font families.

It’s incredible.

sznio ,

Try to do any formatting more complex than none at all in Confluence. It just gets polluted with invisible markup and changes styling randomly.

SittingWave ,

The thing I dislike about Atlassian is everything from Atlassian

gravitas_deficiency ,

Jira Developers: for the love of god can we PLEASE stop trying to shoehorn literally fucking everything into our platform?

Jira PMs: slaps roof this bad boy can fit so much scope creep

brlemworld ,

Whoever made Jira~~'s markup syntax~~: Straight to jail.

poVoq , in Markdown everywhere
@poVoq@slrpnk.net avatar

Wait until you learn about Org-mode.

keegomatic ,
@keegomatic@kbin.social avatar

I’m vaguely aware of Org-mode but only as an alternative to Markdown. Last time I looked into it, though (years ago), Markdown seemed like a much better option for me for various reasons. Do you have a good argument for why Org-mode is a better choice for common use cases than the relatively universal GitHub-flavored Markdown?

poVoq ,
@poVoq@slrpnk.net avatar

Much better ToDo list system with calendar integration and notifications via mobile apps.

lupec ,

Do you happen to have more info on mobile integration? I can only find one or two apps which claim to support org-mode notes at all, so I’m interested. Kinda assumed it wasn’t much of a thing, honestly.

poVoq ,
@poVoq@slrpnk.net avatar
benneti ,

depending on what you do there are large benefits, for me they are executable code blocks (i.e. jupyter like experience) and way better latex support (if you type equations that are more involved this is rather important).

Chobbes ,

Org mode is great, particularly if you’re already in the Emacs ecosystem because it can do a lot of stuff. Calendars, executable code blocks, spreadsheets, time tracking, org-roam for more ad-hoc notes and searching, capture templates for ingesting data…

I like org mode’s markup format a lot better than markdown’s. It’s a bit easier to do complicated things with escaping and stuff, and it supports syntax highlighting for different languages in code blocks, and LaTeX markup and stuff (which it can even display inline if you want).

As far as I am concerned the only reason to use markdown is that more people are familiar with it and there’s better support for it on certain platforms. These are certainly good enough reasons to use markdown, but in my experience if you’re in the position to use org-mode it’s just so much better.

WorldieBoi , in Markdown everywhere

Code? .md files on GitHub

bananaw ,

I’ve been having trouble getting syntax highlighting to work on my ‘```’ fenced code blocks. I give it the right/supported language identifier, but nothing changes.

I’m using neovim with a bunch of lsp plugins and treesitter. Anyone have dotfiles with markdown code syntax highlighting working?

naught ,

Are u using Mason and LSPconfig?

edit: Oh, I don’t know that getting syntax highlighting in the blocks is something i’ve seen

ocelot ,

Have you installed the treeesitter grammars for those languages with :TSInstall language_name or in your treesitter config?

Slotos ,

This is pretty much all that’s needed. The language in the block is identified via a name that follows the opening triple backtick. E.g.:

python some carefully indented code

Haus ,
@Haus@kbin.social avatar

I'd go PostScript, since it's Turing-complete.

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