<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Guyub - Konsultan F/OSS</title>
	<atom:link href="http://guyub.co.id/feed/" rel="self" type="application/rss+xml" />
	<link>http://guyub.co.id</link>
	<description>GNU/Linux - Java, PHP, Ruby - MySQL, PostgreSQL</description>
	<lastBuildDate>Fri, 03 Sep 2010 17:09:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Discover a Bit of JavaOne</title>
		<link>http://guyub.co.id/discover-a-bit-of-javaone/</link>
		<comments>http://guyub.co.id/discover-a-bit-of-javaone/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 09:34:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Pemrograman]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javaone]]></category>

		<guid isPermaLink="false">http://guyub.co.id/discover-a-bit-of-javaone/</guid>
		<description><![CDATA[

If you&#8217;ll be in the San Francisco area during JavaOne week, and you&#8217;re interesting in attending some of JavaOne, but don&#8217;t want to pay for the entire conference, consider purchasing a JavaOne / Oracle Develop Discover pass. The base Discover pass costs just $75 and provides you with entry into the keynote addresses, the exhibition [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.java.net/blog/editor/archive/2010/09/03/discover-bit-javaone"><!-- 1159 | 0 --><img src="/images/Kevin99x68.jpg" border="0", align="left" />
<p>
If you&#8217;ll be in the San Francisco area during JavaOne week, and you&#8217;re interesting in attending some of JavaOne, but don&#8217;t want to pay for the entire conference, consider purchasing a JavaOne / Oracle Develop <a href="http://www.oracle.com/us/javaonedevelop/063292.html#discover">Discover</a> pass. The base Discover pass costs just $75 and provides you with entry into the keynote addresses, the <a href="http://www.oracle.com/us/javaonedevelop/experience-the-zone-143362.html#hall">exhibition halls</a>, the <a href="http://www.oracle.com/us/javaonedevelop/experience-the-zone-143362.html#mason">Mason Street Tent</a> (where I&#8217;ll be spending quite a lot of time), Oracle Mix, and more. If you&#8217;d like to attend a few sessions, consider the Discover Plus pass, which provides your choice of three OpenWorld or JavaOne / Oracle Develop sessions and some other extras, for $695.
</p>
<p>
Note that these prices are the pre-conference prices &#8212; you need to purchase your Discover pass by September 18 to get these rates. If you purchase your pass at the conference, the cost will be $125 for the Discover pass, and $795 for the Discover Plus pass.
</p>
<p>
<img align="left" src="http://blogs.oracle.com/javaone/assets_c/2010/08/DukeFriends-thumb-379x230-8767.png" />The Mason Street Tent will be in part a gathering center for the Java community. As java.net Community Manager Sonya Barry recently <a href="http://blogs.oracle.com/javaone/2010/08/javanet_activities_at_javaone.html">reported</a>, the tent will be the center of java.net activity at JavaOne. Though I&#8217;ll be attending quite a lot of sessions, when I&#8217;m not attending a session, you&#8217;ll usually find me in the tent (probably writing a blog about the last session I attended, or chatting with the community, or writing a blog about one of those chats). Java User Group leaders are expected to be setting up shop near the java.net area, and the Oracle Technology Network will also be in the area. The OTN will be featuring a full schedule of interviews and talks with key members of the Java and broader open source communities as part of its <a href="http://www.oracle.com/us/javaonedevelop/oracle-technology-network-live-166853.html">Oracle Technology Network Live</a> program.
</p>
<p>
You can get a sneak preview of JavaOne, including what&#8217;s going to be in the tent, this coming Tuesday, September 7, at 10 AM, Pacific Time, in a special edition of Justin Kestelyn&#8217;s <a href="http://www.oracle.com/technetwork/techcastlive/index.html">TechCast Live</a>. See the details in the JavaOne Conference Blog&#8217;s post <a href="http://blogs.oracle.com/javaone/2010/09/javaone_preview_on_techcast_live_tues_sept_7_10am_pt.html">JavaOne Preview on TechCast Live! (Tues., Sept. 7, 10am PT)</a>.
</p>
<p>
Still having doubts? Well, as Sonya notes, java.net will be located right next to the coffee and beer &#8212; so <em>that</em> should guarantee we&#8217;ll see you, right?
</p>
<p>
But, seriously, if you&#8217;d like to attend just some of JavaOne, do consider purchasing a JavaOne / Oracle Develop <a href="http://www.oracle.com/us/javaonedevelop/063292.html#discover">Discover</a> pass. With everything that&#8217;s going to be going on in the tent, in the exhibition halls, and at the keynotes, how can you go wrong for just $75 (or $695 to be able to attend 3 sessions)?
</p>
<h3>Java Today</h3>
<p>
In the Aquarium, Alexis Moussine-Pouchkine announces a <a href="http://blogs.sun.com/theaquarium/entry/new_screencast_application_scoped_resources">New GlassFish 3.1 Screencast: Application-scoped resources</a>:
</p>
<blockquote><p>
This <a href="http://www.youtube.com/watch?v=jlFRbN2Yb3g">short screencast</a> demonstrates the new application-scoped resources feature available starting with Milestone 4 of GlassFish 3.1 (the demo used <a href="http://download.java.net/glassfish/3.1/promoted/">promoted build</a> #17). Such resources are bound to a module (war, ear, ejb) and as such they are created on deploy and destroyed when the module is undeployed. They are defined in a file called <code>glassfish-resources.xml</code> (<a href="http://glassfish.org/dtds/glassfish-resources_1_5.dtd">schema-constrained</a>) and shipped with the archive&#8230;
</p></blockquote>
<p>
At Hudson Labs, Kohsuke Kawaguchi talks about <a href="http://www.hudson-labs.org/content/recent-label-and-matrix-project-improvement">Recent label and matrix project improvement</a>:
</p>
<blockquote><p>
Today, I?d highlight two recent improvements to the label and matrix projects. When you have multiple slaves in your Hudson build farm, you can use labels to classify slaves by their capability/environment/architecture/etc. For example, your one slave might have ?32bit? and ?windows? label, while another one might have ?linux?, ?ubuntu?, and ?64bit.? (with plugins like <a href=?http://wiki.hudson-ci.org/display/HUDSON/PlatformLabeler+Plugin?>platform-labeler plugin</a>, you can attach labels automatically, too.) Or if you do Selenium testing, you might add browser names as labels to indicate which slave has which browser available&#8230;
</p></blockquote>
<p>
Robilad announces the availability of <a href="http://robilad.livejournal.com/60786.html">JVM Language Summit 2010 Recordings On Oracle Media Network</a>:
</p>
<blockquote><p>
The recordings of the majority of the sessions from the <a href="http://openjdk.java.net/projects/mlvm/jvmlangsummit/index.html">JVM Language Summit</a> 2010 have been <a href="http://medianetwork.oracle.com/search/index?q=jvm+language+summit">uploaded</a> to the Oracle Media Network. <a href="http://java.about.com/bio/Paul-Leahy-47074.htm">Paul Leahy</a> has compiled a <a href="http://java.about.com/b/2010/09/01/jvm-language-summit-sessions-online.htm">list</a> of session recordings and their corresponding abstracts. Slide decks for most of the sessions are available on the JVM Language Summit <a href="http://wiki.jvmlangsummit.com/Main_Page#Agenda_for_the_2010_JVM_Language_Summit">wiki</a>&#8230;
</p></blockquote>
<p>
James Sugrue reports on Eclipse innovations in <a href="http://java.dzone.com/articles/ide-20-age-intelligent-ides">IDE 2.0: The Age of Intelligent IDEs</a> -
</p>
<blockquote><p>
The latest innovation in the Eclipse space that I&#8217;d like to share with you is <a href="http://www.stg.tu-darmstadt.de/research/core/overview/home/index.en.jsp">Code Recommenders</a>. Already available as a plugin for Eclipse, Code Recommenders provides intelligent code completion. Rather than giving you all possible methods for code completion, this plugin proposes the methods that you probably  need at the top of the list, with a rating of how applicable each method is. To see Code Recommenders in action, see the following <a href="http://cage.st.informatik.tu-darmstadt.de/frameworks/demo/usage.htm">screencast</a>&#8230;
</p></blockquote>
<hr />
<h3>Poll</h3>
<p>
Our current java.net <a href="http://www.java.net/allpolls">poll</a> asks <a href="http://www.java.net/poll/what-threat-does-further-fragmentation-java-language-pose">What threat does further fragmentation of the Java language pose?</a> Voting will be open until Monday.
</p>
<hr />
<h3>Spotlights</h3>
<p>
Our new java.net <a href="http://www.java.net/archive/spotlight">Spotlight</a> is from the JavaOne Conference Blog, <a href="http://blogs.oracle.com/javaone/2010/09/javaone_preview_on_techcast_live_tues_sept_7_10am_pt.html">JavaOne Preview on TechCast Live! (Tues., Sept. 7, 10am PT)</a>:
</p>
<blockquote><p>
You&#8217;ve read the blogs, you&#8217;ve consumed the tweets and Facebook updates. Now how about hearing from some live humans? Next Tuesday morning (Sept. 7, 10am PT), Oracle Technology Network offers you a JavaOne preview via a live video chat with Sharat Chandar and Tori Wieldt, two people intimately familiar with the content and community aspects of the conference. You&#8217;ll get insights into the content contribution process, hear about particularly interesting technical sessions and BOFs, and get a sneak peek of the contents of the <a href="http://www.oracle.com/us/javaonedevelop/experience-the-zone-143362.html#mason">Mason St. tent</a>, where Oracle Technology Network will host the community in all its glory&#8230;
</p></blockquote>
<p>
We&#8217;re also still highlighting java.net Community Manager Sonya Barry&#8217;s JavaOne Conference Blog post <a href="http://blogs.oracle.com/javaone/2010/08/javanet_activities_at_javaone.html">Java.net Activities at JavaOne</a>:
</p>
<blockquote><p>
I&#8217;m excited about JavaOne this year.&nbsp; It&#8217;s going to be different in a lot of ways, but we are doing our best to ensure that the Java.net presence for the community is just as good if not better then previous years.&nbsp; In years past Java.net has had a &#8220;community corner&#8221; booth in the JavaOne pavilion at Moscone&#8230; This time we&#8217;ll be housed in the <a href="http://www.oracle.com/us/javaonedevelop/experience-the-zone-143362.html#mason">Mason Street tent</a>, which will be a large comfortable space for people from all of the technology communities to hang out, pick up swag, watch the <a href="http://www.oracle.com/us/javaonedevelop/oracle-technology-network-live-166853.html">videocasts</a>, and see some live events too..,
</p></blockquote>
<hr />
<p>
<b>Subscriptions and Archives:</b> You can subscribe to this blog using the <a href="http://weblogs.java.net/blog/45/feed">java.net Editor&#8217;s Blog Feed</a>. You can also subscribe to the <a href="http://www.java.net/pub/q/java_today_rss">Java Today RSS feed</a> and the <a href="http://www.java.net/blogfront/feed">java.net blogs feed</a>. You can find historical archives of what has appeared the front page of java.net in the <a href="http://java.net/archive/homepage">java.net home page archive</a>.
</p>
<p align="right">
&#8211; <a href="http://www.java.net/author/kevin-farnham">Kevin Farnham</a><br/><br />
Twitter: <a href="http://twitter.com/kevin_farnham">@kevin_farnham</a>
</p>
<div class="grayline"></div>
<p></a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/discover-a-bit-of-javaone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL Cluster: 5 Steps to Getting Started, then 5 More to Scale for the Web</title>
		<link>http://guyub.co.id/mysql-cluster-5-steps-to-getting-started-then-5-more-to-scale-for-the-web/</link>
		<comments>http://guyub.co.id/mysql-cluster-5-steps-to-getting-started-then-5-more-to-scale-for-the-web/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 07:10:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basisdata]]></category>
		<category><![CDATA[Server, Jaringan & Keamanan]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[scale]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://guyub.co.id/mysql-cluster-5-steps-to-getting-started-then-5-more-to-scale-for-the-web/</guid>
		<description><![CDATA[Join us for a live and interactive webinar session where we will demonstrate how to start an evaluation of the
MySQL Cluster database in 5 easy steps, and then how to expand your
deployment for web &#38; telecoms-scale services.Just register here: http://www.mysql.com/news-and-events/web-seminars/display-566.htmlGetting Started will describe how to:
Get the softwareInstall itConfigure itRun itTest it
Scaling for HA and the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.oracle.com/mysql/2010/09/mysql_cluster_5_steps_to_getting_started_then_5_more_to_scale_for_the_web.html">Join us for a live and interactive webinar session where we will demonstrate how to start an evaluation of the<br />
MySQL Cluster database in 5 easy steps, and then how to expand your<br />
deployment for web &amp; telecoms-scale services.Just register here: http://www.mysql.com/news-and-events/web-seminars/display-566.htmlGetting Started will describe how to:</p>
<p>Get the softwareInstall itConfigure itRun itTest it</p>
<p>Scaling for HA and the web will describe how to:</p>
<p>Review the requirements for a HA configurationInstall the software on more serversUpdate &amp; extend the configuration from a single host to 4Roll out the changesOn-line scaling to add further nodesWhen: Wednesday, September 08, 2010: 09:00 Pacific time (America)</p>
<p>  Wed, Sep 08:&nbsp;11:00 Central time (America)</p>
<p>  Wed, Sep 08:&nbsp;12:00 Eastern time (America)</p>
<p>  Wed, Sep 08:&nbsp;16:00 UTC</p>
<p>  Wed, Sep 08:&nbsp;17:00 Western European time</p>
<p>   The presentation will be approximately 45 minutes long followed by Q&amp;A.<br />
 </a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/mysql-cluster-5-steps-to-getting-started-then-5-more-to-scale-for-the-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dbbenchmark.com ? configuring OpenBSD for MySQL benchmarking</title>
		<link>http://guyub.co.id/dbbenchmark-com-configuring-openbsd-for-mysql-benchmarking/</link>
		<comments>http://guyub.co.id/dbbenchmark-com-configuring-openbsd-for-mysql-benchmarking/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 20:51:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basisdata]]></category>
		<category><![CDATA[Server, Jaringan & Keamanan]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[dbbenchmark]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[openbsd]]></category>

		<guid isPermaLink="false">http://guyub.co.id/dbbenchmark-com-configuring-openbsd-for-mysql-benchmarking/</guid>
		<description><![CDATA[Here are some quick commands for installing the proper packages and requirements for the MySQL dbbenchmark program.
export PKG_PATH=&#8221;ftp://openbsd.mirrors.tds.net/pub/OpenBSD/4.7/packages/amd64/&#8221;
pkg_add -i -v wget
wget http://dbbenchmark.googlecode.com/files/dbbenchmark-version-0.1.beta_rev26.tar.gz
pkg_add -i -v python
Ambiguous: choose package for python
 a       0:
         1: python-2.4.6p2
         [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.dbbenchmark.com/wordpress/2010/09/03/dbbenchmark-com-configuring-openbsd-for-mysql-benchmarking/">Here are some quick commands for installing the proper packages and requirements for the MySQL dbbenchmark program.</p>
<p>export PKG_PATH=&#8221;ftp://openbsd.mirrors.tds.net/pub/OpenBSD/4.7/packages/amd64/&#8221;<br />
pkg_add -i -v wget<br />
wget http://dbbenchmark.googlecode.com/files/dbbenchmark-version-0.1.beta_rev26.tar.gz<br />
pkg_add -i -v python<br />
Ambiguous: choose package for python<br />
 a       0:<br />
         1: python-2.4.6p2<br />
         2: python-2.5.4p3<br />
         3: python-2.6.3p1<br />
Your choice: 2</p>
<p>pkg_add -i -v py-mysql<br />
pkg_add -i -v mysql<br />
pkg_add -i -v mysql-server<br />
ln -s /usr/local/bin/python2.5 /usr/bin/python<br />
gzip -d dbbenchmark-version-0.1.beta_rev26.tar.gz<br />
tar -xvf dbbenchmark-version-0.1.beta_rev26.tar<br />
cd dbbenchmark-version-0.1.beta_rev26<br />
./dbbenchmark.py &#8211;print-sql<br />
 &#8211; login to mysql and execute sql commands<br />
./dbbenchmark.py<br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/dbbenchmark-com-configuring-openbsd-for-mysql-benchmarking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails: Rails Has Great Documentation</title>
		<link>http://guyub.co.id/ruby-on-rails-rails-has-great-documentation/</link>
		<comments>http://guyub.co.id/ruby-on-rails-rails-has-great-documentation/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 18:54:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Pemrograman]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://guyub.co.id/ruby-on-rails-rails-has-great-documentation/</guid>
		<description><![CDATA[
To this day I still hear people complain that Rails has poor documentation.  From where I?m sitting this seems far from the truth.  Let me lay out the evidence piece by piece:

RailsTutorial.org
To learn Rails from scratch Michael Hartl recently finished his book Ruby on Rails Tutorial: Learn Rails by Example.  The book [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://feedproxy.google.com/~r/RidingRails/~3/vGfh8XdyIpg/rails-has-great-documentation">
<p>To this day I still hear people complain that Rails has poor documentation.  From where I?m sitting this seems far from the truth.  Let me lay out the evidence piece by piece:</p>
<p><a href="http://railstutorial.org/book"><img src="http://weblog.rubyonrails.org/assets/2010/8/28/railstutorial.gif" /></a><br />
<strong>RailsTutorial.org</strong></p>
<p>To learn Rails from scratch Michael Hartl recently finished his book <a href="http://railstutorial.org/">Ruby on Rails Tutorial: Learn Rails by Example</a>.  The book teaches Rails 3 from the ground up and it?s <a href="http://railstutorial.org/book">available for <strong><span class="caps">FREE</span></strong> online</a>.  If you?d rather have a <a href="http://railstutorial.org/#buy"><span class="caps">PDF</span></a> or a <a href="http://www.amazon.com/Ruby-Rails-Tutorial-Addison-Wesley-Professional/dp/0321743121">book</a> you can grab that as well (and he?s even working on some <a href="http://railstutorial.org/screencasts">screencasts</a>).</p>
<p>The source for the finalized book will be pushed to GitHub and released under a Creative Commons License shortly after Rails 3 is done.  If you?d like to help translate the book to your language of choice, feel free to <a href="http://www.michaelhartl.com/" title="Michael Hartl">contact Michael</a> and he?ll get in touch when it?s time to make it happen.</p>
<p><strong>Rails Guides</strong></p>
<p>If you?re not a Rails newbie don?t forget about the <a href="http://edgeguides.rubyonrails.org/">Rails Guides</a>, which have been updated for Rails 3.</p>
<p><strong>Rails <span class="caps">API</span> Docs</strong></p>
<p>There are two main websites I use to do <span class="caps">API</span> lookups.  The first is <a href="http://railsapi.com">Rails Searchable <span class="caps">API</span> Doc</a>, which has online and offline searchable documentation. The second is <a href="http://apidock.com/rails">APIdock</a> which is online only, but has the ability to comment and easily compare different versions of documentation.</p>
<p><strong>Rails 3 Free Screencasts</strong></p>
<p>If you?re more of a visual learner (like me) then there are plenty of free screencasts to teach you about Rails 3.  About 2 months ago I produced the <a href="http://www.rubyonrails.org/screencasts/rails3">Rails 3 Screencasts</a>, which will get you started.</p>
<p>Ryan Bates has also produced an incredible amount of Rails 3 screencasts over on <a href="http://railscasts.com/tags/27">Railscasts.com</a>.  Ryan has been producing Railscasts for over 3 1/2 years, isn?t that crazy?</p>
<p>There?s also a few good free screencasts over on <a href="http://teachmetocode.com/screencasts/tag/rails-3/">Teach me to Code</a> by Charles Max Wood.</p>
<p><strong>Keeping on the Edge</strong></p>
<p>If you find yourself wondering how to keep up with all of the newest features / libraries for Rails 3, both the <a href="http://ruby5.envylabs.com">Ruby5 Podcast</a> and the <a href="http://rubyshow.com">Ruby Show</a> are going strong.  Don?t listen to audio? It doesn?t matter, just subscribe to the <a href="http://feeds.feedburner.com/Ruby5">Ruby5 <span class="caps">RSS</span> feed</a> and get links with descriptions to all the newest libraries, tutorials, and more.  You might also want to checkout Peter Cooper?s new <a href="http://rubyweekly.com/">Ruby Weekly</a>, a Ruby email newsletter</p>
<p>.</p>
<p><strong>Need to upgrade a big app to Rails 3?</strong></p>
<p>Jeremy McAnnaly?s <a href="http://www.railsupgradehandbook.com/">Rails 3 Upgrade Handbook <span class="caps">PDF</span></a> is just $12.  There?s also a few paid screencasts for the upgrade over on <a href="http://thinkcode.tv/catalog/upgrading-rails-3/">Thinkcode.tv</a> and <a href="http://bddcasts.com/">BDDCasts</a>.</p>
<p><strong>Need a Book?</strong></p>
<p>There?s a bunch of books that will be coming out after the release, most of which you can start reading now. <a href="http://my.safaribooksonline.com/9780132480345">The Rails 3 Way</a> by Obie Fernandez, <a href="http://www.manning.com/katz/">Rails 3 In Action</a> by Ryan Bigg and Yehuda Katz, <a href="http://beginningrails.com/">Beginning Rails</a> by Cloves Carneiro Jr and Rida Al Barazi, and of course the <a href="http://pragprog.com/titles/rails4/agile-web-development-with-rails">Agile Web Development with Rails</a>:fourth edition by Sam Ruby, Dave Thomas, and David Heinemeier Hansson.</p>
<p><strong>In conclusion</strong></p>
<p>No more complaining about lack of good documentation!  Seriously. If you want even more Rails 3 content, check out the blog post by Kevin Faustino on <a href="http://adventuresincoding.com/2010/08/34-ruby-on-rails-3-resources-to-get-you-started/">34 Ruby on Rails 3 resources to get you started</a>.</p>
<p></a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/ruby-on-rails-rails-has-great-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL 5.1 Plugins Development Published</title>
		<link>http://guyub.co.id/mysql-5-1-plugins-development-published/</link>
		<comments>http://guyub.co.id/mysql-5-1-plugins-development-published/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 06:37:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basisdata]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[plugins]]></category>

		<guid isPermaLink="false">http://guyub.co.id/mysql-5-1-plugins-development-published/</guid>
		<description><![CDATA[MySQL 5.1 has a great feature which not many people know about, that is the fact it can be extended via. the use of plugins. ?Unfortunately how you go about this is not incredibly well documented. ?You can search for examples on the internet, dig through the MySQL source code and ask on the forums [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.linuxjedi.co.uk/?p=13">MySQL 5.1 has a great feature which not many people know about, that is the fact it can be extended via. the use of plugins. ?Unfortunately how you go about this is not incredibly well documented. ?You can search for examples on the internet, dig through the MySQL source code and ask on the forums and you may figure it all out. ?But doing all this is time consuming and could easily put someone off. So Sergei Golubchik and I have got together to bring you this book which will show you, using examples, how to write your own plugins.<br />
We start by explaining the UDF API which has been around for a long time, and then move on to Daemon Plugins, Information Schema Plugins, Full-text Search Plugins and Storage Engine Plugins. ?Each with?usable?examples.<br />
MySQL 5.1 Plugins Development has just been published by Packt Publishing and I believe it is well worth a look if you are thinking of extending MySQL.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/mysql-5-1-plugins-development-published/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MariaDB 5.1.49 for Mac OS X</title>
		<link>http://guyub.co.id/mariadb-5-1-49-for-mac-os-x/</link>
		<comments>http://guyub.co.id/mariadb-5-1-49-for-mac-os-x/#comments</comments>
		<pubDate>Fri, 27 Aug 2010 10:58:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basisdata]]></category>
		<category><![CDATA[F/OSS]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macos]]></category>
		<category><![CDATA[mariadb]]></category>

		<guid isPermaLink="false">http://guyub.co.id/mariadb-5-1-49-for-mac-os-x/</guid>
		<description><![CDATA[
Stuttgart: a rainy day, waiting for Iftar. Good time for good news!
During my vacation I read about a request for a MariaDB package for Mac OS X? and did some research. Back from vacation I have an alpha version of MariaDB package for Mac OS X for? our community to test.
Caution: this is the first [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://esslingen.homeunix.net/~hakan/blog/2010/08/27/mariadb-5-1-49-for-mac-os-x/"><br />
Stuttgart: a rainy day, waiting for Iftar. Good time for good news!<br />
During my vacation I read about a request for a MariaDB package for Mac OS X? and did some research. Back from vacation I have an alpha version of MariaDB package for Mac OS X for? our community to test.<br />
Caution: this is the first installer I ever wrote on a Mac, so use it on a test system only!<br />
I would like you to test the installer and provide us with feedback.<br />
Known issues in the MariaDB installer:</p>
<p>The Preferences Pane app for starting/stopping the server instance is missing<br />
The installer for setting up MariaDB as a Startup Item is missing.</p>
<p>Side node: while digging into the Mac installer I found two<br />
bugs in the MySQL Mac OS X installer.</p>
<p>http://bugs.mysql.com/bug.php?id=56279</p>
<p>Mac installer does not work as documented</p>
<p>http://bugs.mysql.com/bug.php?id=56280</p>
<p>Mac installer&#8217;s postflight script does not work all the time</p>
<p>You can grab the package from here:</p>
<p>http://lisas.de/~hakan/file/mariadb-5.1.49-osx10.6-x86.pkg</a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/mariadb-5-1-49-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hudson and JUnit Kung Fu at JavaOne this year</title>
		<link>http://guyub.co.id/hudson-and-junit-kung-fu-at-javaone-this-year/</link>
		<comments>http://guyub.co.id/hudson-and-junit-kung-fu-at-javaone-this-year/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 17:21:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Pemrograman]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[hudson]]></category>
		<category><![CDATA[javaone]]></category>
		<category><![CDATA[junit]]></category>

		<guid isPermaLink="false">http://guyub.co.id/hudson-and-junit-kung-fu-at-javaone-this-year/</guid>
		<description><![CDATA[
This year, I&#8217;ll be giving two talks at JavaOne: one on Hudson and one on JUnit. Here are the rundowns:
S312977 &#8211; Getting More from Your CI Server: Taking Hudson to the Next Level
Hudson is an excellent open source, continuous integration server with a rich and rapidly evolving feature set. Targeted to developers, lead developers, and [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.java.net/blog/johnsmart/archive/2010/08/23/hudson-and-junit-kung-fu-javaone-year-1"><!--  | 0 -->
<p>This year, I&#8217;ll be giving two talks at JavaOne: one on Hudson and one on JUnit. Here are the rundowns:</p>
<h4>S312977 &#8211; Getting More from Your CI Server: Taking Hudson to the Next Level</h4>
<p><em>Hudson is an excellent open source, continuous integration server with a rich and rapidly evolving feature set. Targeted to developers, lead developers, and architects interested in implementing CI with Hudson or enhancing their existing CI setup, this session will focus on using Hudson&#8217;s more advanced features to go from Continuous Integration to Continuous Quality and Continuous Deployment. The session will focus on how Hudson can help with: </em></p>
<p><em></p>
<ul>
<li>Enforcing code quality metrics</li>
<li>Build promotion strategies</li>
<li>Automated release and deployment</li>
<li>Web and performance testing</li>
<li>Distributed builds and CI in the cloud</li>
</ul>
<p></em></p>
<p>&nbsp;</p>
<h4>S312958 &#8211; JUnit Kung Fu: Getting More Out of Your Unit Tests</h4>
<p><em>JUnit is the de facto standard in Java testing. Yet many advanced JUnit features are little known and poorly understood. This session reviews some lesser-known features of JUnit, along with a few associated libraries, that can make your unit tests more powerful, expressive, and fun. The session is intended for Java developers, lead developers, and architects trying to introduce good testing practices into their teams. Attendees will learn about:  </em></p>
<p><em></p>
<ul>
<li>The fine art of naming your tests</li>
<li>Writing clearer and more expressive tests with Hamcrest and Mockito</li>
<li>Data-driven testing in JUnit with parameterized tests and theories</li>
<li>Using JUnit rules to extend your test cases and writing your own rules to customize JUnit</li>
<li>Using JUnit categories to group your tests</li>
<li>Getting faster feedback with parallel testing and continuous testing tools</li>
</ul>
<p></em></p>
<p>I&#8217;m looking forward to catching up as well, so do give a yell if you intent to be at JavaOne this year.</p>
<p>And if you want to learn even more about JUnit, Hudson and lots of other cool tools, be sure to check out the <a href="http://www.wakaleo.com/training/java-power-tools-bootcamp">Java Power Tools Bootcamps &#8211; scheduled soon for </a><a href="http://skillsmatter.com/course/java-jee/java-power-tools-bootcamp/ad-855">London</a> and <a href="https://www.regonline.com/java_power_tools_bootcamp_canberra">Canberra</a>.</p>
<p>&nbsp;</p>
<p></a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/hudson-and-junit-kung-fu-at-javaone-this-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ed Burnette: &#8220;I am not a villain,&#8221; says alleged Android Trojan creator</title>
		<link>http://guyub.co.id/ed-burnette-i-am-not-a-villain-says-alleged-android-trojan-creator/</link>
		<comments>http://guyub.co.id/ed-burnette-i-am-not-a-villain-says-alleged-android-trojan-creator/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 17:00:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Server, Jaringan & Keamanan]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[trojan]]></category>
		<category><![CDATA[villain]]></category>

		<guid isPermaLink="false">http://guyub.co.id/ed-burnette-i-am-not-a-villain-says-alleged-android-trojan-creator/</guid>
		<description><![CDATA[
Max Lifshin, an Android developer living in Russia, says his Tap Snake program is not a Trojan or virus, despite a warning from security software maker Symantec last week. Lifshin has been vilified in the press for releasing the program, which was intended for parents to track their children?s whereabouts. Reached by ZDNet for comment, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.zdnet.com/blog/burnette/i-am-not-a-villain-says-alleged-android-trojan-creator/2058">
<p>Max Lifshin, an Android developer living in Russia, says his <a href="http://www.androlib.com/android.application.net-maxicom-android-snake-jwjAj.aspx">Tap Snake</a> program is not a Trojan or virus, despite a <a href="http://www.symantec.com/connect/blogs/androidostapsnake-watching-your-every-move">warning from security software maker Symantec</a> last week. Lifshin has been <a href="http://www.computerworld.com/s/article/9180844/Update_Android_gaming_app_hides_Trojan_security_vendors_warn?taxonomyId=17&amp;pageNumber=1">vilified</a> <a href="http://phandroid.com/2010/08/18/snake-clone-tap-snake-is-a-trojan-says-symantec/">in</a> <a href="http://news.techworld.com/mobile-wireless/3235936/android-game-tap-snake-hides-trojan-virus/?olo=rss">the</a> <a href="http://www.tgdaily.com/mobility-features/51144-android-tapsnake-trojan-tracks-your-every-move">press</a> <a href="http://www.talkandroid.com/11321-tap-snake-application-is-really-a-trojan/">for</a> <a href="http://techie-buzz.com/mobile-news/android-snake-trojan.html">releasing</a> the program, which was intended for parents to track their children?s whereabouts. Reached by ZDNet for comment, Lifshin insisted that his motivations were innocent:</p>
<blockquote><p>The app is no more malicious than a motion detection camera &#8211; everything depends on the user?s intentions. It gives all the proper warnings and requires a set up, a conscious action, to report location. It can be easily used by mothers worrying about their kids? whereabouts. In fact, I suspect the majority of users were indeed the mothers.</p>
</blockquote>
<p>For the program to work, the parent or guardian downloads and installs the innocuous looking game on their kid?s phone. During the installation process, Android asks for permission to access location information and to send and receive information to the Internet. After accepting these terms, the parent must open up a menu option and activate the tracking service with a unique key. Then they give the phone back to their child. From that point on, the game will occasionally upload its location to a server, where only somebody with the key can view it. Lifshin says:</p>
<blockquote><p>The app is not really very different from Google?s Latitude. As any technology product, it can be put to either noble or malicious ends.</p>
</blockquote>
<p class="MsoNormal">The game can be uninstalled at any time. The program run by the parent to view location information is called <a href="http://www.androlib.com/android.application.net-maxicom-android-gpsspy-jwxCm.aspx">GPS Spy</a>. The Market description for GPS Spy openly explained how all this works, saying:</p>
<blockquote><p class="MsoNormal">Download and install the free Tap Snake game from the Market to the phone you want to spy on. Press MENU and register the Snake with the service. Use the GPS Spy app on your phone with the same email/code to track the location of the other phone.</p>
</blockquote>
<p class="MsoNormal">However, the description of the Tap Snake game did not say anything about tracking, presumably so your child could look up the game for updates or reviews and be none the wiser. Until recently, Tap Snake was a free download and GPS Spy was $4.99. After the news came out, Google removed both apps from the Market. According to Lifshin,</p>
<p class="MsoNormal">
<blockquote><p class="MsoNormal"><span>What?s sad is that these ?whistle blowers? have prompted Google to suspend the app and thus deprived me of income. They unfairly classified this app as a Trojan and portrayed me as a villain, a malicious Russian developer working in the shadows.</span></p>
</blockquote>
<p class="MsoNormal">What do you think: is this a dangerous Trojan or a useful safety device for parents? Was Google right to ban it? Speak up in the Talkback section below.</p>
<p class="MsoNormal">
<p></a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/ed-burnette-i-am-not-a-villain-says-alleged-android-trojan-creator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL GIS ? Part 1</title>
		<link>http://guyub.co.id/mysql-gis-part-1/</link>
		<comments>http://guyub.co.id/mysql-gis-part-1/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 14:49:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basisdata]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[gis]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://guyub.co.id/mysql-gis-part-1/</guid>
		<description><![CDATA[TweetIn my business (weather) we use lots map based (Geo) information.?  Almost every table has latitude and longitude. Working with this kind of  data can be exciting and frustrating.? This should give you a quick  start into GIS with MySQL.
&#8220;A geographic information system (GIS), or geographical information system,   is any [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mysqlfanboy.com/2010/08/mysql-gis-part-1/">TweetIn my business (weather) we use lots map based (Geo) information.?  Almost every table has latitude and longitude. Working with this kind of  data can be exciting and frustrating.? This should give you a quick  start into GIS with MySQL.<br />
&#8220;A geographic information system (GIS), or geographical information system,   is any system that captures, stores, analyzes, manages, and presents   data that are linked to location. In the simplest terms, GIS is the   merging of cartography, statistical analysis, and database technology.   GIS systems are used in cartography, remote sensing, land surveying, utility management, natural resource management, photogrammetry, geography, urban planning, emergency management, navigation, and localized search engines.&#8221; &#8211; Wikipedia<br />
GIS / Mapping Systems work with both text data and graphical data.?  Applications and utilities often blur the lines between the two types  and make understanding difficult.? Map servers blend raster images, with  point or polygon data, and bitmap images to make complete images to  display in the user&#8217;s client application.? For this post I will  concentrate on the text type &#8220;data&#8221;.? The type we can index in a MySQL  database.<br />
THE SEARCH<br />
After months of reading, [1]? I&#8217;m writing this post to describes what  I have learned about how to get started using GEO coding data as  quickly as possible.? I found very little piratical information on GIS  and MySQL.? The MySQL manual covers the functions but doesn&#8217;t supply much practical information on GEO.? Anders Karlsson wrote a nice and short story about GIS that give me a good start.<br />
The best information has be written by Florin Duroiu in his post titled &#8220;Political boundaries overlay in Google maps&#8221;. A good part of my post is based on his work.<br />
STEP BY STEP<br />
Below are the detailed needed to to produce a MySQL database with the Points of Interest (POI).? This is based on CentOS 5.5 with MySQL 5.1.<br />
yum install gdal<br />
mkdir geo<br />
mkdir data<br />
mkdir data/Oklahoma<br />
cd geo/data/Oklahoma<br />
wget http://downloads.cloudmade.com/north_america/united_states/oklahoma/oklahoma.shapefiles.zip<br />
unzip oklahoma.shapefiles.zip<br />
mysql -e &#8216;create database geo&#8217;<br />
ogr2ogr -f &#8220;MySQL&#8221; MySQL:&#8221;geo,user=root,host=localhost,password=&#8221; -nln oklahoma_poi -lco engine=MYISAM oklahoma_poi.shp<br />
mysql geo -e &#8216;desc oklahoma_poi&#8217;</p>
<p>+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;+&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
| Field    | Type         | Null | Key | Default | Extra          |<br />
+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;+&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;-+<br />
| OGR_FID  | int(11)      | NO   | PRI | NULL    | auto_increment |<br />
| SHAPE    | geometry     | NO   | MUL | NULL    |                |<br />
| category | varchar(30)  | YES  |     | NULL    |                |<br />
| name     | varchar(113) | YES  |     | NULL    |                |<br />
+&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;+&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;-+</p>
<p>mysql geo -e &#8220;select name, category, Y(SHAPE) as lat, X(SHAPE) as lng  from oklahoma_poi where NAME like &#8216;School:Putnam%&#8217;&#8221;</p>
<p>+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;-+<br />
| name                                | category                       | lat        | lng         |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;-+<br />
| School:Putnam City West High School | Government and Public Services |  35.492557 | -97.6605975 |<br />
| School:Putnam City North School     | Government and Public Services | 35.5892209 | -97.6372648 |<br />
| School:Putnam City School           | Government and Public Services | 35.5122794 | -97.6142079 |<br />
| School:Putnam High School           | Government and Public Services | 35.5214459 | -97.6086523 |<br />
| School:Putnam Heights Academy       | Government and Public Services | 35.5081143 | -97.5397619 |<br />
+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;-+</p>
<p>In a coming set of post I&#8217;ll go over:</p>
<p>The &#8220;Data&#8221; types your will find and how to convert between them.<br />
What data is available and where can you find it?<br />
More examples on what you can do with GIS data.<br />
Viewing our GIS data.<br />
How to collect your own GIS data.<br />
Good and bad examples of searching GIS data.<br />
Optimizing MySQL GIS.? Is it really worth using?</p>
<p>[1] Books: GIS for Dummies &#8211; Author: Michael N. DeMers &#8211; John Wiley &amp; Sons?(2009) &#8211; ISBN: 0470236825<br />
Open Source GIS: A GRASS GIS Approach. Third Edition.-? Author: Markus Neteler and Helena Mitasova &#8211; ISBN: 978-0-38735767-6<br />
Web Mapping Illustrated: Using Open Source GIS Toolkits &#8211; Author: Tyler Mitchell &#8211; ISBN: 9780596008659<br />
?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/mysql-gis-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InnoDB memory allocation, ulimit, and OpenSUSE</title>
		<link>http://guyub.co.id/innodb-memory-allocation-ulimit-and-opensuse/</link>
		<comments>http://guyub.co.id/innodb-memory-allocation-ulimit-and-opensuse/#comments</comments>
		<pubDate>Mon, 23 Aug 2010 13:55:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Basisdata]]></category>
		<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Sindikasi]]></category>
		<category><![CDATA[innodb]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[ulimt]]></category>

		<guid isPermaLink="false">http://guyub.co.id/innodb-memory-allocation-ulimit-and-opensuse/</guid>
		<description><![CDATA[I recently encountered an interesting case. A customer reported that mysqld crashed on start on OpenSUSE 11.2 kernel 2.6.31.12-0.2-desktop x86_64 ? with 96 GB RAM when the innodb_buffer_pool_size was set to anything more than 62 GB. I decided to try it with 76 GB. The error message was an assert due to a failed malloc() [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mysqlperformanceblog.com/2010/08/23/innodb-memory-allocation-ulimit-and-opensuse/">I recently encountered an interesting case. A customer reported that mysqld crashed on start on OpenSUSE 11.2 kernel 2.6.31.12-0.2-desktop x86_64 ? with 96 GB RAM when the innodb_buffer_pool_size was set to anything more than 62 GB. I decided to try it with 76 GB. The error message was an assert due to a failed malloc() in ut_malloc_low() in ut/ut0mem.c inside InnoDB source code. InnoDB wraps the majority of its memory allocations in ut_malloc_low(), so to get an idea of the pattern of requested allocations I added a debugging fprintf() to tell me how much was being allocated and whether it was successful.<br />
I discovered something interesting. I expected the allocation to fail on the 76 GB of the buffer pool, due to some weird memory mapping issue and a continuous block of 76 GB not being available. However, that is not what happened. 76 GB buffer was allocated successfully. What was failing is the allocation of 3.37GB after that. What in the world could InnoDB need that was 3.37 GB? There was nothing in the settings that asked for anything close to 3 GB explicitly.<br />
Source code is the ultimate documentation, and I took advantage of that. My good friend GDB guided me to buf_pool_init() in buf/buf0buf.c. There I found the following:<br />
buf_pool-&gt;frame_mem = os_mem_alloc_large(<br />
UNIV_PAGE_SIZE * (n_frames + 1),<br />
TRUE, FALSE);<br />
That was the buffer pool itself, the 76 GB of it. And now the buffer pool&#8217;s friend:<br />
buf_pool-&gt;blocks = ut_malloc(sizeof(buf_block_t) * max_size);<br />
3.6 GB of it!<br />
From the comments in the code (InnoDB code actually has very good comments), max_size is the maximum number of buffer pool pages (16K each), n_frames which is the same thing unless AWE is used, but it was not used, so I did not worry about it.<br />
What shall we call that friend? It is used for storing some meta information about buffer pool pages. The most natural name I could come up with from reading the source code is the blocks array.<br />
Thus we can see that we are allocating another chunk that is in proportion to the setting of innodb_buffer_pool_size for the blocks array. The exact proportions will probably vary from version to version, but roughly about 1 G for every 25 G of the buffer pool. This can become significant in the proper innodb_buffer_pool_size estimations when the system has a lot of RAM and you want to have the largest possible innodb_buffer_pool_size. Do not forget to give the blocks array some room!<br />
While this was an interesting investigation, it nevertheless did not explain why there was not enough room for a 76 GB buffer pool. Even with the extra 3.37 GB allocation, there was still some free memory. Or was there? Maybe some hidden monster was eating it up? I quickly wrote this hack to prove or disprove the monster&#8217;s presence.<br />
I verified that I could allocate and initialize two chunks of 40 GB from two separate processes, but not 80 GB from one. In fact, 80GB allocation failed right in malloc(), did not even get to initialization. I tested it with allocating 70 GB concurrently in each process so as to overrun physical memory + swap. Both allocations were successful, one initialized successfully, the other was killed by the OOM kill during initialization.<br />
This smelled like a low ulimit, and sure enough it was. ulimit -m ulimited; ulimit -v unlimited did the magic, and mysqld successfully started with an 80 GB buffer pool. Apparenly OpenSUSE defaults are set in proportion to physical memory to keep the memory-hungry applications from taking the system down. On this particular system (96 GB physical memory, 2 GB swap it decided to set the virtual memory ulimit (-v) to 77.27 GB, and the physical memory (-m) to 80.40 GB).</p>
<p>    Entry posted by sasha |<br />
      No comment<br />
    Add to:  |  |  |  | </a></p>
]]></content:encoded>
			<wfw:commentRss>http://guyub.co.id/innodb-memory-allocation-ulimit-and-opensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
