abuse

What is the worst abuse you've seen of LINQ syntax? [closed]

回眸只為那壹抹淺笑 提交于 2020-01-01 02:48:26
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . On a recent Dot Net Rocks podcast, Jon Skeet mentioned possible abuses of LINQ syntax. What examples have people seen where crazy things are being done with LINQ? 回答1: It has to be a ray-tracer implemented in a single LINQ expression. Clever, beautiful, and scary all at the

remote image embeds: how to handle ones that require authentication?

好久不见. 提交于 2019-12-07 17:52:19
问题 I manage a large and active forum and we're being plagued by a very serious problem. We allow users to embed remote images, much like how stackoverflow handles image (imgur) however we don't have a specific set of hosts, images can be embedded from any host with the following code: [img]http://randomsource.org/image.png[/img] and this works fine and dandy... except users can embed an image that require authentication, the image causes a pop-up to appear and because authentication pop-ups can

remote image embeds: how to handle ones that require authentication?

若如初见. 提交于 2019-12-05 20:35:53
I manage a large and active forum and we're being plagued by a very serious problem. We allow users to embed remote images, much like how stackoverflow handles image (imgur) however we don't have a specific set of hosts, images can be embedded from any host with the following code: [img]http://randomsource.org/image.png[/img] and this works fine and dandy... except users can embed an image that require authentication, the image causes a pop-up to appear and because authentication pop-ups can be edited they put something like "please enter your [sitename] username and password here" and

What is the worst abuse you've seen of LINQ syntax? [closed]

拟墨画扇 提交于 2019-12-03 06:06:31
Closed . This question is opinion-based. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it can be answered with facts and citations by editing this post . On a recent Dot Net Rocks podcast , Jon Skeet mentioned possible abuses of LINQ syntax. What examples have people seen where crazy things are being done with LINQ? It has to be a ray-tracer implemented in a single LINQ expression . Clever, beautiful, and scary all at the same time! Jon Skeet Here are my own abuses - purely for the sake of having a laugh at a geek night, and