You must be too young to remember the months out of date mess that was the typical Windows system back in the XP days. Forget “I don’t have the latest service pack” it was more “I am still vulnerable to a two year old “zero day”!”
- 0 Posts
- 35 Comments
Why are we using magic strings for behavior?
KairuByte@lemmy.dbzer0.comto
Programmer Humor@programming.dev•You can do anything at Zombocom
731·2 months agoYou can’t parse [X]HTML with regex. Because HTML can’t be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool that is insufficiently sophisticated to understand the constructs employed by HTML. HTML is not a regular language and hence cannot be parsed by regular expressions. Regex queries are not equipped to break down HTML into its meaningful parts. so many times but it is not getting to me. Even enhanced irregular regular expressions as used by Perl are not up to the task of parsing HTML. You will never make me crack. HTML is a language of sufficient complexity that it cannot be parsed by regular expressions. Even Jon Skeet cannot parse HTML using regular expressions. Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp. Parsing HTML with regex summons tainted souls into the realm of the living. HTML and regex go together like love, marriage, and ritual infanticide. The <center> cannot hold it is too late. The force of regex and HTML together in the same conceptual space will destroy your mind like so much watery putty. If you parse HTML with regex you are giving in to Them and their blasphemous ways which doom us all to inhuman toil for the One whose Name cannot be expressed in the Basic Multilingual Plane, he comes. HTML-plus-regexp will liquify the nerves of the sentient whilst you observe, your psyche withering in the onslaught of horror. Rege̿̔̉x-based HTML parsers are the cancer that is killing StackOverflow it is too late it is too late we cannot be saved the transgression of a chi͡ld ensures regex will consume all living tissue (except for HTML which it cannot, as previously prophesied) dear lord help us how can anyone survive this scourge using regex to parse HTML has doomed humanity to an eternity of dread torture and security holes using regex as a tool to process HTML establishes a breach between this world and the dread realm of c͒ͪo͛ͫrrupt entities (like SGML entities, but more corrupt) a mere glimpse of the world of regex parsers for HTML will instantly transport a programmer’s consciousness into a world of ceaseless screaming, he comes~~, the pestilent sl
ithy regex-infection will devour your HTML parser, application and existence for all time like Visual Basic only worse he comes he comes do not fight he com̡e̶s, ̕h̵is un̨ho͞ly radiańcé destro҉ying all enli̍̈́̂̈́ghtenment, HTML tags lea͠ki̧n͘g fr̶ǫm ̡yo͟ur eye͢s̸ ̛l̕ik͏e liquid pain, the song of re̸gular expression parsingwill extinguish the voices of mortal man from the sphere I can see it can you see ̲͚̖͔̙î̩́t̲͎̩̱͔́̋̀ it is beautiful the fes he co~~inal snuffing of the lies of Man ALL IS LOŚ͖̩͇̗̪̏̈́T A*LL IS LOST the pon̷y he come*s he c̶̮ommes the ichor permeates all MY FACE MY FACE ᵒh god no NO NOO̼*OO NΘ stop the an*̶͑̾̾̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̟̍ͫͥͨ*e̠̅s͎a̧͈͖r̽̾̈́͒͑enot rè̑ͧ̌aͨl̘̝̙̃ͤ͂̾̆ ZA̡͊͠͝LGΌ ISͮ̂҉̯͈͕̹̘̱ TO͇̹̺ͅƝ̴ȳ̳ TH̘Ë͖́̉ ͠P̯͍̭O̚N̐Y̡ H̸̡̪̯ͨ͊̽̅̾̎Ȩ̬̩̾͛ͪ̈́̀́͘ ̶̧̨̱̹̭̯ͧ̾ͬC̷̙̲̝͖ͭ̏ͥͮ͟Oͮ͏̮̪̝͍M̲̖͊̒ͪͩͬ̚̚͜Ȇ̴̟̟͙̞ͩ͌͝S̨̥̫͎̭ͯ̿̔̀ͅ
Tap for spoiler
I’m guessing the prof would say “if you cant put your finger in, rape isn’t real” then like, put the glass in his pocket or fend them off.
Bring in a toy gun and say “let me put my finger in or I’ll shoot you” to prove that rape is real.
Just release in debug mode, problem solved.
O.o Why is your assumption that a multi user system isn’t running windows?
I mean, there are many ISPs out there that don’t provide a static. You can easily end up with a very for an IP you don’t currently have control over.
I host a GameVault server with a largeish number of games, but the people who use the server span the entirety of the globe. The number of people isn’t huge, but serving a 100GB file to SEA from the US just isn’t going to be a good time for anyone involved.
I mean, I don’t use it for DDOS protection. I use it as a cdn, which is something I absolutely cannot self host. At least not on a budget.
Still on Reddit I believe.
There’s definitely some upcharge in there. .coms at cloudflare are $10.46 for instance.
I mean yeah, vanity tdl’s cost more. What about .coms or .nets, or .orgs?
The only questionable stuff I do is stream game files and Stremio over it. Though the game files are “supported” because they come from backblaze I guess?
What’s the average increase? Because if it’s $0.05 I don’t think this is concerning.
Yeah this is why I don’t get the selfhosting communities dislike of cloudflare. Most of the free stuff they give you, you can’t hope to self host. And the stuff you can, you are still free to. There’s the chance they turn on us in the future, but for now they seem pretty reliable.
Now if it’s a dislike of centralization to a single company? I can understand that.
I miss SrGrafo…
To be clear, webp isn’t even a lossy format. I mean, it can be, but it can also be lossless.
Cloudflare zero trust apps allow webp images on initial creation, then arbitrarily disallow webp on edit. You can’t edit until you replace the image you already uploaded, and the system accepted.

I do find it a little amusing the people complain about things that are (an admittedly advanced) config away from being the way they want. As if Linux doesn’t have settings buried in a similar way to registry changes.