|
"Exception handled"
Like it.
Just because physics is all based on maths, Human brains not only work like computers but today I am told can even be read by computers and DNA is computer code it does not mean you are living in sim-city
|
|
|
|
|
What's strange here is we are debating Y2K and a quick Google would show that both sides have big ships in the debate and maybe it was a bad example for me to use Y2K, sorry, but as far as I know no big ships are sailing that question the need for Ipv6 apart from my little boat.
I am about to publish an XML file containing Whois records in an XML table that lists Whois records complete with country codes and ASN's that covers the range 0.0.0.0 - 255.255.255.255 (Yes i know some are reserved) and this took me about three months to collate because no one wants to give this data away for free even if they let people do a few free searches.
Whois records are for network ranges, ASN's group ranges to a parent, not all whois records will have an ASN but if they do then they should only ever belong to one ASN.
Whois uses main registrars such as Ripe, Apnic, Lacnis, Afrinic with much of the data being subdivide again and it is not possible to take a snapshot of the world due to the amount of data involved, distributions and the limitations place on retrieving this data.
As a result it's all becomes a bit of a mess and depending on where you get your data from you will see that they cannot even agree on country codes to use so it's not uncommon to see "EU" as a country and some servers mix up these codes because they return the country code of the parent record using ASNs codes and not the code for the child.
Often NetName are mixed up with company names, some net ranges belong to more than one ASN, well let's just say it all gets a bit mixed up in the post but 95% seem right without question.
I cannot say that the data is perfect but its as close as can be and if you import the data then you will all see that some large corporations are hoarding lots of Ipv4 addresses, far more than they ever need at this point in time and it is this that leads to the current state of affairs of running out.
I will not argue that we will be needing more addresses at some stage but I do object to this hoarding and the panic the corporate owned media is trying to create and I would like to think they will run out of addresses before we run out of ants in the world to implant with RFID's.
|
|
|
|
|
Hello all.
Can anyone offer some tried and tested options for .net audit libraries?
It would need to specifically support logging to a DB that we can roll at a configured number of records.
So far I've found one, but before I commit it's always worthwhile to check the community.
Thanks.
|
|
|
|
|
Out of Gang Of Four how many design patterns are minimum to know.Please mention those paterns.For both windows and web based programming.Thanks
|
|
|
|
|
One. Some. All? There is no minimum limit on knowing the patterns. I know many fine developers who write pattern based code without knowing any official patterns. I know some who insist on shoehorning every pattern you can find into a solution. The answer is, learn about them but don't get hung up about them. Ultimately, a pattern is a formalised label for something you should probably be doing anyway.
|
|
|
|
|
|
Pete O'Hanlon wrote:
I know many fine developers who write pattern based code without knowing any official patterns. ...
I'll drink to that.
Pete O'Hanlon wrote:
Ultimately, a pattern is a formalised label for something you should probably be doing anyway.
Design patterns are just another of the many "methadologies" that have come and either gone or got renamed. I think that what can be said about them applies as well to the others, such as Agile, SCRUM, and so forth. Used appropriately, all are good, and all have a place in your arsenal. However, since none is perfect, wise developers and teams usually develop a blend that meets their specific requirements, environment, and culture.
|
|
|
|
|
David A. Gray wrote: Design patterns are just another of the many "methadologies" No, they ain't.
A design pattern is a formalized block of code with a defined structure. It is a code-pattern, not a methodology.
They're not comparable to methodologies or best practices, and not the same beast.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Not true. A design pattern is a formalized template for a block of code. We used to call them algorithms. When the Gang of Four gave them a new name to sell their book, design patterns became a methodology. Do you know who Donald Knuth is?
|
|
|
|
|
David A. Gray wrote: Not true. So, it is not true because I did not call it a template? Meaning "design patterns" are a methodology?
David A. Gray wrote: A design pattern is a formalized template for a block of code. Where can I download the official templates? And what do you classify "official"? GoF had a pretty list, website and a book, but they do not own the term.
David A. Gray wrote: When the Gang of Four gave them a new name to sell their book We already had a null object and a memento in our codebase. Java-land was defining patterns every day.
A design-pattern is merely an OO-algorithm. At least, that is how it was explained to me at that time. My memento interface looks as if it is simply binary data that wants to be streamed to disk.
David A. Gray wrote: design patterns became a methodology Templates cannot be a methodology. A proven coding construct does not equal a proces. Things are not actions.
David A. Gray wrote: Do you know who Donald Knuth is? Never stop a good lecturing, go on
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
The minimum is zero; you can be accepted into developing positions without knowing a design-pattern.
After that you'll be introduced to code. At that point you'll at least need to learn the patterns that are used throughout the code-base. There's never a list, and in a team, no-one knows exactly.
As you progress, you should stay on the lookout to discover patterns you didn't already know. I'm trying to add one a month, but I forgot which month
A pattern is a known solution to a known and limited problem that can be re-used. It is rather beneficial to have them in code, as they are more easily read (once you recognize them) then code with an unpredictable layout. Knowing a pattern also means you have an accepted solution to a common coding problem, which means "the more, the better".
Once you are in that position, things start to click; you'll recognize them in the .NET framework, in code-examples and your own old code.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Eddy really you have a different idea.thanks
|
|
|
|
|
Gyanaranjan Dash wrote: Eddy really you have a different idea You're welcome, but I do not see much difference.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|
|
Hi,
Be aware that Gang of Four might not be the best book to start with. Browse the ratings on books that use language/modeling that is relevant to you.
Be aware that one man's pattern is another man's anti-pattern. Sell Singletons to your enemies and give Observers to your friends.
When you do dig into the Gang of Four and/or other books, please note that they are all about splitting communication and data up in interfaces, abstract and concrete objects in a specific way. This is what object oriented design is all about. The patterns are different standard design solutions.
EDIT: Forgot one. Please also notice that people "talks" patterns in different abstraction levels. Sometimes people refer to Intent of a pattern. Sometimes people refer to a standard design code solution. People focused on Intent will claim that an anti-pattern is nonsense. People focused on code solutions will claim that Singleton is an anti-pattern. Confused? Good, start reading
|
|
|
|
|
I am in the design phase of an app that will have a component like DropBox.
There's doesn't seem to be much info on their overall architecture. I'm guessing it's not much more than a folder watcher calling a WCF or MVC service.
Any reason I should not follow that model?
|
|
|
|
|
I'm pretty sure it uses a shell extension to implement the Drop Box folder. Shell Extensions are no laughing matter because they can be complicated.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Hi i am planning to design a cloud storage service using design patterns and uml
I identified following use cases
user signup
user sign in
manage folders like update delete edit share etc
upgrade account
sync data
manage profile
etc
i identified following classes
User class
account class
profile class
drive class etc
so now to extend further i want to know what all design patterns like factory pattern , observer pattern , decorator pattern can be used in designing this google drive.
can anybody help me in sending a class diagram for cloud drive
Thanks
karth
modified 27-Mar-15 14:50pm.
|
|
|
|
|
Member 11524998 wrote: i want to know what all design patterns like factory pattern , observer pattern , decorator pattern can be used in designing this You don't (read: shouldn't!) use design patterns for the sake of using design patterns.
Member 11524998 wrote: can anybody help me in sending a class diagram for google drive I don't think anybody but Google will have that.
No offense intended but your question strongly indicates that this kind of project is some orders of magnitude beyond your current skill set. I would recommend you to start a bit smaller.
|
|
|
|
|
He is looking for help with his college project.
He won't be doing something like this for any other reason.
That is also why he is asking what design patterns he should be using. The instructor told him to use as many as possible!
|
|
|
|
|
Vivic wrote: That is also why he is asking what design patterns he should be using. The instructor told him to use as many as possible! I would recommend making sure there wasn't a misunderstanding. If the instructor said "use design patterns wherever reasonable" it would make sense.
Vivic wrote: He is looking for help with his college project. Wouldn't you consider asking for a ready made class diagram cheating? To me it looks like a pretty big and important part of his project.
I would find it more reasonable if he already had designed something and would ask for feedback on that.
|
|
|
|
|
Sascha Lefévre wrote: Wouldn't you consider asking for a ready made class diagram cheating?
Yes.
Sascha Lefévre wrote: if he already had designed something and would ask for feedback on that.
The scope of a real application wouldn't be presentable at the level posted by the OP here.
Conversely the content of the OP is something would expect to see as something like a major project in a college level course.
|
|
|
|
|
Check out the guy's location: India.
Definitely a college project.
Send codez plz! Urgent!
|
|
|
|
|
Hi, im new to "via internet communication". I have an experience in VB.Net application development and some embedded device like arduino and raspberry pi. I just want to learn how can i transfer data from my .net application to my embedded device. What i have done before,
1.i registered for free web hosting that support PHP and SQL database.
2. wrote PHP code that will receive data from .net application and store the data to sql database.
3.develop my .net application that will parse the data to the PHP in the webserver.
4. write code for my embedded device, where it will retrieve the data that has been stored in the SQL database.
by doing this, it looks like my application is "talking" to my embedded device. So i would like know, is there any smarter way i can achieve my objective?
|
|
|
|
|
It largely depends on what interfaces you have available at your embedded device. If it can connect to your PC by serial or USB, then you have serial communication. If by Bluetooth/WiFi/network then you could have socket connection.
|
|
|
|
|
Can you define "smarter"? Does that mean sending less bits, keeping the connection open for a shorter time, what?
If your communication is message-based, then yes, http would be a nice protocol. It is well defined, documented and tested. If you need to stream, I'd go for a simple socket.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
|
|
|
|