I believe that not all R users know elisp. It would be nice if ESS users could share their code in their .emacs file here. Well commented code would be particularly useful.
I have two C files and one header that are as follows:
Header file header.h:
char c = 0;
file1.c:
#include "header.h"
file2.c:
#include "header.h"
I was warned about 'duplicate definition' when compiling. I understand the cause as the variable c is defined twice in both file1.c and file2.c; however, I do need to reference the header.h in both c files. How should I overcome this issue?
In an ASP.NET environment, what's the best way to play a mp3 file? Do I need to use a flash plugin (some users may not have flash). Also, this needs to work on a IPhone or an IPod.
Using iis7, windows 7, asp.net 3.5. I have in my hosts file
127.0.0.1 mysite
::1 mysite
I forgot why I added the ::1, but I think it was important. Anyone know what the second line is for? Thanks in advance.
Edit
One more question. What happens if I leave it out? The web site I'm working on doesn't address via IPv6, at least, not that I know of.
I have a login form that has Username and password as inputs from user and I want to validate these login credentials from a text file. How can I do it? I know how to write data and read data..but how to read only specific data.or check whether username password combination exists or not.
Thanks a lot.
Ani
Hello Friends,
I have developed customized setup Installer using NSIS. But every time when I reinstall an application, I want to take backup of old database files. & backup file should be rename as 'currentdatetime'(ex: 201003101140 means 2010-03-10 at 11:40 AM).
please, Help me soon
I am waiting your reply
Thanks !
Hi guys,
I need to set up a filter file for my findbugs ant script that scans only the src/* files and not the test/* files.
What is the syntax for checking all classes while ignoring any filename or package name with 'test' in the name?
Thanks
I have a PDF copy of a file for creating a report. Based on this form, we will generate a report.
Is there any way that I can fill out the needed fields on the PDF form using python? How?
Dear all,
how can i play wave file using http .my content(wave files ) are on remote server.
Client-Server-ContenrServer
I m able to play mp3 files using following code
<embed id="wmp" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" EnableContextMenu="false" autostart="true" width="320" height="240" loop="false"
src=<%= request.getParameter("url") %> />
Is there a way (without buffering the whole Inputstream) to take the HttpServletRequest from a Java Servlet and write it out to a file using all NIO? Is it even worth trying? Will it be any faster reading from a normal java.io stream and writing to a java.nio Channel or do they both really need to be pure NIO to see a benefit? Thanks.
Hi,
I am wondering, if I create a new HttpRequest, and put the content of a simple file inside this request, would I be able to read the content on the server side by aspx page? in other words would that be equivalent to upload control?
Thanks!
this is a different question concerning:
http://stackoverflow.com/questions/2360433/add-a-connection-to-database-not-working-asp-net-to-mdf
i am unable to connect because of the noted error message
the database must be read only? but when i click the properties of the file read only is not checked
is there another way it could be read only?
The title says it all, how do I access properties (title, state,...) of instance variables from within a class method of an other implementation file? I tried @synthesize but I couldn't get it to work.
I hate generating an exception for things that I can simply test with an if statement. I know that a zero length zip/jar will trigger an exception if you try to access it using the java.util.zip/java.util.jar APIs. So, it seems like there should be a smallest file that these utility APIs are capable of working with.
byte[] binaryData = new Byte[pngStream.Length];
long bytesRead = pngStream.Read(binaryData, 0, (int)pngStream.Length);
string base64String = System.Convert.ToBase64String(binaryData,
0,
binaryData.Length);
I have a binary data in Byte array.
Does anybody know how to save this into any image file (png or jpg) in silverlight3 or c#?
Thanks
I have tried both the .net FileUpload control and the ajax Asyncfileuploadcontrol to upload a file less than 500kb.
It seems that when I tried to go through my wireless router (att.bellsouth) that the uploads always fail, however when I plug my droid into my laptop and use my pda connection it works perfectly fine.
I'm wondering if the network connection from my house to my server could be causing this issue, and if anyone had any solutions to this problem. Tomorrow I'm going to try and upload from other networks and pray it works.
Hi All,
I am now learning on the audio framework of iphone. Just tried to play a sound file and it works fine. Now i need to pause that thing when its playing. How can i do that, Can anyone help me please.
Thanks in advance,
Shibin
VS 2008 SP1 craching when I open an ASPX file on Windows XP
Has anyone experienced this before ?
VS does not give me any error messages. It simply shuts down very quickly.
When i tried to connect to Apache Cassandra server using the php code i got an error "Fatal error: Call to undefined function uuid_make()". I can find that PHP UUID extension was missing in PHP installation. Can anyone please suggest from where i can download the DLL file for PHP installation in my Windows 7 Machine.
Does anyone know how to Unzip password protected files in an SSIS package?
We have an SSIS package that currently use java.util.zip to unzip zip file and has been working perfectly for some time now. They now want to password protect the files and unfortunetly this library cannot do it.
We are using a SQL server 2008 with .Net 3.5 on the windows server 2008 R2.