deprecation

How to create and use a multi-dimensional Array in Scala 2.8

Hello everyone, in Scala 2.8 how do I create an array of multiple dimensions? For example I want an integer or double matrix, something like double[][] in java. I know for a fact that arrays have changed in 2.8 and that the old arrays are deprecated, but are there multiple ways to do it now and if yes, which is best? Hoping for quick ...

gluPerspective was removed in OpenGL 3.1, any replacements?

I'm trying to read some OpenGL tutorials on the net. the problem is that I found some old ones that use gluPerspective(). gluPerspective was deprecated in OpenGL 3.0 and removed in 3.1. What function can I use instead? I'm using C++ with latest FreeGlut installed. ...

Silencing Deprecation warnings in Rails 3

Can anyone tell me how to silence deprecation warinings in Rails 3? I have a few situations where it is throwing false positives. Namely using - for loops in haml and f.error_messages from the dynamic_form plugin. Thanks ...

Why were most java.util.Date methods deprecated?

When you look at the javadoc of the java.util.Date class, most of the methods are deprecated. Why was this done? ...

How do you suppress Python DeprecationWarnings on Linux Terminal?

I installed i18ndude (an internationalization utility to be used in Plone) using easy_install. When I try to run the utility i18ndude on my terminal, I get: /usr/local/lib/python2.6/dist-packages/i18ndude-3.1.2-py2.6.egg/i18ndude/odict.py:7: DeprecationWarning: object.__init__() takes no parameters dict.__init__(self, dict) How do ...

Deprecating ASP.NET Web Methods

I have some internal-facing ASP.NET web services that have had numerous API additions over the years. Some of the original web methods, while still available for consumption, have recommended replacements available. I would like to steer consuming clients toward using these new methods so I can retire and eventually remove their elders...

Keeping up with standards, new releases and deprecations

Hi, I want to know how programmers keep up with changes in a package or library. I usually go over the release notes. How to keep up with the standards and maintain good coding practices? Thanks Edit By "maintaining good coding practices" I mean is how to keep code efficient and optimized based on changes in the standard/release? For...

What problems arise if you use deprecated methods/functions in Java?

Do any problems arise because of using deprecated functions in Java?? If so, why do they keep this function?? Is it a bad habit if you use a deprecated method in Java like java.sql.Date.getMonth or getYear or getDate??? ...

Eregi() Deprecated php help?

I am recieving the error: Deprecated: Function eregi() is deprecated in C:\wamp\www\registration\class.register.php on line 75 with my code:: if(empty($this->email) || !eregi('^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]{2,4}$',$this->email)) What alternative should I use and how can I implement it???? ...

Trace source of deprecation warnings in rails tests

When running my functional tests, I'm getting the following warning in one of the test cases but I can't pinpoint where it's coming from: gems/actionpack-2.3.8/lib/action_controller/record_identifier.rb:76: warning: Object#id will be deprecated; use Object#object_id Unfortunately that's the only line of the backtrace that's shown, even...

nosetest deprecation warnings

I am getting deprecation warnings from nosetest for 3rd party modules imported by my code. Does anybody know how to silence these warnings? I know of the following flag which works for arbitrary python runs of the same code: python -W ignore::DeprecationWarning But, calling nosetest does not appear to offer me a similar flag to...

How do I flag a method as deprecated in Objective-C 2.0?

I'm part of a team developing a fairly large iPad app and there are many different classes we've created as a result. The trouble is some of the methods are now pretty much obsolete and I don't want simply remove them yet as I know some parts of the overall system use the methods... but there are better (newer) variants available which ...

Rails, Mongrel and deprecation warnings

Hi all! When I do script/server I don't seem to get any deprecation warnings. I know that I should at least be getting one about {{word}} in I18N. Can anyone point out where I can find them? Or how I can enable the deprecation warnings? Regards, Jacob ...

How can I mark a specific parameter as obsolete/deprecated in C#?

I would like to be able to keep a C# API the same as it is now, but simply deprecate one of the parameters in a method call. Is it possible to do so, or do I need to create a new method without the parameter and mark the original one as Obsolete? ...

Java on Mac OS X Server: game over?

As a developer currently working on a Web app that uses a Java/Tomcat backend, the recent announcement by Apple to deprecate Java is causing me some consternation. Mainly because I'm planning on hosting this Web app on Mac OS X Server (already on 10.5, soon to be on 10.6). From http://www.appleoutsider.com/2010/10/22/java/: Since th...