Author Topic: Really?  (Read 3687 times)

0 Members and 1 Guest are viewing this topic.

Offline zombie67

  • Jr. Member
  • **
  • Posts: 8
    • View Profile
Really?
« on: April 18, 2012, 01:54:41 am »
Is there going to be boinctasks for iOS?  That would be awesome!  How real is this?  Any idea for when?

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3401
  • eFMer
    • View Profile
    • Trails
Re: Really?
« Reply #1 on: April 18, 2012, 10:13:53 pm »
Is there going to be boinctasks for iOS?  That would be awesome!  How real is this?  Any idea for when?
1) For now BoincTasks Webserver can be used. Check it out.

I will expand it with features to select the computer and to start stop tasks.

2) Apple charges a $99 fee a year and it is a yearly fee.
And..... I need a MAC for development, that I don't have. :-[
Building it for iOS is lots of work and it's very specific to the OS.

3) So I probably enhance on 1) and start using more of the HTML5 features.
This way I stay independent from the OS.

Offline zombie67

  • Jr. Member
  • **
  • Posts: 8
    • View Profile
Re: Really?
« Reply #2 on: May 06, 2012, 07:18:02 am »
Heh.  As a mac user, I am running boinctasks via wine.  And I have not been able to get the webserver thing to work.  So for me an ios app is even more important.

Question:  Not able to run OSX in a VM for development?  I am not sure myself.  Never needed to try.  :D

I would be willing to cover the yearly fee for several years up front, if that would help.

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3401
  • eFMer
    • View Profile
    • Trails
Re: Really?
« Reply #3 on: May 06, 2012, 10:45:14 am »
Heh.  As a mac user, I am running boinctasks via wine.  And I have not been able to get the webserver thing to work.  So for me an ios app is even more important.
The Webserver may be too much Windows for wine.

I've been testing OSX in virtual box.
That works sort of.
But the screen resolution is a bit low and it lacks speed, it's a bit slow.
This will slow down development considerably, too much for my taste.

So the only viable option is to buy a MAC.  :o But they lack the real performance I have now and are a lot more expensive.

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3401
  • eFMer
    • View Profile
    • Trails
Re: Really?
« Reply #4 on: May 10, 2012, 05:37:37 am »
I just tested the webserver. Running VM VirtualBox with OSX Lion and WineBottler, it works fine.

Did have to change the port.
Extra->BoincTasks Settings -> WWW Enable Webserver on port 8080

In Safari set: http://xx.xx.xx.xx:8080/
xx.xx.xx.xx your local ip address.
Normally localhost should work as well.

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3401
  • eFMer
    • View Profile
    • Trails
Re: Really?
« Reply #5 on: July 31, 2012, 02:59:11 pm »
V 1.38 is fully tested with Wine, so the WebServer now called BoincTasks Mobile should work just fine.

Offline zombie67

  • Jr. Member
  • **
  • Posts: 8
    • View Profile
Re: Really?
« Reply #6 on: August 01, 2012, 12:14:09 am »
I just tried it with 1.38, and still no change.  boinctasks is running inside crossover on my mac.  Browsers on my mac cannot connect to localhost:8080, or 192.168.1.56:8080.  Is there something in the mac preferences that has to be turned on?  I looked all around sharing, and could not find anything.  And the firewall is turned off.  Or maybe there is a setting I have to use with crossover?  But I can't find anything obvious.

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3401
  • eFMer
    • View Profile
    • Trails
Re: Really?
« Reply #7 on: August 01, 2012, 09:49:10 am »
In the folder of BoincTasks.exe
Make a sub folder: log

In that folder create a file log.xml
Use a simple text editor and place the following in the file:

<log>
   <options>
      <fileonly>         0   </fileonly>

      <force_debug>         1   </force_debug>
      <history_fetching>      0   </history_fetching>
      <tasks>            0   </tasks>
      <tthrottle_communication>   0   </tthrottle_communication>
      <tthrottle_data>      0   </tthrottle_data>
      <tthrottle_read>      0   </tthrottle_read>
      <tthrottle_graphic>      0   </tthrottle_graphic>
      <snooze>         0   </snooze>
      <temperature_gpu>      0   </temperature_gpu>
      <directory>         0   </directory>
      <search_computers>      0   </search_computers>
      <connecting>         0   </connecting>
      <closing>         1   </closing>
      <notices>         0   </notices>
      <mobile>         1   </mobile>
      <heap_check>         0   </heap_check>
      <mobile_script>         1   </mobile_script>
      <mobile_connect>      1   </mobile_connect>
      <mobile_connect_dump>      1   </mobile_connect_dump>
   </options>
</log>

Go to Extra->Mobile and make sure:
"Enable" is checked.
The port is set.

Restart BoincTasks.
Got to  Show->log

You should see this:

01 augustus 2012 - 11:37:21 Logging ---- mobile
01 augustus 2012 - 11:37:21 Logging ---- mobile_connect
01 augustus 2012 - 11:37:21 Logging ---- mobile_connect_dump
01 augustus 2012 - 11:37:21 Logging ---- mobile_script

If not the file isn't in the right place.

Start the browser (http://localhost:8080) and see if something is put in the log.

Send me the entire log, so I can see what's going on.

Next Go to Extra->Mobile and set a port like 56000.
Check with the browser if you can connect

If the result is still 0.

In Safari (I don't have the English version)

Press Alt.
A menu should appear.
Select the second item, the last one in the list is probably preferences.
Open it and go to the last tab (advanced)
Select the last item (Debugging menu?)

Now click in the middle of the browser page.
Click on the right mouse button and select Inspect.

Select the network tab and see if something happens when you activate http://localhost:8080

Offline fred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3401
  • eFMer
    • View Profile
    • Trails
Re: Really?
« Reply #8 on: August 01, 2012, 03:01:21 pm »
I tested the following:

Mac OS X Lion in Oracle VM
BoincTasks 1.38 (32 bit)

Run http://winebottler.kronenberg.org/

Set port to 8080.

Set Safari to: http://localhost:8080

Works just fine...... 8)