Qt torrent example stuck at searching - qt

i have a problem.
I am working on download-only bittorrent client. Everything was going well,
but i had a pause about 2 weeks, while i changed nothing. Now i my program is stuck at searching. I also tried the qt torrent example. Same problem there on both PCs. Linux/Windows 7/Windows 8 (all 64-bit). Do u know what can cause this problem? Also tried to turn on/off firewall. No change.
I have it as a school project, im pretty scared about making totally new code, if i have about 2 weeks to finish it.
Here is the link of qt-example
http://qt-project.org/doc/qt-4.8/network-torrent.html
Thanks for help
Martin

Related

Rendering math in offline copy of a website

My internet connection is really sketchy where I live, so I downloaded this website. The website is a question bank for all of my classes. It is really helpful so have it offline so I used a program called HTTRack to mirror the website to my desktop. Most of the questions I need are math and science based, so the code for the website has a lot of rendered math.
The problem is, the math isn't rendering in my offline copy. The math seems to render fine in the online version here: https://www.ibdocuments.com/IB%20QUESTIONBANKS/4.%20Fourth%20Edition/questionbank.ibo.org/en/teachers/00000/questionbanks/7-dp-mathematics-hl/questions/4504.html, but I don't know why I am unable to render it as well. I would've been able to solve it if I had the knowledge to code with these, but this is all very new to me and I have never worked with web files before.
Any and all help will be greatly appreciated!

Atmospherejs.com repo search unavailable for 3 days now?

I've just started using Meteor, absolutely loving it so far, but having issues with atmospherejs.com.
For the last 3 days (the entire time I've been using Meteor) I haven't been able to search for any packages. Every time I try I get "SEARCH SERVER UNAVAILABLE, PLEASE TRY AGAIN."
Is this a regular thing that is to be expected, maybe due to high traffic, or am I doing something wrong?
Apologies for the non-code related question but I googled and couldn't find any results so I thought I'd ask the community that are using it regularly on here.
Many thanks!

How did subversion get on my iMac

I retired and am teaching myself Unix, and C with anticipation of learning LUA after that in an effort to keep 'the little grey cells' active
Therefore, in using Unix I have discovered files that I know nothing about, nor does unix man. I found .subversion and related files on my computer and I sure do not remember installing them. I have googled and left questions on Apple community. But I thought that I would try asking here, and hope that this is not too general a question(s)?
Does this thing come imbedded in downloads, say LUA or something from GCC?
Can I just go ahead and delete all things subversion?
Thank you
Subversion and many many other open source apps come preinstalled on your mac - it was there when you got it.
I'd recommend not deleting it - It's not hurting anything and trying to 'clean up' could lead to some unintended consequences.
Some other places to check out on the quest to keep the gray cells going:
https://apple.stackexchange.com/ -- all things mac and apple
https://serverfault.com/ -- questions relating to administrating and
running your machine.

CriticalIOException when trying to call web service

I'm having a little trouble trying to make an HTTP connection on my Blackberry Torch 9800. Here is the line where the problem occurs:
HttpConnection connection = (HttpConnection)Connector.open(URL);
My phone has no data plan and I was trying to do this through wifi. I've been doing it fine this way for a few months now. But suddenly it's giving me a CriticalIOException.
Here is my connection string:
http://mysite.mycompany.com/mws/MyWebService/MyWebService.asmx;interface=wifi
I don't know why this is happening and I don't know what to do about it. Any help would be greatly appreciated.
Thanks!
Please, please don't keep using that legacy Connector.open() approach. This was the way connections were opened in JavaME, and since RIM built its libraries on top of them, they came up with a suffix-based hack to select the transport type. this caused dirty code prone to break, and caused so much pain to new developers (and also senior ones).
RIM introduced ConnectionFactory in OS 5.0 specifically to solve this kind of problems. This was back in 2008, guys we're in 2012!
Have a look at it.
Typically when using the wifi appender, the deviceside appender is used as well. I'm not sure if this is related to your problem, though.
;deviceside=true;interface=wifi

Slow solution loading in visual studio 2008

I am working on an ASP.NET 3.5 project which has 55 projects in a solution. When opening the solution in Visual Studio 2008, it takes over a minute to open - about 1 second for each project. However, if I disconnect the network cable before opening the solution, it only takes about 15 seconds! Any ideas about what could be causing the slowdown?
I had this happen to me back in the days when we were using Visual Source Safe.
Could be your source control plugin asking for updates if you have the solution under source control.
You should do some investigation, fire up Wireshark, start a capture on the interface in question and see what traffic is flowing over the wire.
Can I answer a question with a question? What is the secret to getting VS to not just die with that many projects, let alone load in a phenomenally quick 60 seconds?
At about 10-12 projects the compile time on Visual Studio becomes unbearable, at about 5-8 projects Resharper will crash. The IDE is such a memory pig that even opening more projects by using multiple instances of VS usually isn't an option.
Anyhow, it's all about memory usage and the odd ball out project is probably doing it, e.g. the one with the most files.
I had the same problem this week (5 years later!!). It was caused by a huge .suo file (almost 400 Mb), deleting it fixed the problem.
A few years ago I remember a colleague having some similar problem (with a lot smaller solution, and in VS2003). Can't remember the details, but I think it was related to the local ASPNET user account (or rather, that it did not exist). Not sure though...
As a side note: I usually find it more efficient to have perhaps around a handful of projects in each solution (usually one solution produces one or two assemblies used in production code), and then have a few Visual Studio instances running at the same time. 50+ projects in the same solutions feels like asking for problems.
Might be that you have other dependencies though, just wanted to share my thoughts.
which has 55 projects in a solution
WOW. I can't imagine what type of solution needs that many projects. The answer is probably that your source control provider needs to refresh the status of each of the items, all of which take time.
For edit-merge-commit style version control systems, such as subversion, this operation doesn't take place. Try temporarily removing source control from the entire solution to see if this is the culprit.
If your solution is attached to source control, then it is trying to load up the symbols and verify which items you have checked out. So, if you have a slow connection, it is oftentimes faster to take the solution offline.
http://www.tmgirvin.com/2009/03/working-offline-with-visual-studio-2008-and-tfs.html
EDIT
Another solution which I've seen used,
create a
_webTier.sln
_database.sln
_build.sln
( is your project name)
and each of those solutions is a self-sufficient part of the entire project, but that way if you are working on the webtier and you don't need the database project or the mobile project parts to load up, you can just open the webtier solution.
The build solution contains the entire package that needs to be built, and takes a very long time to load.
I had this problem on a development machine with no internet connection and it turned out that the problem was related to a setting in IE's internet options:
Control Panel -> Internet Options ->
Advanced -> Security -> Check for
publisher's certificate revocation
After making sure this was unchecked my solutions started loading quickly again.

Resources