my urls look like:
www.example.com/{languagecode}/{controller}/{action}/{id}
where language code is en-us, etc.
From the OnActionExecuting event, how can I get these values?
hello .. im trying to extract frames from a video .. and i picked ffmpeg ( tell me if you know something better ) for this task
i downloaded it's source .. and i don't know how to use it ?? how do i compile it ??
what is the recommended language for it ?? i know python and C++
please note that i use windows vista 64x .
I have C# background. Very newbie to low level language like C.
In C#, memory layout by compiler by default, and I have to specify some special attribute to override this behavior for exact layout.
As I know, C does not re-align by default. But I heard there's a little re-aligning behavior which very hard to find.
Can I know about C's memory layout behavior? (what should be re-aligned and not)
I am getting the below message on my sites page there are more than 20 messages like this... pls guide me to rectify the issue... I am using the PHP 5.3.0
Deprecated: Function eregi() is
deprecated in
C:\wamp\www\bannerbuzz\includes\classes\language.php
on line 87
I have a regular expression to find the text I want (I wrapped the relevant section in custom tags), and I can do it by hand without much issue, but what I want is a way to automatically find and replace throughout the entire project.
A macro seems like an OK idea, but it would be nice to have a command (to edit and tweak). sed seems like a good bet, but I am pretty unfamiliar with it. I am not so much asking for a complete solution as I am asking for an example that does something close to what I want. I don't really know of a good way to start.
This might be a really silly question, but is the iPhone SDK available in C++? Since I heard C++ is an officially supported language, is their any SDK avaliable for it?
What application, language, or other software product name makes you cringe every time you hear it; or was just an astoundingly bad choice from a marketing perspective?
One name per answer, vote up the worst.
I'm kind of falling in love with Node.js not because you write app code in javascript but because of its performance.
I really don't care a lot about how beautiful a server side language might be but how much requests per second it can handle.
So anyway I'm looking forward to experiment building an entire webapp using Node.js (and going back to the actual question) is there a template engine similar to let's say the django template engine or something similar (that at least allows you to extend base templates) available for Node.js?
I need to do this:
(sorry not in javascript syntax-still learning object language :) )
object=car
attibutes:top-speed, brand....
now I want to sort the list of those cars in order by top-speed, brand...
How do I do this (please note the solution must be javascript only, no php or other stuff) ?
I have read about partial methods in the latest C# language specification, so I understand the principles, but I'm wondering how people are actually using them. Is there a particular design pattern that benefits from partial methods?
Hi,
How to Localized UIDatePicker according to language selection from the application.
UIDatePicker has locale property so how to use please give idea.
Thank You.
Hi
I am interested by converting some code from C++ to C (mostly because i need to use the library with/from other C program and other language) . C is a better gateway for that
I am interested to replicate few C++ concept like inheritance for inst .
Does anyone know good references or has already work on some similar issues. For inst how to deal with inheritance , adding new members variable/ methods to child class , ...
Thx for your help
I'd like to write a bot to play in the 3D RoboCup simulated soccer league. Can anyone point me at some code that already deals with communication with the server, etc?
Ideally this would be .NET code, but an example produced in any language would still be useful.
EDIT For anyone who is not familiar with the RoboCup 3D Soccer league, check out this YouTube video. It has some pretty funny moments, if you're into that sort of thing...
I know very well about the traditional arguments about why Interface Inheritance is prefered to multiple inheritance, there has been already a post here :
http://stackoverflow.com/questions/191691/should-c-include-multiple-inheritance
But according to Stroutroup the real reason why Microsoft and Sun decided to get rid off multiple inheritance is that they have vested interest to do so: instead of putting features in the languages, they put in frameworks so that people then become tied to their platform instead of people having the same capability at a language standard level.
What do you think ?
Hey,
I'm really interested in the way of using lambda functions. Does it make sense to use them in a high-level programming language? If yes, why?
Is this really just a function embedded in a function (like this) or is there more behind?
For the iPhone, is it possible to program applications to translate words from a base language to any of several languages of various users. If so, how?
In statistical language R, mean() and median() are standard functions which do what you'd expect. mode() tells you the internal storage mode of the R object, not the value that occurs the most in its argument. But surely there is a standard library function that implements mode for a vector (or list).
I want to create a simple script that tags the latest revision to the tags folder, for example: for Trunk directory head revision 114, it will create a tag of this directory to the Tags directory which goes by the name "r114".
I don't really care of what scripting language it'll use (as long as it runs on windows).
I tried creating such script using SVN CLI tool, but it failed connecting to a SSL repository.
How can I achieve that?
I have a char array with data from a text file and I need to convert it to hexadecimal format.
Is there such a function for C language.
Thank you in advance!
Hi there!
Please help me with documentation to write specific application for Facebook.
Need to know, what language to choose? is specific facebook API? is documentation for API? is site with samples catalogue? need to know all related info. Some words about app, it would be app, which compare users interests.
Thanks in advance.
I have programed an application on windows XP and in Visual Studio with c++ language.
In that app I used LoadResource() API to load a resource for giving a file in the resource memory.
It returned a pointer of memory block and I wanna cast the pointer to the std stream to use for compatibility.
Could anyone help me?
I would like code like this:
(define-struct thing (a b c))
(define th (make-thing 1 2 3))
to print something like this:
(make-thing 1 2 3)
when I type "th" into either the DrScheme or MzScheme repl. I am using the language "pretty big" in DrScheme with output style set to "constructor". This is what I get in DrScheme:
(make-thing ...)
(i literally get the three dots)
In MzScheme:
#<thing>
I'm using the standard gcc compiler in math software development with C-language. I don't know that much about compilers or compiler options, and I was just wondering, is it possible to make faster executables using another compiler or choosing better options? The default Makefile sets options -ffast-math and -O3 and I think both of them have some impact in the overall calculation time. My software is using memory quite extensively, so I imagine some options related to memory management might do the trick?
Any ideas?
I want to design a CPU and possibly memory and other hardware. I could do this with a hardware description language. Once I do this is it possible for me to send my designs to a manufacturer who will realize the design in hardware and send back to me the CPU(s) ? Can it be done at a reasonable cost?
I want to design and make my own computer system and actually have it realized in hardware.
Hello,
I want to upload dynamically content from a soccer live score website to my database.
I also want to do this daily, from a single page on that website (the soccer matches for that day).
If you can help me only with the connection and retrieval of data from that webpage, I will manage the rest.
website: http://soccerstand.com/
language: php/java - mysql
Thank you !