Jump to content

  • Log In with Google      Sign In   
  • Create Account

Key_46

Member Since 25 Sep 2005
Offline Last Active Yesterday, 03:29 PM

Posts I've Made

In Topic: c++ directX app crashes

26 November 2014 - 03:59 AM

Interesting... Are you compiling the framework yourself? If so which libraries the solution is linking?


In Topic: urllib2 - Website loads fine in browser but not in Python

08 July 2014 - 09:46 AM

Yes, that worked wonderfully. Thanks!

 

For the future, how were you able to diagnose what the problem was?

Since the request was working on my browser I tried to match the header exactly. I enabled the debug verbose for the opener to see what it was sending:

 

opener = urllib2.build_opener(urllib2.HTTPHandler(debuglevel=1))


In Topic: urllib2 - Website loads fine in browser but not in Python

08 July 2014 - 09:14 AM

In my case the webserver was not accepting the default User Agent from urllib2. Try changing it:

 

opener.addheaders = [('User-agent', 'Mozilla/5.0')]


In Topic: What type of programs can I work on to apply Linear Algebra concepts

18 December 2013 - 10:08 PM

The machine learning, computer vision, data mining are field is full of linear algebra, and so Facebook, Google and Twitter are also full of linear algebra.


In Topic: IDE for C++ Programming

10 September 2013 - 07:07 AM

Well CB doesn't offer the features that visual studio does, but it's a bit more flexible. You can use any compiler you want, the VC++ compiler if you want, while visual studio is stuck to it's only one.

 

Technically not true, since Visual Studio does support makefile projects it can be used with with any tool/compiler. As an example I used it with Mingw to build homebrews for Nintendo DS.


PARTNERS