I have a project written in C and I would like to know if there is a simple way to get its execution time and memory usage under Windows.
Thanks in advance.
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!
Hi, I am trying to set up an application in which users will be able to stream music. When the user is streaming a MP3, I'd like to set up a link to the iTunes store to buy the MP3.
How can I do that? I feel like there should be some simple way of doing so using the song title and artist name, am I mistaking?
Thanks
I am storing a date in my database and want the user to be able to edit this date in the Edit View. In the past with ASP.Net web forms I have used 3 dropdownlists for the Month, Day and Year to get the date from the user and to bind it on display. I want to do the same in ASP.Net MVC and not sure how to do it?
I am not using any jQuery or Javascript, the design calls for simple postback.
I am using very simple code where I have a update panel with some panels inside and a submit button.
On submit, i hide one of the panels using this code:
panel.Style.Add("display", "none");
I am also using a UpdateProgress which works great in all but this case. When i set the display to none using this code, the UpdateProgress template does not disappear! remove the line, all is well ....
No idea why...
Are there any protocols/standards that work over TCP that are optimized for high throughput and low latency?
The only one I can think of is FAST.
At the moment I have devised just a simple text-based protocol delimited by special characters. I'd like to adopt a protocol which is designed for fast transfer and supports perhaps compression and minification of the data that travels over the TCP socket.
hi there
There must be a simple way to get different timezones with code (ie without changeing your system timezone)
So far you can do something like
var timezone = TimeZone.CurrentTimeZone;
but I cant see any other way to get a different timezone?
or should I just use TimeSpan?
I'm using <%=request.getRemoteUser()%> to retrieve the logged on user's ID within Tomcat. What would be the equivalent using JSP Simple Expression Language?
Hi All ,
I want to create a frontpage view that will display all the nodes in my site. What I do now is as simple as this:
Navigate to views module.
Activate the frontpage view.
Select page view.
My doubt is now how and where do I specify that this front page should display me all the modes in the site ?
Thanks, I can be more clear if anybody want's more information..
hi there,
I find the LOC (lines of code) metric a simple but nice metric to get an overview of software codebase complexity (see also blog-entry 'implications of lines-of-code').
I wondered how many of you out there are using this metric as a centric part for retrospective (for removing unused functionality or dead code). I think creating awareness that more lines-of-code mean more complexity in maintenance and extension is valuable.
Is there a simple method for copying a database diagram from one database server to another?
I have a diagram on a development server that needs to be moved to the production server.
Thanks
(Sql server 2005, SSMS2005 Express)
Hi guys! Im sure this will be pretty simple for a t-sql guru.
I have the following result from a table
idMain IdSecondary TextValue
1,1,text1
1,2,text2
2,5,text3
2,6,text5
And I want to obtain the first occurence of the idMain only.
THe result should be like this.
idMain,idSecondary,TextValue
1,1,text1
2,5,text3
How can I achieve this?
This question is not about what is a cross-thread operation, and how to avoid it, but why internal mechanics of .NET framework does not allow a cross-thread operation.
I can`t understand why a SerialPort DataReceived event cannot update a simple text box on my form and why using delegates this is possible?
I’m implementing a simple HttpModule, where I want some code to run when the web application is started. But I’m surprised to find that the Application_Start event I would normally use from Global.asax is not available from a HttpModule. Is that correct, or am I missing something here?
How do I hook into the Application_Start event from an HttpModule?
I have a uiwebview embedded within an iPhone app of mine. I want to be able to have certain links within that webview open into the full mobile safari app (i.e. not my embedded version of it). Is there a simple way to structure some of my hrefs to force this, instead of every link opening within my embedded webview?
Thanks.
-tony
If i use some really simple code like :
$('#elm').tipTip();
It will do what the plugin is intended for. Is there a way to destroy this binding to the plugin tipTip() will no long bind itself to this element?
Thanks
Is there a simple (or hack) way to generate a Visual Studio 2008 project that uses Intel Compiler from cmake?
I have found some notes about using ICProjConvert. Does anyone have any scripts or CMake snippets that are proven to work?
I find myself struggling to do simple things that would normally take me about 5 minutes to do in PHP. At the moment, I'm trying to create a basic form which will print the details on another page when you click submit.
Looking at the documentation, I find examples but none explaining why it works in such a way.
what the best c++ libs that are simple to use and have no problems to compile in the windows
express vs 2008 compilers ?
is it best to use different libs for each purpose or to use one generic lib ?
I'm developing a form generator, and wondering if it would be bad mojo to store JSON in an SQL database?
I want to keep my database & tables simple, so I was going to have
`pKey, formTitle, formJSON`
on a table, and then store
{["firstName":{"required":"true","type":"text"},"lastName":{"required":"true","type":"text"}}
in formJSON. would this slow down the DB server too much to set live?
Any input is appreciated.
I created several simple ggplot2 plots and saved them to PDF files using the following commands:
p <- ggplot(plotobject, aes(x=Pos, y=Pval),res=300)
ggsave(plot=p,height=6,width=6,dpi=200, filename="~/example.pdf")
If I now open this example.pdf in Adobe Illustrator I get the following error:
The font AdobePiStd is missing. Affected text will be displayed using
a substitute font.
Is there a way in ggplot2 to specify a font (I presume this is for the dots/points) that Adobe will understand or otherwise is there a way to get this font working in Adobe?
I know this is a simple question but it's aggravating me. If I have a key/value pair in a collection but I can't seem to get the value out using the key. I can get the key using the value but not vice versa. Is there some magical way to accomplish this?
For example:
Dim CycleList As Collection
Dim Value as String
Set CycleList = New Collection
CycleList.Add 1, "Some Value"
Value = CycleList(1)
I've also tried CycleList.Item(1) and it's the same result, Value = 1.
Can I use NSTableView like I've used ListView in Windows? By that I mean JUST adding rows to the view.
I need to display a very simple two columned table and I don't want to write all this data related crap. Can I just 'add' stuff to a table view?
If not what is the simplest way to do what I'm trying to do (preferably without data sources)?