Hi
How to find my code execution time ,
Am using the below snippet,
am not happy with that ?
list ($msec, $sec) = explode(' ', microtime());
$microtime = (float)$msec + (float)$sec;
Regards
Hi friends,
i know it would sound too ambitious but our client requires a PDF Reader of his own with some selected functionalities. Can any1 here guide me to some good tutorials for paving the way to start its development?
i guess i need to clear some pdf basics and start from scratch OR i would be happy if there is any api which i can use directly modify the controls at my will...
any help would be highly appreciated... Thanx a lot...
I was asked by an interviewer today how I would implement Arabic as a second language into a PHP web application. I talked about choosing a unicode encoding for the database and the front-end, and designing RTL friendly user interface modules. And he didn't seem too happy with the answer. I don't really know anything about multi-lingual systems, how would you have answered that question?
I received such message in erlang condose at first@localhost node
=ERROR REPORT==== 1-Jan-2011::23:19:28 ===
** Node 'second@localhost' not responding **
** Removing (timedout) connection **
My question is - what is timeout in this case? How much time before causes this event?
Howto prevent this "horror"? I can restore\recover to normal work only by restart node...
But what is the right way?
Thank you, and Happy New Year!
I've never been happy with anything I've ever found. But not having good UML, or at a minimum some clear class diagrams, makes it difficult to move forward with design on a team. Especially if you're a team deeply engrained in Agile concepts wrapped in Scrum.
UML Tools? Visio? Visual Studio? Other?
I'm pretty used to how to do CVS merges in Eclipse, and I'm otherwise happy with the way that both Subclipse and Subversive work with the SVN repository, but I'm not quite sure how to do merges properly.
When I do a merge, it seems to want to stick the merged files in a seperate directory in my project rather than overwriting the old files that are to be replaced in the merge, as I am used to in CVS.
The question is not particular to either Subclipse or Subversive.
Thanks for the help!
help! my boyfriend's birthday is next month. since he is a programmer, I'd love to make him a cake with the code for "happy birthday" (and perhaps something awesome) written in icing on top. not being a programmer myself, i have no idea where to begin. any suggestions would be greatly appreciated!
I have a Windows XP machine with a dual core 3.6G CPU and 4megs. I am not very happy with the performance. I was wondering if compilation in VS 2010 is multithreaded and does VS 2010 benefit from switching from dual to quad core machine?
I'm looking for the most suitable tool for generating dynamic geographical maps in Java (with styles based on custom business data: colors, labels etc. will be dynamically set). After some searching, only GeoServer (and the underlying GeoTools library) seems to fit.
Although I'm really happy with this solution, I'm afraid I might miss something and make some decision based on incomplete input. Any suggestion ? Any viable alternative to compare against ?
Is there any tool (editor, script, whatever...) available that can automatically reformat R code? It does not need to be customizable but it must be able to recognize statements separated by either semicolons or newlines since this code has both. If it can put all statements on a separate line, consistently indent code blocks and consistently place braces I will be very happy.
Good day everyone and happy holidays.
I'm trying to create a "simple" program that allows me to create a list of video files (Youtube video's to be precise) that are then run through by my program and converted any given format to pure MP3 audio. For this purpose I'm trying to use the BASS.dll and well it isn't going so well.
I was wondering if anyone has used BASS to convert from one audio format to another?
Or is there another library better suited for this?
So, I am trying to make a firefox extension which will use a webservice. I was looking online to find a way to do this. I was wondering if someone could explain what the following objects/methods do:
service.useService(_, _);
service.<`Service Name.callService();
If there is an alternative that does not include these objects, I would be happy to hear about it.
Thank you very much
I do like the SQL editor now bundled with Eclipse but I can't seem to find a way for it to format my code like eclipse will with my java.
Did I miss something, or does anybody have any alternatives?
Thanks
====EDIT====
I'd also be happy if there was an alternate plug-in that someone could recommend.
Does anyone know of an example facebook app (or facebook connect app) done in Erlang? I'm looking for something that includes the whole process. Specifically I don't seem to find anything on user authentication.
I've checked out erlang_facebook, erlang2facebook and erlyface but none of them seem to offer a simple and comprehensive example accessible to me as a beginner .
I'd be happy for just a bit of code to plough through though, preferably using mochiweb as backend.
Can someone point me at what I should be doing under scala 2.10 in place of this deprecated type witness on Manifest?
reflect.ClassManifest.singleType(foo) <:< barManifest
Honestly, my goal here is just to replace it with something that doesn't raise a deprecation warning. I'm happy to use the new reflection API.
Here's the code in question in context, if that's important:
https://github.com/azavea/geotrellis/blob/master/src/main/scala/geotrellis/feature/op/geometry/geometry.scala#L45
Hi there,
is there a way to rebuild Mac OSX Snow Leopard's Dashboard Widget 'Web Clip' on a PHP website?
Something like a crawler or scraper.
I thought about using file_get_contents to getting the page content into the page, but how do I select a section on the external page? And does this work with session/login content as well?
I'm happy for any kind of suggestions!
Cheers
Happy Monday o/
I'm looking to do the following within a stored proc
select @parameter="fooproc"
drop procedure @parameter
instead of
drop procedure fooproc
But it's choking with a syntax error. Is there some way I can bend this to my will? I would've expected to be able to do this.
I've tried a few permutations of type declaration of @parameter to no avail.
Thoughts?
Hi,
Is there an easy way to have the complete code in a lstlisting environment underlined?
My current solution looks like this, but I'm not really happy with it.
\begin{lstlisting}[mathescape]
$\ul{if(gt(x1, 0)) then} $
...
\end{lstlisting}
Thx for any tips.
I have a couple ANTLR-generated code files, and I'm currently happy with how they are working. I'd like to configure my project in Visual Studio (2008) so the debugger skips over methods defined in those files. How can I do this?
I don't want to write my own boot loader -- happy to use Grub.
I just want to implement pre-emptive multi threading, a basic file system, and virtual memory.
I want something that can run on top of qemu.
What's a good resource (book / tutorial) for accomplishing this goal?
Thanks!
I have included gwt-html5-geolocation into my GWT project and was disappointed to find that it doubled up on my number of permutations compiled. Apparently if the browser does not support geolocation API then it falls back to use gears to find out your location. Is there a way to NOT compile a permutation for gears similar to the way you can tell GWT to only compile certain browser permutations? (the geolocation stuff is very much a nice-to-have and frankly if the client is running an old browser then I am happy not to get their location)
Thanks
Hello Friends,
i once had the chance to look at a website, where design was showcased but sorted in a special manner. You were able to look at footers, headers, login menus, and all kinds of parts from different sites.
If anyone can remember the address i would be very happy about it.
Thanks for reading.
I am looking for documentation of the ithmb format used by Apple for photos stored on an Apple iPod. I would be happy with source code or a description. The only "documentation" I can find is pre-compiled executables that crack out the JPEGs.
Does anyone know how to do this?
Hi I was started designing a website using tableless. I was able to create and happy with the result, but in some point I'm having problem positioning some elements.
see sample illustration here: http://christianruado.comuf.com/images/demo.jpg
The right side which is green contains two elements the top and the bottom, my problem was how can set the height of the green container to always align with the footer? I want to align the bottom part to be aligned with the footer regardless the content of the center container?
I'm currently registering my domains through GoDaddy. Does the registrar matter? Any recommendations for registrars you're especially happy with?
(See this very similar question, that requires API support. I need no such support, hence this question is more generic).