|
|
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?
|
|
|
|
|
Thanks everyone for the input! The reason I'm trying to stay away from polling is that I need it to be "real-time" notifications. I started with a model polling every few seconds but realized that probably was impractical for many reasons. Soon after I posted this question I began experimenting with DropBox (See I said I just needed to walk away from the problem for a moment); I have a file generated server side that drops into a folder synced by DropBox and then any client connected online would see that file pop up on creation. It's crude but that's basically the model I want and it works well until I have a solution finalized. Heck I may just use DropBox for this but it's probably a violation of their terms of service.
These all look like great places to start working.
|
|
|
|
|
How about the common chat-room idea where there is a server and clients.
There are tons of examples of various implementations bases on TCP.
In your case if I undestand correctly you only need the server to send messages (xml) to the clients.
If you need some links, let me know.
Cheees,
Edo
|
|
|
|
|
That sounds like it is exactly what I need. If you know of any great links please do share them.
|
|
|
|
|
What is the programming language of your choice?
Cheees,
Edo
|
|
|
|
|
I'm working in VB.NET. Thanks.
|
|
|
|
|
|
|
Hello - Is it possible to have about 1K of space to make notes within our profiles?
|
|
|
|
|
You can post blog entries in your profile space.
One of these days I'm going to think of a really clever signature.
|
|
|
|
|
What i meant was 1k space for personal notes for stuff related to THIS website so i dont have to save notes in a notepad file on the desktop.
In those notes i would store info about who i have helped and wether they pursued the advice and gave feedback which would benefit other users in the future or wether they just copy pasted the code and moved onto the next homework assignment.
With the general idea of weeding out the lazybone ones from the comitted ones.
|
|
|
|
|
Wouldn't it be easier to just not worry about that?
|
|
|
|
|
At some point users with a high enough score get (a considerable amount of) personal space.
I guess a couple of Ks would be easily implemented and might be a suggestion for the admin dudes.
But I also think its not a very common requirement.
Cheees,
Edo
|
|
|
|
|
Hi all, In need of advice. Here is a problem. Our company has got really talented software developers. When they are available we a looking for new projects. That`s why we decided to create a group in social media where the customers and developers can meet. It would be a place where they can share information, ideas and programming techniques.
But how should we attract the right people? What is your criterion for joining groups?
|
|
|
|
|
Hello Sveta,
Well that depends on what your looking for - in this case, you should ask yourself this question: To whom am I catering too? What can (my company do) for them?
This may seem like a broad question to ask yourself - but in the long run it will help you find what you are looking for.
Best of Luck!
With Kind Regards,
April
Comm100 - Leading Live Chat Software Provider
modified 27-May-14 8:39am.
|
|
|
|