hi
I want to implement program by c# application. first of all I need web request to a remote server and set proxy and view sourcecode of that page.
How I can write codes is there any code?
I found examples in adobe site only to position the object where the mouse pointer is. But i have to place the image in the position of drag proxy image.
I'd like to "grab" a few hundred urls from a few hundred html pages.
Pattern:
<h2><a href="http://www.the.url.might.be.long/urls.asp?urlid=1" target="_blank">The Website</a></h2>
When I am deploying certain vendor EAR file to Sun App Server, I encountered a connection timeout errror. I thought the reason might be proxy settings need to be defined so I actually defined the following
-Dhttp.proxyHost=hostname
-Dhttp.proxyPassword=password
-Dhttp.proxyPort=8080
-Dhttp.proxyUser=username
After setting these and restart domain then redeploy I encountered 407 error.
Anyone have any idea what could be the issue here?
i have something that requires a matrix of values, similar to pokemon:
i have a class object for each of the types, is there a pattern or a good way to implement this, as a middle layer or in the classes?
In python if a string contains the following,
print valid_str
The output of this is
Record is positive in tone:
It emphasizes "what a child can do and his or her achievements, as opposed to what he or she cannot do," explains the It is useful for progress and achievements during office conferences
How to search for the pattern It is useful in the above string and if not found return something.
Thanks..
Hi,
I have design problem regarding async calls to method.
I'd like to know best/good pattern to call async method, which calls another async method, which calls another async method :)
In other words, I have WCF service reference created with async methods and I want to call them from another async method which is called by other async method.
All this for non blocking GUI.
Thanks!
How to create regex pattern which is concatenate with variable, something like this:
var test ="52";
var re = new RegExp("/\b"+test+"\b/");
alert('51,52,53'.match(re));
Thanks
We got attacked by some very-bored teenagers registering in our forums and posting very explicit material using anonymous proxy websites, like http://proxify.com/
Is there a way to check the registration IP against a black list database? Has anyone experienced this and had success?
Recently lot of interviewers are asking
"What are the integration patterns are you familiar with?".
I know design patterns,what is integration pattern then?
I have a SimpleDateFormat object that I retrieve from some internationalization utilities. Parsing dates is all fine and good, but I would like to be able show a formatting hint to my users like "MM/dd/yyyy". Is there a way to get the formatting pattern from a SimpleDateFormat object?
I have an application that has a tabcontrol with 5 tabpages of information that user interacts with. Also, there are contextual menus and toolbars for editing and formatting the information. Do I create a different view & presenter for each tab page or the tabcontrol iteself? How do I apply the pattern to the toolbars and menus that can interact with any of the tabs?
We have a Silverlight application client and a WCF Service hosted as Managed Window Service and exposing Service Contracts on BasicHttpBinding.
We are sending FaultContract on the wire in case of exception is caught with the WCF Service Code. We are facing following problem as:
A. If we have Synconized proxy call (in case of Window or Web Client), we are able to catch the Fault Contract.
B. If we are using Silverlight Client which uses Asyncronized calls, we are unable to catch the Fault Contract.
We need help on later problem (B.), Thanks in advance
Hi there,
I'm translating this code to Clojure. As you can see, I have to extend the class ArthurFrame, yet I'm getting an IllegalAccessError everytime I use (proxy [ArthurFrame] [] ...).
Any idea why? Here is the class's source.
Thanks!
Hello, is it good, that every PHP class implements a Singleton pattern? I think, it will be less memory usage because of it. Is it right opinion? Thanks!
I want to refactor some code using the Windsor IOC/DI framework, but my issue is that I have some Singleton classes and Factory pattern classes and I am not sure that one can implement a Singleton or Factory using DI.
Has anyone any ideas if that is possible and how?
We have a dao as a project (jar file).
Clients use its interfaces and factories to operate with database.
Using standard CRUD operations, dao allows you to search an entity by some search criteria.
What is the best way to represent this criteria?
Is transfer object appropriate pattern in this situation?
How should client create SearchModel instance?
Please, share.
Regards.
I somewhere heard that the .NET Framework was built around specific pattern, which they tried to uphold as much as possible.
var rsa = new RSACryptoServiceProvider(); // Create
rsa.ImportParameters(GetParameters()); // Set
byte[] encrypted = rsa.Encrypt(data, true); // Execute
// Destroyed by garbage-collector
Are there any variants of this? What are the general pros and cons?
Hi, This is more a design question... You can't do a decorate design pattern if:
1) The object is marked "sealed" meaning you can't extend from it.
2) or you want to override a method but its not virtual.
What can you do then? Taken that you can't change the class source code if you don't have the source code (like a 3rd party library).
I am having a C# application to sync data between PC and palm devices.
There are codes written like below:
showMessage("synchronizing Table1");
Sync(destTable1,sourceTable1);
Sync(destTable2,sourceTable2);
showMessage("synchronizing Table2");
// more code
How do I separate the actual process of synchronizing from displaying message?
Which design pattern to follow?
Thanks in advance...
I have a Java-application that loads data from a legacy file format into an SQLite-Database using JDBC. If the database file specified does not exist, it is supposed to create a new one. Currently the schema for the database is hardcoded in the application. I would much rather have it in a separate file as an SQL-Script, but apparently there is now easy way to execute an SQL-Script though JDBC. Is there any other way or a pattern to achieve something like this?