obsolete

Are IFrames (HTML) obsolete? [closed]

冷暖自知 提交于 2020-01-08 16:01:22
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Getting contradictory messages about that, hope they're not. I cannot imagine support for it would stop, since a gazillion sites use

What the OpenGL coordinates are? Ignore OpenGL window size

你离开我真会死。 提交于 2020-01-03 05:37:09
问题 I just started trying to folow simple "draw cube" openGl tutorial. After final victory over getting OpenGL to work, I still have very veird results. My problem is that the objects tend to resize themselves to match the window size. Instead, I'd like the window size determine the rendering area - the larger the window is, the more you may see. Here are some screenshots of the resizing : Normal size Resized Images kept as links intentionally! This auto-resizing behavior brings a question what

Which functions from the standard library must (should) be avoided?

依然范特西╮ 提交于 2019-12-27 11:02:04
问题 I've read on Stack Overflow that some C functions are "obsolete" or "should be avoided". Can you please give me some examples of this kind of function and the reason why? What alternatives to those functions exist? Can we use them safely - any good practices? 回答1: Deprecated Functions Insecure A perfect example of such a function is gets(), because there is no way to tell it how big the destination buffer is. Consequently, any program that reads input using gets() has a buffer overflow

Status of Attributes: Deprecated or Obsolete?

最后都变了- 提交于 2019-12-23 09:37:21
问题 I am new to HTML 5 and I have problems to find out in the diverse W3 HTML standardization documents to obtain the status of an attribute. For example, the bgcolor attribute of the <body> element should not be used any longer since HTML 4.01. It was deprecated. (see: http://www.w3.org/TR/html4/present/graphics.html#h-15.1.1). However what is it's status in HTML 5? In the HTML markup specification that attribute is marked as obsolete (see: http://www.w3.org/TR/html-markup/body.html). Does this

Prevent other developers using base methods within a class

风格不统一 提交于 2019-12-23 08:18:09
问题 I have a class that uses filesystem entities to manipulate data. We have several methods specifically designed to (attempt to) cope with some of the issues we face with this approach (file locking, non-existent files, etc.). Ideally I'd like to be able to issue a warning if another developer attempts access the filesystem directly via System.IO rather than using the helper methods. Is this possible? The behaviour I'm looking for is to effectively mark methods such as File.ReadAllText() as if

Prevent other developers using base methods within a class

本秂侑毒 提交于 2019-12-23 08:18:08
问题 I have a class that uses filesystem entities to manipulate data. We have several methods specifically designed to (attempt to) cope with some of the issues we face with this approach (file locking, non-existent files, etc.). Ideally I'd like to be able to issue a warning if another developer attempts access the filesystem directly via System.IO rather than using the helper methods. Is this possible? The behaviour I'm looking for is to effectively mark methods such as File.ReadAllText() as if

Why are C# collection-properties not flagged as obsolete when calling properties on them?

大城市里の小女人 提交于 2019-12-18 07:34:22
问题 I tried to flag a collection property on a class as Obsolete to find all the occurances and keep a shrinking list of things to fix in my warning-list, due to the fact that we need to replace this collection property with something else. Edit : I've submitted this through Microsoft Connect, issue #417159. Edit 16.11.2010 : Verified that this now works in the C# 4.0 compiler, both when compiling for .NET 3.5 and 4.0. I get 4 warnings in the posted code, including the one with the comment "Not

Hide Javascript Code to Older Browser

大憨熊 提交于 2019-12-13 19:14:08
问题 Well I think this is kinda dumb but, I wonder if there's any way to hide Javascript code from older browsers without affecting the code for modern browsers. Yes I know there's the <noscript></noscript> tag to show a message for older browsers, but sometimes very old browsers for any reason show the JS code as text if is not recognized. I hope you understand. 回答1: <script> <!-- Your code here //--> </script> 来源: https://stackoverflow.com/questions/11354453/hide-javascript-code-to-older-browser

CSS 3.0 user-select property replacement

谁说胖子不能爱 提交于 2019-12-13 12:58:53
问题 I am using CSS 3.0 and it is complaining that the "user-select" property doesn't exist. Does anyone know what the appropriate substitute or replacement is? 回答1: There doesn't appear to be one. user-select was defined as part of User Interface for CSS3, which was later superseded by CSS3 Basic User Interface Module. However, the latter document does not include specification of user-select . After searching recently, I was unable to find any discussion on why it might have been removed from

Annotating methods with no implementation

て烟熏妆下的殇ゞ 提交于 2019-12-13 00:36:04
问题 In the interest of clean and beautiful code, I've been looking for an answer to a question that's popped up whist documenting my latest project. Often times, there will be an abstract class or interface with methods requiring implementation; and occasionally, the class inheriting these methods have other specific and unique methods which make those inherited obsolete, and thus never referenced. To avoid adding functionality where functionality is not used, I've left these obsolete inherited