<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by thyeun</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Tue, 09 Jun 2026 23:01:09 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>any python specialist here?</title>
            <link>http://forum.lowyat.net/topic/2702281</link>
            <description>import copy&lt;br /&gt;&lt;br /&gt;def _is_valid(stack, new_item):&lt;br /&gt;    if not stack:&lt;br /&gt;        return True&lt;br /&gt;&lt;br /&gt;    l, w = stack[len(stack) - 1]&lt;br /&gt;    if (new_item[0] &amp;gt; l or new_item[1] &amp;gt; w):&lt;br /&gt;        if (new_item[0] &amp;gt; w or new_item[1] &amp;gt; l):&lt;br /&gt;            return False&lt;br /&gt;        else:&lt;br /&gt;            return True&lt;br /&gt;    else:&lt;br /&gt;        return True&lt;br /&gt;&lt;br /&gt;def _get_area_dimensions(element, height_dimension):&lt;br /&gt;    ld = []&lt;br /&gt;    dim_considered = False&lt;br /&gt;    for i in range(len(element)):&lt;br /&gt;        if element[i] == height_dimension and not dim_considered:&lt;br /&gt;            dim_considered = True&lt;br /&gt;        else:&lt;br /&gt;            ld.append(element[i])&lt;br /&gt;&lt;br /&gt;    return ld&lt;br /&gt;&lt;br /&gt;def get_max_height(boxes, n, max_level=0, max_current_level_iteration=0, arrays_stack=[], already_seen=[],level=0):&lt;br /&gt;&lt;br /&gt;    if level + 1 &amp;gt; n:&lt;br /&gt;        return max(max_level, max_current_level_iteration)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    for element in boxes:&lt;br /&gt;&lt;br /&gt;        if element in already_seen:&lt;br /&gt;            continue&lt;br /&gt;&lt;br /&gt;        new_already_seen = copy.deepcopy(already_seen)&lt;br /&gt;        new_already_seen.append(element)&lt;br /&gt;&lt;br /&gt;        for dimension in element:&lt;br /&gt;&lt;br /&gt;            if arrays_stack:&lt;br /&gt;                if not _is_valid(arrays_stack, _get_area_dimensions(element, dimension)):&lt;br /&gt;                    continue&lt;br /&gt;&lt;br /&gt;            new_stack = arrays_stack + [_get_area_dimensions(element, dimension)]&lt;br /&gt;            max_level = get_max_height(boxes, n, max_level, max_current_level_iteration + dimension, new_stack , new_already_seen, level + 1)&lt;br /&gt;&lt;br /&gt;    return max_level&lt;br /&gt;&lt;br /&gt;def main():&lt;br /&gt;&lt;br /&gt;    num_of_inputs = int(raw_input())&lt;br /&gt;&lt;br /&gt;    boxes = []&lt;br /&gt;    for i in range(num_of_inputs):&lt;br /&gt;        data = raw_input().split()&lt;br /&gt;        data.sort()&lt;br /&gt;        dim1, dim2, dim3 = data&lt;br /&gt;        boxes.append((int(dim1), int(dim2), int(dim3)))&lt;br /&gt;&lt;br /&gt;    max_so_far = 0&lt;br /&gt;    max_current_level = 0&lt;br /&gt;&lt;br /&gt;    for n in range(1, num_of_inputs + 1):&lt;br /&gt;        max_so_far = max(max_so_far, get_max_height(boxes, n))&lt;br /&gt;&lt;br /&gt;    print max_so_far&lt;br /&gt;&lt;br /&gt;if __name__ == &amp;#39;__main__&amp;#39;:&lt;br /&gt;    main()</description>
            <author>thyeun</author>
            <category>Codemasters</category>
            <pubDate>Thu, 14 Feb 2013 02:03:40 +0800</pubDate>
        </item>
        <item>
            <title>Anyone using HTC Butterfly?</title>
            <link>http://forum.lowyat.net/topic/2700965</link>
            <description>As from title, just need more review regarding the battery life~&lt;br /&gt;&lt;br /&gt;thanks in advanced</description>
            <author>thyeun</author>
            <category>Mobile Phones and Tablets</category>
            <pubDate>Tue, 12 Feb 2013 16:36:00 +0800</pubDate>
        </item>
        <item>
            <title>Error creating desktop icon on Adobe Air</title>
            <link>http://forum.lowyat.net/topic/1951221</link>
            <description>i have created Adobe Air for Google+&lt;br /&gt;&lt;br /&gt;but i have crush into an issue during compile an installation&lt;br /&gt;&lt;br /&gt;&lt;b&gt;below are the message i get&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;C:&amp;#092;AIR-projects&amp;#092;google+&amp;#092;googleplus.xml: error 303: Icon icon32.png is missing from package&lt;br /&gt;C:&amp;#092;AIR-projects&amp;#092;google+&amp;#092;googleplus.xml: error 303: Icon icon128.png is missing from package&lt;br /&gt;C:&amp;#092;AIR-projects&amp;#092;google+&amp;#092;googleplus.xml: error 303: Icon icon48.png is missing from package&lt;br /&gt;C:&amp;#092;AIR-projects&amp;#092;google+&amp;#092;googleplus.xml: error 303: Icon icon16.png is missing from package&lt;br /&gt;&lt;br /&gt;&lt;b&gt;app.xml file with the below icon command&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;icon&amp;gt;&lt;br /&gt;        &amp;lt;image16x16&amp;gt;icon16.png&amp;lt;/image16x16&amp;gt;&lt;br /&gt;        &amp;lt;image32x32&amp;gt;icon32.png&amp;lt;/image32x32&amp;gt;&lt;br /&gt;        &amp;lt;image48x48&amp;gt;icon48.png&amp;lt;/image48x48&amp;gt;&lt;br /&gt;        &amp;lt;image128x128&amp;gt;icon128.png&amp;lt;/image128x128&amp;gt;&lt;br /&gt;&amp;lt;/icon&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;ADT command line&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;adt -package -storetype pkcs12 -keystore googleplusCert.pfx googleplus.air googleplus.xml googleplus.html AIRAliases.js googleplus.js logo.png loader.gif&lt;br /&gt;&lt;br /&gt;my icon files are inside directory below&lt;br /&gt;&lt;br /&gt;project ---&amp;#62; google+ ---&amp;#62; icon16.png, icon32.png, icon48.png and icon128.png&lt;br /&gt;&lt;br /&gt;so anyone can help me resolve this issue~~~&lt;br /&gt;&lt;br /&gt;p/s : problem solve &amp;#33;&amp;#33;&amp;#33;&amp;#33;&amp;#33;</description>
            <author>thyeun</author>
            <category>Software</category>
            <pubDate>Sun, 10 Jul 2011 01:52:58 +0800</pubDate>
        </item>
        <item>
            <title>how to play 天子傳奇 Online using WINE?</title>
            <link>http://forum.lowyat.net/topic/1551127</link>
            <description>Anyone try using ubuntu 10.04 playing 天子傳奇 Online?&lt;br /&gt;&lt;br /&gt;i hv try using WINE for many online games + PC games on ubuntu&lt;br /&gt;&lt;br /&gt;but cant manage using the latest WINE for 天子傳奇 Online&lt;br /&gt;&lt;br /&gt;so, anyone hv any idea on how to make it work under ubuntu 10.04?</description>
            <author>thyeun</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Sat, 04 Sep 2010 22:22:10 +0800</pubDate>
        </item>
        <item>
            <title>How to make it different?</title>
            <link>http://forum.lowyat.net/topic/1245512</link>
            <description>For(;;) &lt;br /&gt;{ timer++; &lt;br /&gt;if (button == 1) &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//////==========&amp;gt;&amp;gt;&amp;gt;&amp;gt; problem solve&lt;br /&gt;&lt;br /&gt;</description>
            <author>thyeun</author>
            <category>Codemasters</category>
            <pubDate>Tue, 01 Dec 2009 21:40:35 +0800</pubDate>
        </item>
    </channel>
</rss>
