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.

zv0n , in Easy peasy

Why would you need autoscaling for the bastion server?

daniyyel ,

Autoscaling isn’t only used the grow the number of servers under load, but also to guarantee availability of a fixed number. If the max is set to 1, the bastion host is protected against hardware failure, zone outages, or just you screwing up. Accidentally killed your bastion host? No problem, within a few minutes autoscaling will have provisioned a new one and you’re good to go again.

Johanno , in Every Single Freaking Time

Use ctrl +shift +c to copy in terminal

Lmaydev ,

Just have to be different don’t they.

kaba0 ,

Or change copy to command+c… I’m gonna be honest, OSX is right here. And quite strangely it is very hard to customize your linux to imitate that.

kaba0 ,

Or change copy to command+c… I’m gonna be honest, OSX is right here. And quite strangely it is very hard to customize your linux to imitate that.

errer ,

Use ctrl +shift +c to copy in terminal

Ah yes the classic dangerous command made safe by a modifier key. Put the gun to your head and pull the trigger, just make sure you’re holding down the shift key and it’s all good!

Jakeroxs ,

It’s all good bro the shafty is on

Mr_Dr_Oink ,

This is how my secure crt is set up when im accessing switches. If i use ctrl+c it cancels what im doing and drops back to priv mode and its so frustrating.

TheWoozy ,

Or just left click to highlight & middle click to paste.

Albbi ,

Ctrl+insert to copy and shift+insert also works! It was the DOS way of doing it.

SuperIce ,

Or just highlight the text and use middle click to paste

Lazycog , (edited ) in It's a mass extinction event
@Lazycog@sopuli.xyz avatar

Wait what? What happens in jan 2024?

Edit: ah, unity’s new install based pricing.

turbodrooler ,

Unity drama

Lazycog ,
@Lazycog@sopuli.xyz avatar

Rip

tun , in The birth of JS

Approach the problem from different angle!

simonced , in incoming

set margin:auto to your div, and call it a day, no need of flex/grid whatever…

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.

TigrisMorte , in My poor RAM...

It isn't to save RAM the you should use the website over the app for.

xusontha OP , (edited )
QuazarOmega ,

I think they’re referring to the fact that often installed apps will be able to mine more of your data

Zeragamba ,
@Zeragamba@lemmy.ca avatar

that sounds like just plain old paranoia and fear mongering

QuazarOmega ,

I wish it were… But well, I guess I’ve been exposed to far too many privacy news articles, so I’m now paranoid too (with good reason)

fu ,

@Zeragamba @QuazarOmega just because something is paranoia doesn't mean it isn't true. Whenever I turn on the DuckDuckGo "VPN" to stop tracking by third party apps, I'm amazed at how many request are happening from apps I hardly use and many I don't expect (though I should know that something can still be open source Free Software and that the open code contains surveillance capitalsm tracking in order to fund the project)

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.

Swiggles , in incoming

Now do html mail!

FooBarrington ,

There is actually an approach which makes this reasonably easy: mjml.io

Swiggles ,

That’s actually cool. I have to remember it next time I have to deal with html mail.

FooBarrington ,

I’ll pray for you that it doesn’t come to that!

Knusper , (edited ) in incoming

I only do webdev occasionally and yeah, I’ve noticed this tendency that I want to put everything in a CSS grid. At this point, I’m worried I end up with a layout that’s about as responsive as the early-2000s table layouts. 🙃

adrian783 ,

grid and responsiveness are not antithetical. I mean the concept of grid had been around for like a decade, see bootstrap.

Knusper ,

Yeah, I’ve done responsive grids before. Problem is, I’m currently working on a single-page web music player and it’s so easy to just nail all the UI elements down. Like I might want to have the play button always appear to the left of the playback bar. But that obviously can’t reflow naturally on smaller screens. Although reflowing that example won’t look good either.

I guess, I’m still figuring out, if I ever actually want things to reflow. I might just need to define static rules, so that on a small screen, the play button should appear in a different grid cell, next to the previous/next buttons, for example…

Potatos_are_not_friends ,

Grid is made for responsive design.

If you’re not familiar with grid, stick with flex, which kinda just works but doesn’t have the strong control/structure as grid.

PoolloverNathan ,

It’s fine, my entire website is built on rock and roll grids.

alr , in Ya gotta keep up with the times!

You forgot “don’t say ‘thank you for pointing out that we were sending social security numbers to everyone who visits our website that anybody could stumble across,’ but rather ‘you will be prosecuted to the fullest extent of the law, hacker!’” Courtesy of the Missouri Department of Education.

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.

conorab , in Ya gotta keep up with the times!
PipedLinkBot ,

Here is an alternative Piped link(s):

piped.video/kRcdmbC0HHs?feature=shared

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I’m open-source, check me out at GitHub.

MonkderZweite , in Ya gotta keep up with the times!

You can do that in public announcements if you want to. I don’t do public announcements.

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)

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