I think Jeff Sutherland is right when he says one of the biggest problems of organisations is to remove impediments, even with help. Good luck!
Moak
Posts
-
Start page layout broken when using AdBlockPlus -
Start page layout broken when using AdBlockPlusNo that's not entirely true, you see the layout problems with NoScript alone. The potential adblocker/noscript does not remove partial JavaScript, the problem is a single 3rd party external script, which if not loaded will cause the frontpage layout to fail. Surfing the rest of the site seems to work fine, I use FF with NoScript and had no problems with posting and voting. Makes me wonder why does an advertiser network have to provide executable code to thousands of users?
-
Start page layout broken when using AdBlockPlusTechnically it is not an adblocker causing the problems, it's a 3rd party JavaScript from lakequincy.com. Using Firefox with NoScript will lead to the same layout problems, right? /M
-
which protocols are important of the network protocol.?I agree with you. It's a lot of information, so how can someone decide which protocols are important? Well, depends on who you are asking. If you are a beginner most in this book isn't needed, the author is a legend in his field, but I would rather start with practical experience to make yourself familiar with one thing at a time. There are very few cases where someone would need to know all low-level and high level-protocols in use like ARP, ICMP, IGMP, DNS, TFTP, BOOTP, TCP, TELNET, FTP, HTTP, SMTP and DHCP. I would pick one that you are interested in and then dig deeper. If you are already familiar with networking, let's say using TCP/UDP/DNS, it could be interesting to dig deeper and see how things work in detail and how on a deeper OSI-level. Let's say how IP/TCP/UDP/routing/switching/ARP works, definitely worth the time in the log run! But it could also that you want to specialise in application layer protocol design, then it would be better to focus on HTTP/IMAP/SMTP/POP/XMPP, the theory and design decision behind them. Another area to specialise is encryption, which algorithms have been used trough time, how to exchange keys/certificates and how communication integrates with applications. Regarding Volume 2, not sure. The only book from W. Richard Stevens I personally own is UNIX Network Programming: Networking APIs: Sockets and XTI. Very detailed book, he really enjoyed writing about the topic and it's a classic if you are into network programming. Hope it helps! /M
-
timeout problemALLERSLIT wrote:
Now this works perfectly fine if the webserver is working well, but sometimes it just sits there trying to recv() forever.. Iam not exactly sure what causes it but either way, I need a way to set a timeout or something similiar..
There are multiple choices: - adjust the send/receive timeouts with setsockopt(), see
SO_SNDTIMEO
andSO_RCVTIMEO
- use non-blocking/asynchronous sockets, makes event based applications so much easier - use a C++ networking library/API offering timeouts or search for a HTTP client class, would be my recommendation
Happy coding! :)Chat in Europe :java: Now with 24% more Twitter
modified on Friday, November 19, 2010 8:40 PM
-
Get Port Banner?ALLERSLIT wrote:
Banner is like a name that identifies the service that runs on the port. Iam just look for a way to identify what service/program runs on a port.
Check the HTTP response headers. Some web servers include a
Server
header in every response, e.g.Server: Apache/1.2.3
. Practically, you take a HTTP client class, make a dummy request and evaluate the response headers. It's a simple way to identify the web server software running on that port, it is not reliable as you can often configure or omit this information on the server side. Happy coding! :) -
Robocode in C++Had great fun at a virtual robot coding night, using http://robocode.sourceforge.net/ where you develop a robot in Java or .NET to fight against others robots. I am now looking for a C++ version, is there a Robocode or similar game, ideally with similar API to reuse your robot strategies? Thanks for tips! :)
-
890818 - message dispatchingWhat does the 890818 stand for? *curious*
-
Tracking application crashes in 'C'coder21k wrote:
What is the best way to track/troubleshoot the 'crash' errors like NULL pointers, memory crashes, etc? As the application is a huge code base, I am looking for one smart way to track the application crashes.
Write a crash report to identify application version, environment, registers, calling stack etc. Then assign each maintainer time to investigate and fix crashes, for a huge code base you probably have multiple teams/maintainers. If you have a ticket systems for defects the teams can create individual bug tickets after investigation and narrowing down the cause of a crash, marked as important. Application crashes are not only annoying for end users, they should be handled with high priority because they could be a sign for quality/security/development weaknesses. As an alternative you could add stress and penetration tests to your test strategy. Hope it helps :) /M
-
How can use Time Out for any function or thread?There are non-blocking sockets or HTTP libraries/classes you could use. Good luck! :)
-
Cloud ComputingCloud Computing is like sex in high school: Everyone is talking about it, not many are actually doing it, and none are doing it well. Jack Daniel, found on Twitter
-
CImage and transparencytransoft wrote:
GDI+ is not working properly under windows 7
Can you give an example... do you mean performance problems with alpha blending on Windows 7?
-
Using WIN32 to Web server to send request,how to remove the HTTP response header Information!Skip over the double newline (as defined in RFC 1945, RFC 2616) -or- use a networking library with a HTTP client.
-
ChatroomChris Maunder wrote:
The problem I have with Chatrooms is that they can get out of control quickly [...] difficult to moderate in any sensible or meaninful way.
Why? Moderated chatrooms have been around since the 90s. Considering a closed chatsystem for CodeProject members, you could even ban abusive members in retrospective.
-
ChatroomGood suggestion. Synchronous communication (chatrooms) could be an extension to the form of asynchronous communication found at CodeProject (forums, Q&A, blogs). Chatrooms should not be thought as a thread to replace the forums, some people prefer one or the other form of information exchange over the other. I guess informal communication happens usually in a chatroom. It could also help to collaborate and answer quick questions. When I was still active in Q&A some members clicked on my profile and found the link to my online chatroom... which did provide just that: answer quick questions. /M
Chat in Europe :java: Now with 24% more Twitter
modified on Sunday, October 24, 2010 5:30 PM
-
Project type for remote file accessseifwen wrote:
Is Peer-to-Peer file transfer method safe? Or it is as safe (or as vulnerable) as the socket layer underneath it?
The P2P networking model is only as safe as the underlying transport being used... e.g. use a standard TLS library for secure TCP connections. If properly integrated into your application (automatic certification handling or manual validation, etc), this should be able to fulfil requirements for a medical project.
seifwen wrote:
Peer-to-Peer operates differently from client-server model.
Yes, they are pretty much the opposite. In a P2P network every node can be client or server (in theory), information/services can be distributed and provided from multiple sources, no centralised architecture.
seifwen wrote:
What is the difference between Peer-to-Peer and cloud computing?
Cloud computing is a buzzword to describe an application/business model with a tendency towards client-server model, as far as I understand. On the other hand, P2P is a technical term to describe a networking model (P2P can be part of a cloud's networking architecture, however not typically used). Hope those answers helped. :)
Chat in Europe :java: Now with 24% more Twitter
modified on Saturday, October 23, 2010 8:22 AM
-
Project type for remote file accessYour description sounds like peer-to-peer file transfer. See peer to peer section at CodeProject and Wikipedia for some overview.
-
Auto Update My Application...loid grey manuel wrote:
lets say its an application that collects updates from a common share-point.
I used a repository with version information, the application checks what needs to be downloaded. After successful download, checksum verification and unpacking the updater checks modification time on a per file basis, to decide which binary really needs to be replaced. If you plan to update multiple files, make sure they will be replaced together (to avoid dependency issues). To my knowledge there is no simple automatic update mechanism on Windows, you probably need an extra executable for: stopping your application, replacing files and restarting you application again (all should be UAC compatible for Vista/Win7).
loid grey manuel wrote:
and what are the common protocol and ports used for connection?
I did all network communication via HTTP, this means repository and downloads are on a web server. Hope it helps. :)
-
Voting rightsChris, let's say you have the occasional black sheep covered, then everyone should be fine and there should be no voting problem for most. But since the topic comes up again and again and angers members... I am asking myself if there is something left to be improved (such as a faster admin response time or more tools for peer review)? I'd say you are not covered, the occasional univoter trolls are still able to cause trouble. Luckily I miss most of the voting trouble, because I am rarely posting in the Lounge. :)
-
Voting rightsHm... since many are so concious about their CP reputation, would it help to show voting statistics on the members profile pages (e.g. average of given votes for total/year/week)? Call it karma indicator. :)