I really want to learn how to program. A friend suggested I buy vs 2005 or a newer version if I'm serious about it. Is there a cheaper route? I would like to start with c#.
Dear All,
I am experienced in the technical support like Linux, oracle, sunos etc and but if i say scripting i know little bit of bash. Now i promoted to manage technical engineers inuding some java script developers, so i want to learn java scripting so that i can understand engineers. Hope you understand. Can you please advise me how can i start java scripting and point me to some simple docs and examples.
I am newbie.
many of javascript code start with <!--
<script type="text/javascript">
<!--
and finish with //-->
//-->
</script>
I think the reason is for compatibility.
But I cannot find the clue in any books.
even I cannot find anything with google.
hi there
i want to start an application on receiving sms from a particular number.
i am trying it with onMessageWaitingIndicatorChanged(boolean mwi){ } method but
i m struggling.
so, anyone there to help me in detail?
Thanks
I am using Mac OS X 10.6 and installed MAMP and Tomcat.
My Tomcat is installed in /Users/(userID)/Tomcat
I can start Tomcat server in Terminal without a problem
But it cannot be started automatically when Mac OS X is boot up.
I put a file org.apache.tomcat.plist in /Library/LaunchDaemons
Disabled
Label
org.apache.tomcat
ProgramArguments
/Users/henryfok/Tomcat/bin/startup.sh
RunAtLoad
Any hint ?
Dear All,
I am experienced in the technical support like Linux, oracle, sunos etc and but if i say scripting i know little bit of bash. Now i promoted to manage technical engineers including some JavaScript developers, so i want to learn JavaScripting so that i can understand engineers. Hope you understand. Can you please advise me how can i start JavaScripting and point me to some simple docs and examples.
i have 1 master page with 5 pages that call it. now on the master page, I have few dropdowns and textboxes, and the calling pages only have a small article in the corner. I want to start a session on page_load event, so that if the user chooses to select a dropdown or put data in textbox, even if he clicks on the other 4 links of other pages, the data should stay.
how can this be done?
I'm new to Continuous Integration. I want an advice with which tool should I start deal with. I see this is the biggest tools right now: CruiseControl.NET or TeamCity.
I'm using already this tools: Visual Studio 2010, Mercurial, NAnt, NUnit.
Can anyone recommend some start to finish project tutorials that really emphasize good design principles and best practices. I am looking for things that demonstrate and emphasize any or all of these:
Domain Driven Design
Unit Testing
Inversion of Control
Separation of Concerns
Use of interfaces
Object Relational Mapping
Preferably ASP.NET MVC
I am currently watching the Autumn of Agile series, which demonstrates many of these principles. I would like to find more of these tutorials/demos.
I want to start making a program for a local charity on the Android platform.
Where can go I for resources and tutorials to learn? I'm very new at this, so would like something simple that can be followed by someone with minimal technical knowledge.
I am looking to get into web application development. I am an undergrad CS major with experience in programming desktop apps, but with only basic knowledge regarding how web apps work. Any suggestions of where to start? Javascript, php, perl, ruby, python? Should I look into frameworks like django, seaside, ruby on rails, etc at first or wait until I am more experienced to use those?
Using PHP how can I get week's start date and end date from any given date. For example 2010-05-13 is Thursday so how can I get 2010-05-09 (SUN) and 2010-05-15 (SAT)
I seem to recall hearing at some point (I believe it was MIX09) that Microsoft has a licensing model of some sort where a business can consume licenses for up to two years, free of charge, until they reach a point where they are stable position and can pay their licensing at the end of two years. However, I can't find information regarding it online.
I want to say that possibly stackoverflow used this licensing model to kick start their site. Is anyone familiar with this?
Hi
I m working on a client-server program, where there is no test at all.
When i try to do some test with two server, it's look like both server is connected to the same database. I think the reason is some bad use of static field.
So i wonder, is there a way to start two VM in a junit test?
One of the more common complaints I have read about the AppEngine database (for Java) is that it is extremely slow when it come to "cold start time". What does this mean? And is it something I should be worried about?
Hello,
I am having a rather strange problem, I deployed 2 .NET applications on my machine. Both run on v2.0.
Now, while one of it works smoothly, the other one doesn't even start! Moreover, it doesn't throw any error, I couldn't see any error listings in the Event Viewer.
Becoming hard to debug. On every other machine, both the exe's work perfectly fine!
Any known issues?
Thanks
Does switching activities in Android start a fresh JVM? It seems like each activity is meant to run as its own "main" method. If I have a singleton (via Guice, not an actual singleton in this case) should I expect to be re-creating it every time I switch activities?
I have one node(ImageView) that displays an image and another node(rectangle) that resides on top of it. The behavior I need is that when the mouse is dragged(press-drag-release gesture) over the rectangle, both the nodes should move coherently. My thought process goes in the following direction:
• Move both the nodes by the same distance in the direction of the drag.
For this option(maybe there are more options) I need the distance between the start and end of the mouse drags. I tried capturing the start and end coordinates of the drag but have been unsuccessful. I think I am getting lost in which handlers to implement.
The code I have is below:
import javafx.event.EventHandler;
import javafx.geometry.Rectangle2D;
import javafx.scene.image.ImageView;
import javafx.scene.input.MouseEvent;
public class MyView
{
double mouseDragStartX;
double mouseDragEndX;
double mouseDragStartY;
double mouseDragEndY;
ImageView imageView;
public MyView()
{
imageView = new ImageView("C:\\temp\\test.png");
}
private void setRectangleEvents(final MyObject myObject)
{
myObject.getRectangle().setOnMousePressed(new EventHandler<MouseEvent>()
{
@Override
public void handle(MouseEvent mouseEvent)
{
mouseDragStartX = mouseEvent.getX();
mouseDragStartY = mouseEvent.getY();
mouseEvent.consume();
}
});
myObject.getRectangle().setOnMouseReleased(new EventHandler<MouseEvent>()
{
public void handle(MouseEvent mouseEvent)
{
mouseDragEndX = mouseEvent.getX();
mouseDragEndY = mouseEvent.getY();
myObjectDraggedHandler();
}
});
}
private void myObjectDraggedHandler()
{
Rectangle2D viewport = this.imageView.getViewport();
double newX = this.imageView.getImage().getWidth()
+ (mouseDragEndX - mouseDragStartX);
double newY = this.imageView.getImage().getHeight()
+ (mouseDragEndY - mouseDragStartY);
this.imageView.setViewport(new Rectangle2D(newX, newY, viewport.getWidth(), viewport
.getHeight()));
}
}
P.S: This code is just for indicating what I am trying to implement and will not compile correctly.
Or maybe my question should just have been:
How to capture the length or span of a mouse drag?
From cmd on windows, you can stype "start filename" and an action will be taken based on the type of the file. EXEs will launch, JPEGs will have an associated file viewer opened, etc..
Is there a way to do this on Linux / Ubuntu?
Hi..
actually my question is just like the title says..
i need to find out the first cell and the last cell of a vertically merged cell..
lets say i merge the Cells B2 down to B50
how can i get in VBA the start cell(=B2) and the end cell(=B50) ?
thanks a lot
Hi, I need to create a bash shell script starting with a day and then loop through each subsequent day formatting that output as %Y_%m_d
I figure i can submit a start day and then another param for the number of days.
My issue/question is how to set a DATE (that is not now) and then add a day.
so my input would be 2010_04_01 6
my output would be
2010_04_01
2010_04_02
2010_04_03
2010_04_04
2010_04_05
2010_04_06
Thanks