i have bunch of log files and I have to delete the files of some small sizes, which were erroneous files that got created. ( 63bytes ).
I have to copy only those files which have data in it .
In my C++ program I want to parse a small piece of XML, insert some nodes, then extract the new XML (preferably as a std::string)
RapidXML (http://rapidxml.sourceforge.net/) has been recommended to me, but I can't see how to retrieve the XML back as a text string.
(I could iterate over the nodes and attributes and build it myself, but surely there's a build in function that I am missing)
Thank you
I'm making a foreign language flashcard website in which I want to have 100s of short 3-10 second audio files available for users to click and listen.
So I am looking for a tool/service such as YouTube or Screenr.com but for audio which e.g.:
allows me to easily upload multiple kinds of audio files: mp3, wav, etc.
easy to manage them online (delete, replace)
has a simple, small player (e.g. flash) that integrates nicely into any site
Hi guys,
I have developed a small software. I want to provide and run it commercially only. I want it to be run in the machines who have purchased it from me.
If someone copies it from my clients computer and runs it in next computer, I would like to stop functioning/running the software.
What can be the ways to prevent the piracy of my software?
Hello,
I am doing this small exercise.
declare @No decimal(38,5);
set @No=12345678910111213.14151;
select @No*1000/1000,@No/1000*1000,@No;
Results are:
12345678910111213.141510
12345678910111213.141000
12345678910111213.14151
Why are the results of first 2 selects different when mathematically it should be same?
It seems like it should be very simple to specify that the h:messages generated by JSF should be styled using jQueryUI's nice ui-states. But sadly I can't make it fit. It seems that the jQueryUI states require several elements (div,div,p,span) in order to make it work.
So taking inspiration directly from the jQueryUI theme demo page:
<!-- Highlight / Error -->
<h2 class="demoHeaders">Highlight / Error</h2>
<div class="ui-widget">
<div class="ui-state-highlight ui-corner-all" style="margin-top: 20px; padding: 0 .7em;">
<p><span class="ui-icon ui-icon-info" style="float: left; margin-right: .3em;"></span>
<strong>Hey!</strong> Sample ui-state-highlight style.</p>
</div>
</div>
<br/>
<div class="ui-widget">
<div class="ui-state-error ui-corner-all" style="padding: 0 .7em;">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin-right: .3em;"></span>
<strong>Alert:</strong> Sample ui-state-error style.</p>
</div>
</div>
and trying to jam the css class details into my h:message as best I can:
<div class="ui-widget">
<h:messages globalOnly="true" errorClass="ui-state-error ui-corner-all ui-icon-alert" infoClass="ui-state-highlight ui-corner-all ui-icon-info"/>
</div>
I don't get the icon or sufficient padding etc but the colours make it through. So, the styles are being applied but they aren't working as intended.
Any idea how I can make this work?
If you're familiar with Reddit, you'll know how all of their posts containing pictures get a small thumbnail preview beside the title of the submission. How does Reddit go about doing that? Does it just check to see if the link ends with .jpg, .png, .bmp, etc?
I have a Latitude, Longitude, and a direction of travel in degrees true north. I would like to calculate if I will intersect a line defined by two more Lat/Lon points.
I figure the two points defining the line would create my great circle and my location and azimuth would define my ray (or possibly a small circle).
Any ideas?
I have the following formula in LaTeX, based on Fisher's Exact Test. (NOTE: requires the use of the amsmath package for \binom.)
\begin{equation}
P(i,j) = \sum_{x=|N(V_i) \cap V_j|}^{\min\{|V_j|, |N(V_i)|}
\frac{ \binom{|V_j|}{x} \binom{|V - V_j|}{|N(V_i)| - x}}
{\binom{|V|}{|N(V_i)|}}
\end{equation}
This renders the fraction portion with very small, difficult to read text:
I would like my text more readable, as in the following example:
What trickery can I use to get LaTeX to render my equation similarly?
.model small
.stack 100
.data
.code
mov ah,00h
mov al,0e3h
mov dx,00h
int 14h
back: nop
l1: mov ah,03h
mov dx,00h
int 14h
and ah,01h
cmp ah,01h
jne l1
mov ah,02h
mov dx,00h
int 21h
mov dl,al
mov ah,02h
int 21h
jmb back
mov ah,4ch
int 21h
end
this a pc to pc commnication receiver program.i would like to know
why have we used the mov dx,00h function and what is the meaning of mov al,0e3h this ?
I'm trying to find a tool to check for coding style in python.
For php I've seen there is the Code Sniffer, and a small perl script used by Drupal. Is there such a tool for python code?
Thanks
Hi all,
I am writing a small script by Python to connect and post content to my WordPress blog. It's pretty straightforward with https://github.com/maxcutler/python-wordpress-xmlrpc
However, when i tried to input a HTML data, for example:
<b>Hello</b>
It appears exactly in the WordPress post (I watch it from the visual editor, and I need to re-format it by copying the data to HTML mode to have the expected result.
What should I do with my python script ?
Thank you very much
I'm looking for a tool (preferably not InstallShield, and also preferably cheap/Free) that supports Chained MSI Installations. I've got several small installations that need to be able to be deployed separately, but also as one group, and I'd like to not have to maintain multiple installers.
It looks like I need Windows Installer 4.5 to do this properly, but I can't seem to find to much info when I'm looking around for what version of Installer is supported.
We have switched to JBoss 6 to make it possible to use a wider range of Java EE technologies. We chose JBoss because of its small memory footprint compared to other application servers, so we have no other choice.
Do you know any developer tools that can be integrated with JBoss AS 6?
Thanks in advance
Jonathan Frank
Hi all,
I have cells that use the UITableViewCellStyleValue2 style. The problem is that the width of the label area is too small. Is it possible to specify the width for the labels?
Thanks!
Hi Everyone,
My installshield project uses custom prerequisites to install .Net Framework 4.0 Client Profile and Microsoft Sync Framework 2.0 client package.
I want to let clients to donwload .Net Framework and Sync Framework directly from the Internet so that our installer is small. But I cant see a way to this.
If you could give some advices or example, it would be most appreciated.
Cheers
Hi guys,
Did anyone ever managed to connect to remote webcam through flex application?
I know there is media.Camera object but I only managed to connect it locally,
must be small thing that i missing...
Thanks,
Royee
Hi,
I created a small WPF desktop application. I am thinking about how to make my application internationalized. Is there any Language Class to research (.NET 3.5 based)?
I want to load the my application language from windows region/language configuration automatically.
OR. some method to switch language from my application menu list.( no additional language package installation, assume the windowns system language packages support Chinese/English/Japanese/Korea already).
RDS uses the same set of parameters for all instance sizes and they don't seem to be that far from defaults (max_packet_size being too small etc.)
Has anyone looked at them and reviewed them for how sensible they are, especially on relatively bigger instances?
I know it's not a programming question but I'm in a hurry to choose a netbook like this and I haven't been able to find the minimum system requirements for an R installation (e.g. minimum RAM). I am interested in a small netbook so as to be able to use it in class. Has anybody used R in a netbook that would recommend for that use?
Currently we're building a small datacenter. For the Infrastructure-as-a-Service part I'm planning to use VMWare vSphere. I know VMWare is pushing its vCloud API so my question is: how can I install and use this API within my own datacenter?
In the next few weeks I'll be taking my site from the localhost (WAMP) and puting it on a new server. This will be the first site, on my first server, so basically...i'm a noob!
This must be an important moment for any independent web developer / small business so i'd love to hear about some experiences, mistakes and system default security holes that one should fix straight away...
I'm using php, mysql, cpanel and WHM, and looking for tips like "Turn off error reporting in PHP"
I got the compile error message "Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)" when I tried to declare an array of linked lists.
public LinkedList[2] ExistingXMLList;
Also, if I wanted to create a small array of strings, isn't this the way:
string [2] inputdata;
I have tried to hack together a small test project, but it fails with "400 Bad Request" so I'm pretty sure I have done something very basic wrong, but the examples I've found are all in the form of questions, only showing minor pieces of the puzzle, such as a request XML for public folders or whatnot.
Is there a complete example somewhere where I can just put in my username and servername and it would list the calendar items in my calendar?
This is for C# 3.0/4.0.
I need to import yahoo,Live and AOL contacts list. I have already done gmail(their website has the whole hting explained properly). but cannot find much help for live, yahoo and aol for vb.net. Any help will be appreciated. some small source code or where to download API's.
Thanks