Hey guys...
$bookA = "123";
$crack = "A";
I want to do something similar to this:
echo $book$crack;
Such that the output is 123.
What is the correct syntax for the echo command?
Thanks.
I read a chapter in a book (Seven languages in Seven Weeks by Bruce A. Tate) about Matz (Inventor of Ruby) saying that 'I would remove the thread and add actors, or some other more advanced concurrency features'.
Why and how an actor model can be an advanced concurrency model that replaces the threading?
What other models are the 'advanced concurrency model'?
Has anybody ever used or have useful comments on Itzam/core?
I am attracted to it partly because I was impressed by the author's book C++ Components & Algorithms and as a possible backend for my search for a large non-SQL portable database engine.
Hi All,
Want to master CSharp. Know the basics though. Please name a few very good book to choose from.
I have always loved the complete reference books. Is the one for CSharp is good?
Thanks.
I have a set of names (first, last, salutation) and need a control to allow users to select a single name using WinForms. A ComboBox works fine if the there are ~20 names, but not so well when there are 100 names.
Can anyone recommend a name picker? Perhaps an address book control that I could customize? It's not too hard to write my own, but I have other wheels to invent.
Hello,
I want to take up Graphic Designing as my profession. I would be designing Logos, Icons, Stationery, Brochures, Handouts, Book Covers, etc.
But I am thoroughly confused as to which tools are the best and which books/resources will help me learn these tools and graphic designing like a professional. I am ready to shell out money to purchase the resources.
Please help me out!
Thanks,
Jen
Anybody knows a good book or two (or resources) for JVM Tuning?
I am struggling to find any. I stumbled upon Apress Java EE 5 Performance Management and Optimization, but there was not much in there.
I don’t have advanced knowledge in JavaScript, and I am trying to learn how to use ExtJS framework in ASP.NET (C# or VB.NET) environment. I’ve got couple of samples, but was unable get the project working. Can anyone point in the right direction such as website or book so I can go a read up about the ExtJS in more details and how I can include this into my website?
I can’t get the css, js and img loaded.
I’ve been using the web.config out of this article:
http://book.cakephp.org/view/1533/A-Note-on-mod_rewrite Please any suggestions…
Evidently LINQ's "OrderBy" had originally been specified as unstable, but by the time of Orca it was specified as stable. Not all documentation has been updated accordingly - consider these links:
Jon Skeet on OrderBy stability
Troy Magennis on OrderBy stability
But if LINQ's OrderBy is now "stable," then it means it is not using a quicksort (which is inherently unstable) even though some documentation (e.g. Troy's book) says it is. So my question is: if not quicksort, then what is the actual algorithm LINQ's orderBy is using?
Hello,
It looks like the final release for ASP.NET MVC 2 has been already around for 2 weeks. Unfortunately, I can't find documentation that's intended for MVC 2 exclusively. I've checked Amazon.com (no book yet on MVC2), ScottGu's Blog (only 2 short posts), ASP.NET/MVC website (they've only posted what are alreadi in the ScottGu's blog).
Any idea where to find matter on MVC2?
Thanks for helping.
Hello guys,
As a .net developer main c#, I want to know what would be the best approach for me to develop Phone application that runs on major phones.
Just to let you know Iphone is out of the question because of the costs that are involved, not ready to buy Mac book.
I want something I can develop within Windows operating system, Android could have been the best option but it does not integrated well with .net.
Any idea please ?
Terry
Is there any resources that how to create windows application especially for how to design the dll to wrap the api call or the similar?
It seems that people don't compile the entire project into a single exe for release and what is the best practice to architect the windows application component based on MVC pattern?
Is there any resources or any good book on this topic?
Thanks!
Could anybody help me with bucket sort algorithm for integers ? It's often mistake when people say they have this algorithm, but this is counting sort ! Maybe it works similar, but it is something different.
I hope you will help mi find the right way, 'cause now I have no idea (Cormen's book and Wikipedia are not so helpful).
Thanks in advance for all your respones.
I have seed-fu installed on my mac book, no problems.
But I can install it fine on winxp but when I run it, I get:
Don't know how to bulid task db:seed
I checked my installed directory (c:\ruby\libs) and it appears to be there.
Any ideas?
Hi guys,
Still fighting with templates. In this example, despite the fact that is copied straight from a book I'm getting the following error message: Error 2 error C2784: 'IsClassT<T>::One IsClassT<T>::test(int C::* )' : could not deduce template argument for 'int C::* ' from 'int'.
This is an example from a book Templates - The Complete Guide.
(I work with Visual Studio 2010 RC).
template<typename T>
class IsClassT {
private:
typedef char One;
typedef struct { char a[2]; } Two;
template<typename C> static One test(int C::*);
template<typename C> static Two test(…);
public:
enum { Yes = sizeof(IsClassT<T>::test<T>(0)) == 1 };
enum { No = !Yes };
};
class MyClass {
};
struct MyStruct {
};
union MyUnion {
};
void myfunc()
{
}
enum E {e1} e;
// check by passing type as template argument
template <typename T>
void check()
{
if (IsClassT<T>::Yes) {
std::cout << " IsClassT " << std::endl;
}
else {
std::cout << " !IsClassT " << std::endl;
}
}
// check by passing type as function call argument
template <typename T>
void checkT (T)
{
check<T>();
}
int main()
{
/*std::cout << "int: ";
check<int>(); */
std::cout << "MyClass: ";
check<MyClass>();
}
And although I know roughly what's going on in this example I cannot fix this error.
Thanks for help.
I created an application using the method described in the "http://
book.cakephp.org/view/641/Simple-Acl-controlled-Application" but after
I try to log in there is an error which says, "DbAcl::allow() -
Invalid node [CORE\cake\libs\controller\components\acl.php, line 325]"
I did exactly same as mentioned in the website but after loggin in I
am given this error msg.. Please help me rectify this. Any help is
greatly appreciated.....
thanks
gaurav sharma
Hi,
Is there an easy way of adding copy-paste for a listview, or should I just switch to DataGridView instead?
My application is kinda like an address book, it contains emails, numbers etc where copy paste would be useful.
I have studied generators feature and i think i got it but i would like to understand where i could apply it in my code.
I have in mind the following example i read in "Python essential reference" book:
# tail -f
def tail(f):
f.seek(0,2)
while True:
line = f.readline()
if not line:
time.sleep(0.1)
continue
yield line
Do you have any other effective example where generators are the best tool for the job like tail -f?
How often do you use generators feature and in which kind of functionality\part of program do you usually apply it?
Hello every one.
Can any one tell me where can I find "MCTS Self-Paced Training Kit (Exam 70-515):
Microsoft .NET Framework 4 – Web Applications Development" book for download.
Thanks
Hello All..
I have just entered into the Blackberry Arena...
So, have gone through with the overview concepts of blackberry api.
But, for the UI part, I could not find any interesting facts or tutorial.
So, can anybody provide me some book or tutorial link for reach UI design for blackberry api ?
Basically I want similar controls as iPhone, like Tab Bar, Segmented control etc.
Thanks in advance...
I've been looking for some good genetic programming examples for C#. Anyone knows of good online/book resources? Wonder if there is a C# library out there for Evolutionary/Genetic programming?
If think my question is pretty obvious and almost every developer working with UserProfile should be able to answer it.
However, I could not find any help on the django documentation or in the Django Book.
When you want to do a UserProfile form in with Django Forms, you'd like to modify the profile fields as well as some User field.
But there is no forms.UserProfileForm (yet?) !
How do you do that ?
I was looking over Martin Fowler's recent book contents - Domain Specific Languages and I noticed some ANTLR example - that got me thinking that writing compilers will become more and more popular since people needs in this matter will increase.
So, will the compiler theory still be as arid (being subjective here) as it was until now or are there any chances that we'll get more applied, programmer oriented materials ?
I am a C# guy with pretty good grasp of Visual Studio IDE usage (using it since VS2003).
Right now, I am doing a proof of concept app using Eclipse 3.4.1.
Is there any good reference or book which describes the usage of Eclipse IDE, compared to Visual Studio. Is there any Eclipse guide for Visual Studio users :)
Thanks, in advance.