Hello, I want to do a class thats accepts anything ordered and prints greater. (I'm just learning so I know it's a bit useless)
class PrinterOfGreater[T extends Ordered](val a:T, val b:T){println(a > b)}
I know that it can't be written by this style in scala, but I don't know how to write it properly... Do anybody know?
Hello everyone,
I am learning and using SQL Server 2008 new Merge statement, merge statement will compare/operate source table and destination table row by row ("operate" I mean operations performed for when matched or not-matched conditions). My question is whether the whole merge process will be one transaction or each row comparison/operation will be one transaction?
Appreciate if any document to prove it.
thanks in advance,
George
Since the release of VS 2010 I've seen F# more strongly advertised by Microsoft. What are the core benefits of using this language? What problems does it most naturally lend itself to? What is the learning curve like?
I have this new project I need to build. I want to have at least started on it by the end of this month. So which version should I use though? Should I just stick with the stable Rails2 or try to use Rails3 so I won't have to migrate later? Which one would you suggest for someone that is still learning Rails?
I want to write a custom DVD player using python that plays for 30 seconds, then pauses and asks a question. Once the question is anwered, it tells the user if they are right or wrong and gives them a Resume button to resume DVD playback. How do I do this. I have never written a DVD player before, but I am open to learning!
Hi all,
I am learning JQuery.
In a HTML file, I got this:
<DIV ID="testing">
And I am trying to pass the ID of this DIV tag to a JQuery self-defined function:
<script>
$(function() {
$("div").mouseover(function() {
var ID = $(this).children().attr('id');
alert(ID);
});
});
But it wont work.
I'm toying around with OCaml. The first thing I want to know how to do is build an OCaml project. Right now, I just want something stupidly simple since I'm just learning. Could anyone point me towards a build system along with a "hello world" type example for using that build system?
When I was learning Visual Basic.net 2008 I found a book that not only taught the basics but by the end of the book I had developed a fully working database application. Does anyone know where I might find a simular book but using Visual C++?
Hi All,
I am learning memory references pertaining to Operating systems and don't seem to get to the crux of understanding it.
For example, I am not able to visualize this scenario properly: "A 36 bit address employs both paging and segmentation. Both PTE and STE are 4 bytes each". How are they related?
I can guess that this question might be too simple for many. But any help understanding the above basic concept would be appreciable.
Regards,
darkie15
I'm learning C++ from scratch, and as such I don't have an expert understanding of C. In C++, you can't cast a void pointer to whatever, and I understand the reasons behind that. However, I know that in C, you can. What are the possible reasons for this? It just seems like it's be a huge hole in type safety, which (to me) seems like a bad thing.
Has someone here ever had experience with the D programming language?
It seems to have many nice features but will it ever reach the popularity of those currently widespread languages like C++, Java or C#?
So is it worth learning or is it an isolated language with minor prospects.
Hi all,
I am learning Session function in CakePhp, and see some examples like this on cakePHP cookBook web site:
For example:
write($mysession1, 'testing')
I am not sure if a session can only hold up a particular thing in it.
Is it possible to write an array to a session like:
mysession[0] = 'Testing0';
mysession[1] = 'Testing1';
mysession[2] = 'Testing2';
Are there any good tutorials or resources online for learning HTML5? I already know HTML I am just looking to learn about the other things in HTML5.
Thanks in advance!
Hi All
I Want Develop And Automat Office Softwares like 'Microsoft Excel 2007' And 'Microsoft Word 2007' .But I do not know Use VBA or Use C Sharp Language And .Net Framework to do this?
What is the Benefits of Use VBA or Use .Net Framework?
Which One Is Better To Learning And Focus?
I've always used PHP, but recently I've been reading about why it's bad. I love Python, but I don't know how it works with the web. I've never even seen Ruby... what is worth learning? Should I stick to PHP?
I am learning how to write test cases using Rspec. I have a simple Post Comments Scaffold where a Post can have many Comments. I am testing this using Rspec. How should i go about checking for Post :has_many :comments. Should I stub Post.comments method and then check this with by returning a mock object of array of comment objects? Is testing for AR associations really required ?
I am switching from C to C# after 15 years of doing C. I have been learning .NET on the side but my first .net job will be updating a workflow system (that's all I know). I would like to get a head start. Any pointers. I haven;t seen WWF mentioned so they might not be using it.
Hi,
I like using Visual Basic for C++. I'm a student
I noticed the web development feature in it, and I was wondering if it is any good for web design, maybe if someone has used it or does use it if they can give a few words on weather or not it's worth learning?
I have been using Dreamweaver as my platform for web design.
So pretty much I'm asking Dreamweaver VS Visual Studio for webdesign, pros and cons?
When writing a question in Stack Overflow, it will give you a red bar with a warning if the question looks subjective.
Subjective or non-programming questions (e.g., What is your faviourite programming language?) seem to be easily recognized.
How, exactly, isthis done? Heuristics, algorithms, machine learning?
I'm amazed!
I am currently learning asp.net MVC2. I was trying to do a simple project similar to tadalist.com
Could you please guide me to some articles on how to create the dynamic textboxes and how to capture the user input for persistance?
Thanks
I'm just learning to code in java. Netbeans is great but I just found there's no way to wrap text in it (or hopefully I haven't found it yet). Is there any way to do this, and if not, is there any similarly good IDE for Java with this functionality (hopefully free as well).
Thanks.
I remember doing some css learning where i learned to make text-decoration: blink, and the text started blinking.
Now i have a icon,
.iconPM{
background: url(../images/icons/mail_16x16.png) no-repeat;
width: 16px;
height: 16px;
border: none;
display:inline-block;
}
Wonder if i can make this blink, either by simple css or jquery if required. Or maybe any other nice effects available in jquery recommended
I'm an experienced iOS programmer and have recently began to dabble in web development to expand my horizons. I've found it quite interesting and was wondering what learning path I should take through all the numerous languages. Here's what I planned on doing:
HTML+CSS- PHP/Jquery
Does that sound reasonable? Currently I'm nearly confident with my html/css abilities, and am planning to move ahead. Any good suggestions you guys could throw my way?