You can’t parse every html opening tag with regex, because a html opening tag doesn’t have a set structure. How would you match, with regex, this opening tag?
<mytag myattribute="<value of \"myattribute\">" >
- 0 Posts
- 19 Comments
It can’t be done, as an opening tag in html can contain anything in its attributes, even JavaScript (e.g. onclick handler).
moriquende@lemmy.worldto
Technology@lemmy.ml•"participants who had access to an AI assistant wrote significantly less secure code" and "were also more likely to believe they wrote secure code" - 2023 Stanford University study published at CCS23
9·1 year agonot that you should be copy pasting any significanct amount of code, but at least when you do you’re required to understand it enough to fit it into your program. LLMs just straight up camouflage the shit code by putting something that already fits and has no squiggly red lines beneath. Many people probably don’t bother reading it at that point.
moriquende@lemmy.worldto
Linux@lemmy.ml•One Of The Rust Linux Kernel Maintainers Steps Down - Cites "Nontechnical Nonsense"
18·1 year agolet’s not lose focus of what’s important here, and that is a room full of people hearing my voice and paying attention to me for as long as I manage to hold it
Some shows I really enjoyed in recent years:
- Arcane (amazing animation, world, and story - you don’t need to know anything about the game to enjoy it)
- Peaky Blinders (it’s finished and so good throughout)
- Travelers (also finished, extremely underrated)
- The Expanse (6 seasons of some of the best sci-fi ever)
- Stranger Things (ongoing but highly recommend)
- Beef (limited series so finished, so good)
- The Bear (very good, raw characters and emotions)
- Ted Lasso (no need to care for football, just extremely lovable characters and heartwarming story)
- Breaking Bad (if you haven’t watched this, it’s a must - best TV imo)
- The Last of Us (no need to know the game)
- Andor (best star wars since the original trilogy, mature, dark, and suspenseful)
They’re in no particular order, and I’m sure I’m forgetting a lot, but I definitely think all of the above are must watch.
Transluminum has a nice sound to it.
moriquende@lemmy.worldto
Linux@lemmy.ml•Linux holds more than 8% market share in India, and it's on the upward trend
2·2 years agoPeople will seriously believe anything just to feel superior. No wonder most people spewing bullshit like this are losers in dire need of feeling like they’re worth something.
100%. TDD is just not practicably applicable to a lot of scenarios and I wish evangelists were clearer on that detail.
Not sure why you focus on arrays for deep copying. Deep copying objects is a problem in many languages and brings some challenges with itself that make it almost always necessary to delegate it to a library.
Get this man some water.
I’m sorry but there’s just no way that anecdote is true. I refuse to believe it.
Client side logic is contained in markup, no custom JavaScript. Need server-side-rendering logic to return new markup to update a chunk of the page.
moriquende@lemmy.worldto
Asklemmy@lemmy.ml•What's some really unpopular opinion you have?
2·2 years agoThose are two different things. One is acknowledging uncontrolled inmigration is a negative thing for a country. The other one is not giving a shit because it’s more important to help people fleeing life threatening situations, even at the expense of one’s own privileged quality of life. At this point it’s important to note that rich countries’ quality of life is only made possible by unfair distribution of planetary resources and human exploitation of the same people being denied entry.
moriquende@lemmy.worldto
Asklemmy@lemmy.ml•What's some really unpopular opinion you have?
1·2 years agoPeople have different ideals. For some, a more fair distribution of resources is more important than rich fucks remaining rich fucks. Btw, any problem immigrants may cause is already being caused 1000x over by the absurdly rich.
moriquende@lemmy.worldto
Asklemmy@lemmy.ml•What's some really unpopular opinion you have?
24·2 years agoI think the downvotes are for the other opinions. Nobody denies that inmigration for the sake of inmigration is damaging for a country.
moriquende@lemmy.worldto
Asklemmy@lemmy.ml•What's some really unpopular opinion you have?
5·2 years agoWell, can you tell me why it would be a good thing?
moriquende@lemmy.worldto
Asklemmy@lemmy.ml•What's some really unpopular opinion you have?
9·2 years agoThis would only deter people who would otherwise plan a child. Those people tend to have fewer children in the first place and are more likely to take good care of them. I actually think the best approach to reducing the world’s population increase is a heavy investment in education including reproductive education, especially in poorer countries which are the ones still actually growing fast.
There is a place and a time to be loud.


The quote must not be escaped when you start with a single quote. The rest doesn’t. This is valid and tested:
<img alt='my "<img>"'>