Nov 24, 2008
Img_0004__small Ludovic Kuty 5 posts

Topic: Cocoa Programming / Web page fails to load if Internet access is proxied through socks

I forgot to mention that the problem occurs with the very first example in the book.

 
Nov 23, 2008
Img_0004__small Ludovic Kuty 5 posts

Topic: Cocoa Programming / Web page fails to load if Internet access is proxied through socks

Hello,

It took me some time to find out that the http://pragprog.com page fails to load when a socks 5 proxy is active. Or maybe any kind of HTTP proxy. It could be interesting for the readers to know maybe. Don’t think this remark belongs to the errata stuff, so I post it here. This really is a specific problem but it could happen to others.
In my case, the socks 5 proxying is done by SSH. So I have little room to experiment with sniffing.

Ludovic Kuty

 
Jan 25, 2008
Img_0004__small Ludovic Kuty 5 posts

Topic: FXRuby / Fxruby installation

I succeeded in using fxruby on Leopard.

I installed several things with macports. Among them another copy of ruby :/ Now I have three copies including 1.9.

mac:~ ludo$ port installed
The following ports are currently installed:

fox @1.6.31_1+darwin_9 (active)
fxscintilla @1.71_1 (active)
rb-fxruby @1.6.13_0 (active)
rb-opengl @0.32c_2 (active)
ruby @1.8.6-p110_0+darwin_9+thread_hooks (active)
...

But I have to prepend the following line to all fxruby examples to be able to use the right version of ruby (the one installed with macport and all the stuff that comes along): #!/opt/local/bin/ruby

Thus, for example:
#!/opt/local/bin/ruby require 'fox16' include Fox theApp = FXApp.new theMainWindow = FXMainWindow.new(theApp, "Hello") theButton = FXButton.new(theMainWindow, "Hello, World!") theButton.connect(SEL_COMMAND) do |sender, selector, data| exit end theApp.create theMainWindow.show theApp.run

I did so many things to make it work that I can’t tell if I forget something or not :)

 
Jan 21, 2008
Img_0004__small Ludovic Kuty 5 posts

Topic: FXRuby / Availability of images

That’s fine. I was talking about those image files. Thanks.

I should have wondered if there was a source tarball first ! Sorry :)

 
Jan 21, 2008
Img_0004__small Ludovic Kuty 5 posts

Topic: FXRuby / Availability of images

Hello,

Can we imagine that all the images in the book might be available on the web for us to download. I haven’t bought the beta book yet so I am just talking about the sample chapter. It is quite annoying to have those examples “crashing” because the image files do not exist. However I don’t know if there are copyright issues.

TIA,

Ludovic Kuty

5 posts