What do you call a method or library which is old and shouldn't be used anymore? - vocabulary

There has to be a name for this. I'm thinking degraded or unused (old isn't descriptive enough). Has anyone come up with something descriptive to call this?

Deprecated (in java) or Obsolete (in c#)

Deprecated

You should use: deprecated

Obsolete for .NET
http://msdn.microsoft.com/en-us/library/system.obsoleteattribute.aspx

Related

Solve deprecation about $this- get('twig')-> getextension('form')

I'm getting message like this in an application:
Referencing the "form" extension by its name (defined by getName()) is deprecated since 1.26 and will be removed in Twig 2.0. Use the Fully Qualified Extension Class Name instead
The code causing this is:
$this->get('twig')->getExtension('form');
There seem to be some related threads, but I've been unable to find a solution for this. I've also taken a deep look at deprecation notes, but I've been unable to find anything that, with my knowledge, helps me to solve the problem. I'd ask for a clear solution for what I have to do to get rid of this message, that doesn't allow me to even try to upgrade.
Thanks in advance.
Well, I think I've found the solution. I just needed to find out the FQCN for the specific call, and it's
Symfony\Bridge\Twig\Extension\FormExtension
So, adding
use Symfony\Bridge\Twig\Extension\FormExtension;
and replacing
$this->get('twig')->getextension('form')
with
$this->get('twig')->getextension(FormExtension::class)
solved the problem.
I think there should be a more specific guide about what to replace and the replacement for each case.
Regards.
PD: I'm trying to find out how to mark this as solved, but maybe I'm not allowed to do this kind of things yet.

How to use Oddcast with Asterisk?

Currently, i'm using Espeak with Asterisk (brazilian's voice), but i'm not getting good results. I found Oddcast and it's really helpful, but coudn't find out yet how to use it with Asterisk.
I think you can start from app_swift.c code(easy googlable) and extend it for your need.

Does elmahr supports console application?

I am using elmahr for my web application. I want to extend it to my batches and console application. Do we have any direct references for the same? Thanks in Advance
Regards
Amal Thomas
ElmahR does not support that out of the box, but there is a fork that implements something very similar to what you did:
https://stackoverflow.com/a/16139769/720780
From there you could probably extract what you need. I never tried it personally but the idea is very promising, so I'd advise you have a look.

Sqlite bindings for OCaml

I have been looking for SQLite bindings for OCaml. I stumbled upon ocaml-sqlite3 which looks good and current, but there is no documentation whatsoever about how to use it.
There is some very old documentation (API reference only) of an obsolete ocaml-sqlite binding that was discontinued in 2004. But it really doesn't look current and probably is already quite different from the updated version I found (listed in the above link).
I was just wondering if anybody has some documentation, examples or clue at all of how these libraries work. I could go through the code, but I'd like to keep that option as the last resource.
Howdy. The ocaml-sqlite3 library you mentioned does, in fact, have documention; you just have to build it with make doc. It's included in the comments in the .mli file as well; you can have a look here: http://hg.ocaml.info/release/ocaml-sqlite3/file/b28bff3ff215/sqlite3.mli . I realize it's basically just an API reference, but it looks fairly comprehensive.
In addition to phooji's answer, please note that the API follows closely the C sqlite library. Thus, any Sqlite book should help you to use the OCaml binding. And you are correct about which version to use; the one here: http://www.ocaml.info/home/ocaml_sources.html.

Flash Logging API

Can anyone recommend a good (AS3) logging API for Flash/AIR/Flex? I need something to capture and record mouse and keyboard events in addition to coded events. Preferably something well documented/supported. Thanks in advance.
I've been using Thunderbolt. It allows you to see your log results in Firebug.
I developed and manage Loggee!, a Flash/Flex Logging Tool: http://davidbuhler.org/loggee-flex-logging-tool/
You must see http://sourceforge.net/projects/log4flash/
with no more....
bye bye
I would recommend Arthropod if you are looking for a development tool (this wasn't very clear in your question), if it's to log your client's behavior, I'm not aware of any tool sorry.
I always end up writing my own logging solutions. They generally are very simple compared to the rest of the project, and by writing my own I can tailor it exactly to what I need. Whereas using a pre-built one, always seems like either it is too over-engineered and complex to use, or it's too simple and lacking a couple features I need.
Try to use Log5F logging utility for ActionScript 3.0

Resources