|
Currently i am using Netscaler VPX that does content switching, load balancing . request url re-direct all by itself but it is too costly like 60$/day.
All i am looking for an alternative for that, please do comment
every suggestion is welcome
|
|
|
|
|
What is a good programming language to learn to make apps that will work on all platforms even ipad, etc etc...
I think there is
java, html 5, javascript
and thats all i can think of, but not sure about java though, dose anyone know any?
|
|
|
|
|
You can use Xamarin to write apps in C# which will run on Windows, Mac, iOS and Android. Unfortunately, the free version is quite limited, and the paid-for versions are quite expensive.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Hi,
I would recommend Java with all it's parts: J2SE, J2EE(for web) J2ME(for mobiles).
AT this moment it is supported on all platforms.
Regards,
Paul.
|
|
|
|
|
Currently it would be the combination of Javascript with HTML5 and CSS3. Only one is a programming language but the group is what makes is great.
You could focus on Java, but I am not sure it would be supported in as many situations.
Regards
|
|
|
|
|
I'm starting to learn Clojure using using Lein, however I can't see to get lein to work properly. I used the Windows installer and everything seemed to work fine; no error message and all code I enter in REPL works fine. However when I try to run an example from the book I reading ("Programming Clojure" by Stuart Halloway) I get an error message.
Specifically the book has a section on using libraries where it shows how to use an example from the source code provided. It shows to enter (require 'examples.introduction) . The error message I get is:
FileNotFoundException Could not locate examples/introduction__init.class or examples/introduction.clj on classpath: clojure.lang.RT.load (RT.java:443)
I know that the introduction.clj file exist at ../Desktop/Programming/code/src/examples/introduction.clj and there is also a project.clj file that exist at ../Desktop/Programming/code/project.clj
From trying to provide the path in different formats, and what I've read online, it seems like I need to set the directory of my project for lein to find the ../examples/introduction.clj , but I haven't found how to do this. I've read the tutorial on lein website and have tried going through it step by step but still nothing.
Can anyone provide guidance on how I can get lein to find the file that I specify using the (require) ? This is the first day I'm using Clojure. Thanks in advance.
|
|
|
|
|
Set your classpath variable to include the full path of the directory, e.g. C:/Desktop/Programming/code/src .
Use the best guess
|
|
|
|
|
Hello, not sure if I am in the right spot to post my question about PowerShell/PowerCLI
I have a script in powershell that will send an email to an outlook client. The msg body will have values regarding to two things: Active Snapshots in the virtual environment and CD ROMs attached to the VMs.
Let's talk when the email reports more that one CDRoms attached, how do I increase or decrease the msg body depending of the results gathered from the virtual environment ?
So, far I have this code:
if (($Snapshots -eq "yes") -or ($cdroms -eq "yes"))
{
$array0 = @()
$array1 = @()
$array2 = @()
$array3 = @()
start-sleep 1
connect-VIServer $vcserver
$array0 += Get-VM | get-snapshot | %{$_.VM.Name}
$array1 += Get-VM | get-snapshot | select-object -expandproperty Name
$array2 += Get-VM | get-snapshot | select-object -expandproperty Created
$array3 =@(Get-VM | where { $_ | Get-CDdrive | where { $_.ConnectionState.Connected -eq "true" } } | Select-object -ExpandProperty Name)
$i = 0
$j = 0
Do {
$msg.Body += "<FONT COLOR=black>VMware HealthCheck vCenter2</FONT><BR><BR>" + `
"<B><FONT COLOR=black>Snapshots Active</FONT></B><BR>" + `
"<B><FONT COLOR=black>VM Name</FONT></B>"+`
"<B><FONT COLOR=black> `
Name</FONT></B>"+`
"<B><FONT COLOR=black> `
Created</FONT></B><BR>"+`
"<FONT COLOR=Red>"+$array0+"</FONT>"+`
"<FONT COLOR=Red> "+$array1+"</FONT>"+`
"<FONT COLOR=Red> "+$array2+"</FONT><BR><BR>"+`
"<B><FONT COLOR=black>CDROMS Connected (Bad Habit)</FONT></B><BR>"+"<B><FONT COLOR=black>VM Name</FONT></B><BR>"+"<FONT COLOR=Red>"+$array3+"</FONT>"
$i++
$j++
The output i get is:
From: VMware Healtcheck
Sent: Thursday, June 20, 2013 1:26 PM
To: Me
Subject: VMware Health UPIvCenter2
VMware HealthCheck vCenter2
Snapshots Active
VM Name Name Created
VEEAM1 VEEAM1 Test1 Test2 06/20/2013 09:06:09 06/20/2013 09:31:15
CDROMS Connected (Bad Habit)
VM Name
MAILGATE
And would like to have is:
From: VMware Healtcheck
Sent: Thursday, June 20, 2013 1:26 PM
To: Me
Subject: VMware Health UPIvCenter2
VMware HealthCheck vCenter2
Snapshots Active
VM Name Name Created
VEEAM1 Test1 06/20/2013 09:06:09
VEEAM1 Test2 06/20/2013 09:31:15
CDROMS Connected (Bad Habit)
VM Name
MAILGATE
I can have multiple snapshots or multiple VMs with CD Roms connected. Thanks for your help.
|
|
|
|
|
I never thought that I would one day ask this question or anything like it. But here goes ...
I'm running Ubuntu 12.10. I want to run your "Desktop Display" program. The instructions tell me to run two lines of code:
ImageStreamingServer server = new ImageStreamingServer();
server.Start(8080);
Where and how????
I presume I have to create a java file, but how?
Thanks in advance.
|
|
|
|
|
Member 10115288 wrote: I want to run your "Desktop Display" program. Who is this message supposed to be aimed at?
Use the best guess
|
|
|
|
|
|
i have created a Wpf Database Application.
Now i want to make Setup for it to install on clients machine.
But it should be Activate for only 1 year without Internet connection.
How can i do this Activation.
Help me.
|
|
|
|
|
Hi, if you're reading this, thanks for taking the time to help me with this.
I have been given an assignment in which I need to remake the game Reversi/Othello in MatLAB using an 8x8 matrix where black is 1 and white is -1, and have a functional GUI.
I have been able to do the GUI etc, by myself, but when I reach the point where I need to allow for only valid moves, I become a little stuck.
I was curious if any of you would know of a way in which that could be done, because I've hit a road block. Essentially I need to scan all 8 directions of the matrix from the centre point, and find a valid combination of player_number*-1, in a row which end in a player_number (where player_number is the current players turn), but I am not sure how to accomplish this.
Again, thanks for your time.
|
|
|
|
|
|
|
Proxy can help you. try it!
/* LIFE RUNS ON CODE */
|
|
|
|
|
Imagine that I use to explore with my mind a particular topic and I want to map and model the mechanics of that exploration. That's mostly metaphysical. I have a partner called "name a programming language" with whom I must communicate in its terms. Which would be that best programming language, and which would be the basics that I must "know" in order to pass my ideas to him properly? Since I'm a philosopher, with this I mean using the elements of my natural language skills that match with the language syntax, and using them in the proper context, in order to "program" at the highest level possible. It's true that my program won't run yet but for me this is not an obstacle at all (yet), as when one writes a book one can start by writing the index. Some programmers will consider this index or highest level programming (so to speak) as mostly void stuff coz it lacks of the proper mathematical meat that the interpreter use to eat in order to do lots of things that look amazingly useful, and in a sense they are right. But that's not the point. The point is that as soon as I can I would start to dig deeper in that structure and build the proper meat that my highest level labels are still just naming. What if using my ability to name what I actually think and recognize the path of whichever method I call for my object of thinking, I'd like to start setting a context for further immersion (immersion with advanced mathematical notation and that? Somebody commented me about a couple of basic elements of mathematical notation which I'm familiarized with, like +, -, /, =, 1,2,3,4,5,6,7,8,9,0, (), etc. I think I know that any programming language has its set of keywords, and that there's also a proper way in which one must express structures in a given language, proper way which I'm not familiarized with but I'm able to learn. Does this sound possible?
For me, starting with a programming language is an affair of connecting with it. It's not about including it in me or including me in it, but a kind of symbiotic relationship. Unless for me, using my natural language as far as I can, but constrained (formalized) by the programming language's syntax in order to model using objects and describing methods and classes that are still unable to run (yet) seems to be a good starting point for a symbiotic relationship.
Understanding might depend on my ability to set myself in the shoes of another.
Any clue? This is a real goal that I'm looking to accomplish, so any question that would clarify a bit more my doubts will be highly appreciated.
|
|
|
|
|
Funnily enough, we had someone here a while back who went by the pseudonym "The Grand Negus". He came up with this[^]. I had a play with it - it wasn't suited to my needs with regards to commercial development, but it was fun to play with. You might get some joy from this.
|
|
|
|
|
I really hope someone here knows a bit about discrete math. Here's my problem:
A standard notation for the number of partitions of an n-element set into k classes is S(n, k). Because the empty family of subsets of the empty set is a partition of the empty set, S(0, 0) is 1. In addition, S(n, 0) is 0 for n > 0, because there are no partitions of a nonempty set into no parts. S(1, 1) is 1.
A) Explain why S(n, n) is 1 for all n > 0. Explain why S(n, 1)is 1 for all n > 0.
B) Explain why S(n, k) = S(n - 1, k - 1) + kS(n - 1, k) for 1 < k < n.
C) Make a table like Table 1.1 that shows the values of S(n, k) for values of n and k ranging from 1 to 6.
Table 1.1 is [Pascal's triangle].
I'm not asking you guys to DO my homework. I'm just asking for some help with this one problem. Maybe some guidance as to what I should do.
Thanks!
|
|
|
|
|
That's a mathematics question, whereas this site is for programming questions.
Use the best guess
|
|
|
|
|
Nevertheless the answer is probably 2
Cheees,
Edo
|
|
|
|
|
Long time reader, first time poster here! I'm looking for a suggestion for a solution here that I have either over-thought or I'm not asking the right questions, so much I need a fresh perspective.
I wrote a vb.net application. One feature of the program is that it can wait for and parse XML data in order to present certain notifications to the user. I set this up using a FileSystemWatcher on a local directory to keep an eye out for incoming XML files. These XML files (<1K, maybe 1-2 dozen elements) are generated by another vb.net app that watches for text files on a network share.
My problem is that I need a simple and effective way to get this data fed to the client over the web. Using the setup I have now, I will have several dozen laptops on different networks and it will be too complicated to get them all on a VPN to watch the same network share waiting to parse text files. I would rather implement a solution that sits on a web server, and the web server pushes data to a client on any network.
Like I said, this probably exists and I'm over-analyzing my problem. I'm willing to write it or modify my main vb.net app if it's possible to watch for incoming data from http. It could be a file push, it could be a data stream, feed, whatever.
Any input on a simple practical implementation?
|
|
|
|
|
Hi
I'm no web expert, so don't take the following too serious
It is not entirely clear for me if you have a specific client in mind or if a browser would do just as fine as parts of the existing vb.net app. It depends on your possibilities to host the server solution.
If you have access to port 80 of a public ip address on a machine which can run the vb.net app, then i think that splitting the existing app in a server and a client part could be the quickest solution and it would preserve the original UI.
If there's no easy solution for push notification then maybe polling could already be sufficient, depending on the available server capabilities and the number of targeted clients.
I googled for "simple vb.net http server" and found the following results interresting:
Embedded .NET HTTP Server[^]
http://stackoverflow.com/questions/6883364/simple-net-based-http-server[^]
http://www.informit.com/guides/content.aspx?g=dotnet&seqNum=784[^]
|
|
|
|
|
|
JMU Duuuukes wrote: and the web server pushes data to a client on any network.
Why does it have to push the data? Why can't the clients poll for it?
|
|
|
|
|