[-] spartanatreyu@programming.dev 1 points 3 months ago

The first link is a totally different purpose than the second two.

The first link is going to there because that's the only graph view that github has.

[-] spartanatreyu@programming.dev 1 points 3 months ago

There are some tools/libraries that act as a front-layer over regex.

They basically follow the same logic as ORMs for databases:

  1. Get rid of the bottom layer to make some hidden footguns harder to trigger
  2. Make the used layer closer to the way the surrounding language is used.

But there's no common standard, and it's always language specific.

Personally I think using linters is the best option since it will highlight the footguns and recommend simpler regexes. (e.g. Swapping [0-9] for \d)

[-] spartanatreyu@programming.dev 1 points 4 months ago

Looking back at history, it would lead to more propaganda and more support for going to war.

A population getting attacked only leads to that population wanting to an us vs them mentality and emotional knee-jerk reactions over rational responses.

[-] spartanatreyu@programming.dev 1 points 4 months ago

At least it was better than the developer survey that was only about AI. That one still makes me facepalm just thinking about it.

[-] spartanatreyu@programming.dev 1 points 5 months ago

Because: "The dose makes the poison".

In other words, any chemical—even water and oxygen—can be toxic if too much is ingested or absorbed into the body. The toxicity of a specific substance depends on a variety of factors, including how much of the substance a person is exposed to, how they are exposed, and for how long.

[-] spartanatreyu@programming.dev 1 points 5 months ago

Asking just because I'm curious... why are you using xpath?

Also, is this for a website you control or for some else's website?

If you're rendering the page (in a browser, e2e test-runner, spider bot, etc...), have you considered running some js on the page to get the image? Something like: const imagePath = document.getElementById('exampleIdOnElement').style.backgroundImage

[-] spartanatreyu@programming.dev 1 points 5 months ago

Shouldn't you have an adblocker to block those scripts?

[-] spartanatreyu@programming.dev 1 points 5 months ago

Are you using the group policy editor?

[-] spartanatreyu@programming.dev 1 points 11 months ago* (last edited 11 months ago)

This is a great resources for css-grid newbies, but for a single page reference with all the info I need, I rely on: https://css-tricks.com/snippets/css/complete-guide-grid/

It's basically an online book on grid-css that takes a while to read through in it's entirety, but after doing it a few times you'll understand grid on a deeper level.

Once you understand the layout, you can quickly find what you're looking for. The rough rules for the site are:

  1. Content lives is accordions, hide what you don't want to see.
  2. The grid's container info is on the left column
  3. The grid item info is on the right column
[-] spartanatreyu@programming.dev 1 points 1 year ago

This really is a nice fun little intro to fragment shaders

[-] spartanatreyu@programming.dev 1 points 1 year ago

Bird's don't eat worms, they charge off secret buried worm-textured USB cables.

[-] spartanatreyu@programming.dev 1 points 1 year ago

The CommunityFactory is coming next week, and the CommunityFactoryFactory the following week :p

view more: ‹ prev next ›

spartanatreyu

joined 1 year ago