<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Berkelium</title>
	<atom:link href="http://www.sirikata.com/blog/?feed=rss2&#038;p=115" rel="self" type="application/rss+xml" />
	<link>http://www.sirikata.com/blog/?p=115</link>
	<description>a BSD licensed open source platform for games and virtual worlds</description>
	<lastBuildDate>Thu, 02 Sep 2010 20:55:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Ewen CheslackPostava</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-238</link>
		<dc:creator>Ewen CheslackPostava</dc:creator>
		<pubDate>Thu, 02 Sep 2010 20:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-238</guid>
		<description>The extra executable is the model Chromium uses to sandbox its browser windows/tabs, so that&#039;s not going to go away.  If you run Chromium/Chrome, you&#039;ll notice a bunch of chromium-browser processes, many of which are --type=renderer.   
 
It might be possible to disable the sandboxing and have it run the renderer in the same process, thus only requiring the dll.  Otherwise, the callback to ErrorDelegate might be possible.  I think allowing customizing the exe name wouldn&#039;t be too hard and should be able to accept parameters as well so you could use the same approach as Chromium where the renderer processes just take a special parameter.  This would require you to include code similar to that used by the berkelium.exe executable. 
 
Your best bet is to propose an approach on the dev list  &lt;a href=&quot;http://(http://groups.google.com/group/platformtalk/topics)&quot; rel=&quot;nofollow&quot;&gt;(http://groups.google.com/group/platformtalk/topics)&lt;/a&gt;. </description>
		<content:encoded><![CDATA[<p>The extra executable is the model Chromium uses to sandbox its browser windows/tabs, so that&#039;s not going to go away.  If you run Chromium/Chrome, you&#039;ll notice a bunch of chromium-browser processes, many of which are &#8211;type=renderer.   </p>
<p>It might be possible to disable the sandboxing and have it run the renderer in the same process, thus only requiring the dll.  Otherwise, the callback to ErrorDelegate might be possible.  I think allowing customizing the exe name wouldn&#039;t be too hard and should be able to accept parameters as well so you could use the same approach as Chromium where the renderer processes just take a special parameter.  This would require you to include code similar to that used by the berkelium.exe executable. </p>
<p>Your best bet is to propose an approach on the dev list  <a href="http://(http://groups.google.com/group/platformtalk/topics)" rel="nofollow">(</a><a href="http://groups.google.com/group/platformtalk/topics" rel="nofollow">http://groups.google.com/group/platformtalk/topics</a>).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gogg</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-237</link>
		<dc:creator>Gogg</dc:creator>
		<pubDate>Thu, 02 Sep 2010 19:36:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-237</guid>
		<description>Me again! Here&#039;s a compromise, how about letting us know if berkelium.exe gets terminated through ErrorDelegate, so that we can finish the host application and tell the user to never terminate that process again? Know that depending on an exe would still be hackish for a library but this would make it an acceptable temporary solution. You should still consider removing it on the long term. 
 
Also, another simple thing to do would be to let us customize the name of the exe (maybe as a parameter to Berkelium::init()) without having to rebuild the SDK. That way we could easily rename &quot;berkelium.exe&quot; to the same name than our product. Say, if Starcraft used berkelium.exe, they could have named it &quot;starcraftb.exe&quot; and people would know that is related to the game and would not terminate the process. 
 
Thanks for your attention! </description>
		<content:encoded><![CDATA[<p>Me again! Here&#039;s a compromise, how about letting us know if berkelium.exe gets terminated through ErrorDelegate, so that we can finish the host application and tell the user to never terminate that process again? Know that depending on an exe would still be hackish for a library but this would make it an acceptable temporary solution. You should still consider removing it on the long term. </p>
<p>Also, another simple thing to do would be to let us customize the name of the exe (maybe as a parameter to Berkelium::init()) without having to rebuild the SDK. That way we could easily rename &quot;berkelium.exe&quot; to the same name than our product. Say, if Starcraft used berkelium.exe, they could have named it &quot;starcraftb.exe&quot; and people would know that is related to the game and would not terminate the process. </p>
<p>Thanks for your attention!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gogg</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-236</link>
		<dc:creator>Gogg</dc:creator>
		<pubDate>Thu, 02 Sep 2010 19:19:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-236</guid>
		<description>Nevermind, I realized what was going on. I hadn&#039;t copy berkelium.exe in my path. It isn&#039;t good that a library depends on an exe guys. So if a user goes to the task manager and terminates berkelium.exe my application gets crippled? Are you planning to re-architect this in a way that only a dll is required? The way it is now it&#039;s unusable for me. At least could you make it re-run berkelium.exe automatically if it&#039;s terminated. Well that wouldn&#039;t be good either, as state information would be lost. Please consider removing the exe. </description>
		<content:encoded><![CDATA[<p>Nevermind, I realized what was going on. I hadn&#039;t copy berkelium.exe in my path. It isn&#039;t good that a library depends on an exe guys. So if a user goes to the task manager and terminates berkelium.exe my application gets crippled? Are you planning to re-architect this in a way that only a dll is required? The way it is now it&#039;s unusable for me. At least could you make it re-run berkelium.exe automatically if it&#039;s terminated. Well that wouldn&#039;t be good either, as state information would be lost. Please consider removing the exe.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gogg</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-235</link>
		<dc:creator>Gogg</dc:creator>
		<pubDate>Thu, 02 Sep 2010 19:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-235</guid>
		<description>Hi, I&#039;m trying berkelium but I can&#039;t get it to call the onPaint event, this is what I&#039;m doing: 
 
class HtmlDelegate : public Berkelium::WindowDelegate { 
  void onPaint(Berkelium::Window *wini, 
        const unsigned char *bitmap_in, const Berkelium::Rect &amp;bitmap_rect, 
        size_t num_copy_rects, const Berkelium::Rect *copy_rects, 
        int dx, int dy, const Berkelium::Rect &amp;scroll_rect) { 
          cout &lt;&lt; endl &lt;&lt; endl &lt;&lt; &quot;--------PAINT------------&quot; &lt;&lt; endl &lt;&lt; endl &lt;&lt; endl; 
    } 
}; 
 
... 
 
  Berkelium::init(Berkelium::FileString::empty()); 
  html_context = Berkelium::Context::create(); 
  html_window = Berkelium::Window::create(html_context); 
  delete html_context; 
  html_window-&gt;resize(512, 512); 
  html_window-&gt;setDelegate( new HtmlDelegate() ); 
  html_window-&gt;setTransparent(true); 
  html_window-&gt;focus(); 
  std::string url = &quot;http://www.google.com&quot;; 
  html_window-&gt;navigateTo(url.data(), url.length()); 
 
... 
 
And then  in my main loop I call: 
 
Berkelium::update();  
 
...every frame. Am I missing something, or is there any way to get more information of what&#039;s going on? I wasn&#039;t able to debug inside init(). </description>
		<content:encoded><![CDATA[<p>Hi, I&#039;m trying berkelium but I can&#039;t get it to call the onPaint event, this is what I&#039;m doing: </p>
<p>class HtmlDelegate : public Berkelium::WindowDelegate {<br />
  void onPaint(Berkelium::Window *wini,<br />
        const unsigned char *bitmap_in, const Berkelium::Rect &amp;bitmap_rect,<br />
        size_t num_copy_rects, const Berkelium::Rect *copy_rects,<br />
        int dx, int dy, const Berkelium::Rect &amp;scroll_rect) {<br />
          cout &lt;&lt; endl &lt;&lt; endl &lt;&lt; &quot;&#8212;&#8212;&#8211;PAINT&#8212;&#8212;&#8212;&#8212;&quot; &lt;&lt; endl &lt;&lt; endl &lt;&lt; endl;<br />
    }<br />
}; </p>
<p>&#8230; </p>
<p>  Berkelium::init(Berkelium::FileString::empty());<br />
  html_context = Berkelium::Context::create();<br />
  html_window = Berkelium::Window::create(html_context);<br />
  delete html_context;<br />
  html_window-&gt;resize(512, 512);<br />
  html_window-&gt;setDelegate( new HtmlDelegate() );<br />
  html_window-&gt;setTransparent(true);<br />
  html_window-&gt;focus();<br />
  std::string url = &quot;http://www.google.com&quot;;<br />
  html_window-&gt;navigateTo(url.data(), url.length()); </p>
<p>&#8230; </p>
<p>And then  in my main loop I call: </p>
<p>Berkelium::update();  </p>
<p>&#8230;every frame. Am I missing something, or is there any way to get more information of what&#039;s going on? I wasn&#039;t able to debug inside init().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ric</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-232</link>
		<dc:creator>Ric</dc:creator>
		<pubDate>Wed, 02 Jun 2010 01:28:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-232</guid>
		<description>Tired compiling the glut demo  using the win32 sdk (http://sirikatawin32.googlecode.com/svn/trunk/). I just get a black box.</description>
		<content:encoded><![CDATA[<p>Tired compiling the glut demo  using the win32 sdk (<a href="http://sirikatawin32.googlecode.com/svn/trunk/" rel="nofollow">http://sirikatawin32.googlecode.com/svn/trunk/</a>). I just get a black box.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simie</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-225</link>
		<dc:creator>Simie</dc:creator>
		<pubDate>Thu, 25 Mar 2010 22:35:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-225</guid>
		<description>Have you encountered this error on Mac OS X before? 
&quot;LaunchApp: execvp(./berkelium) failed: Permission denied&quot; 
 
It has me very confused right now. Any ideas how to fix it? The crash occurs in the demo apps too. 
 
(This is snow leopard) </description>
		<content:encoded><![CDATA[<p>Have you encountered this error on Mac OS X before?<br />
&quot;LaunchApp: execvp(./berkelium) failed: Permission denied&quot; </p>
<p>It has me very confused right now. Any ideas how to fix it? The crash occurs in the demo apps too. </p>
<p>(This is snow leopard)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronen</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-203</link>
		<dc:creator>Ronen</dc:creator>
		<pubDate>Thu, 25 Feb 2010 04:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-203</guid>
		<description>Thanks! </description>
		<content:encoded><![CDATA[<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benjoTLV</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-202</link>
		<dc:creator>benjoTLV</dc:creator>
		<pubDate>Tue, 23 Feb 2010 10:44:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-202</guid>
		<description>Thank you so much for this Kevin! 
One problem though, I cannot run it... I get an unhandled exception when running BerkeliumSharp.exe (cannot load file or assembly BerkeliumSharp...) and I get a crash at start up when running BerkeliumXNATest.exe. 
Any idea? anything I am doing wrong? 
 
Thanks </description>
		<content:encoded><![CDATA[<p>Thank you so much for this Kevin!<br />
One problem though, I cannot run it&#8230; I get an unhandled exception when running BerkeliumSharp.exe (cannot load file or assembly BerkeliumSharp&#8230;) and I get a crash at start up when running BerkeliumXNATest.exe.<br />
Any idea? anything I am doing wrong? </p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Gadd</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-201</link>
		<dc:creator>Kevin Gadd</dc:creator>
		<pubDate>Tue, 23 Feb 2010 10:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-201</guid>
		<description>The demos come with all the necessary binaries. 
 
&lt;a href=&quot;http://berkelium-sharp.googlecode.com/files/BerkeliumSharpDemos.zip&quot; target=&quot;_blank&quot;&gt;http://berkelium-sharp.googlecode.com/files/Berke...&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>The demos come with all the necessary binaries. </p>
<p><a href="http://berkelium-sharp.googlecode.com/files/BerkeliumSharpDemos.zip" target="_blank"></a><a href="http://berkelium-sharp.googlecode.com/files/Berke.." rel="nofollow">http://berkelium-sharp.googlecode.com/files/Berke..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A managed WebKit library: BerkeliumSharp &#171; luminance</title>
		<link>http://www.sirikata.com/blog/?p=115&#038;cpage=1#comment-200</link>
		<dc:creator>A managed WebKit library: BerkeliumSharp &#171; luminance</dc:creator>
		<pubDate>Mon, 22 Feb 2010 03:54:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.sirikata.com/blog/?p=115#comment-200</guid>
		<description>[...] spent the past day or so hacking together a managed wrapper for Sirikata&#8217;s Berkelium library. Berkelium allows you to easily embed a WebKit-based browser into games and other applications. [...]</description>
		<content:encoded><![CDATA[<p>[...] spent the past day or so hacking together a managed wrapper for Sirikata&#8217;s Berkelium library. Berkelium allows you to easily embed a WebKit-based browser into games and other applications. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
