Forum Replies Created

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • in reply to: Body, mind, and my black eternity #8917
    Udar Gromov
    Keymaster

    OK. Reading this 2 months later I would like to extent the argumentation.

    One possibility – body alone. The body is alone in it fight for survival. Human body is a complex organism that developed various specialized organs to better survival changes. One of these specialized organs is brain that has an ability to memorize events, evaluate possible outcomes and make decisions. Brain is a body organ that acts (as any other body organ) to assist body to survive, to proliferate and to pass information to next generations. As a body organ, brain dies along with the body, but brain is complex enough to invent stories about its immortality.

    Second possibility – body and mind. For analytical convenience, we regard body and mind as two competing entities with different, even conflicting goals.  Body goal is to pass its genes to next generations.  Body organ brain develops mind that acquires goals of its own. Mind seeks entertainment and happiness.  Example 1. Body drive is to have plentiful offspring. Mind seeks pleasure and finds way to have sex without having kids.  Body wants security and staying safe and fed.  Mind wants to explorer and is looking for thrills of travel (discovery), sports (showmanship) and glory (recognition of other minds).

    Third option – body, mind and a Control Center. Body develops a brain.  Brain develops a mind. Body and mind are in conflict.  There is a need for a Control Center that intercedes between body and mind, and often overwrites both for better survival chances.  Example 2. Body seeks to hide away from dangerous fight.  Mind is afraid of unfair fight.  By Control Center overrides both body and mind instincts and make you go and fight a war to be able to survive as a group. Control Center makes you to wake up and go to work, abstain from mischievous murder and fornication, and even go against the group when something called “bigger truth” is involved.

    All three possibility seem viable.  Body definitely is there as it can exist without the other two.  However,  isolating a body, a mind and a Control Center could be a stepping stones to further understand  human behavior that sometimes seem paradoxical.

    in reply to: Как же всё связано! #8816
    Udar Gromov
    Keymaster

    Поэтому особенно удивительно, что мы живем и не экономим ни времени, ни усилий, ни энергии, ни денег, ни здоровья.
    Здесь даже можно вывести своеобразные психологические типажи:
    – тот, кто прожигает жизнь, не экономя ни на чем – ГУЛЯКА
    – тот, кто экономит только деньги, но прожигает время, усилия и здоровье – СКРЯГА
    – тот, экономит усилия, но не жалеет ничего другого – ЛЕНИВЕЦ
    – тот, кто бережёт здоровье, но не задумывается ни над чем другим – ИПОХОНДРИК

    Все мы представляем разные комбинации этих крайностей. Но вылезает самый главный вопрос – как не тратить бензин в машине, если мотор работает, а куда ехать – неясно. Восточные религии дают ответ – выключите мотор, забудьте желания и слушайте, что расскажет вам лепет ручейка. [2022-10-18 14:03 EST]

    in reply to: Как же всё связано! #8804
    Udar Gromov
    Keymaster

    Thank you for your response.
    A bit more details. Two questions for you:
    What is “do away with our democracy”?
    AND
    What is “having to turn on Nixon”?
    Thank you.

    in reply to: MySQL on Amazon Linux crashes frequently #8484
    Udar Gromov
    Keymaster

    Continue – 2 years later. Sorry for the delay.

    Yes. this is a very interesting topic that might even deserves its own post.

    Among other things you need to restrict number of simultaneous sessions for MySQL. This can be done by adding lines to your httpd.conf. That way, if you are under denial-of-service attack, your MySQL server will sit tight, limit new sessions and do not crash.

    <IfModule mpm_prefork_module>
        ServerLimit          xxx
        StartServers         xxx
        MinSpareServers      xxx
        MaxSpareServers      xxx
        MaxClients           xxx
        MaxRequestsPerChild  xxx
    </IfModule>

    At the same time, you need to enable SWAP file to extend your virtual memory. You can use recently updated documentation from Amazon:

    SWAP to a separate partition:
    https://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-partition-hard-drive/

    SWAP to a root file:
    https://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/

    A word of advise

    BLOCK size
    When creating a SWAP file, create a lot of blocks of small size (512, 1024 or 2048). That way a lot of attackers and legitimate web sessions can get their small chunk of memory.

    SWAP size
    Also, set the SWAP size conservatively. If you only doing SWAP to accommodate spammers, let them sit and wait. Another matter, when your legitimate customers can’t get through. In that case, you need a whole different set of measures to prevent too many connections from a single IP address.

    in reply to: An expert of pandemic from France #8044
    Udar Gromov
    Keymaster
    in reply to: ***PROMOTE*** – Toronto airport taxi #7914
    Udar Gromov
    Keymaster

    When do they open the border, so that we can use the services of your aggressive services?

    Udar Gromov
    Keymaster

    – Also, TDA thinkorswim (TOS) OnDemand doesn’t show IV and IV percentile neither in Trade nor in MarketWatch tabs [2019-04-28 SU]

    in reply to: nodemon crashes with error EADDRINUSE #4248
    Udar Gromov
    Keymaster

    The real problem for this error EADDRINUSE is not the port. The real problem was the old version of NODE.JS that was not working well with all the latest version of NODEMON installed via NPM.

    in reply to: Photo import settings in Windows 8 #3766
    Udar Gromov
    Keymaster

    This works if you have something to import.

    But how to change Photo import options if there is nothing to import?

    I could not find a way to open “Import Settings” dialog directly with a shortcut. Saw I had to modify Registry settigns directly with *.REG file.

    If you need to change your import location every January 1 (to change year folder), you can find you current settings at . . .

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Photo Acquisition\Camera

    . . . and save them into a file. Each year on Jannuary 1 your would replace old year with a new year and merge REG fiel back into registry. Luckily this particular REG manipulation allows you to search for 2015 and replace it with 2016. Clumsy, ugly, but it works.

    Not so for Word and Excel default data directories. For same reason they a recorded in HEX format in Registry – of course, for secrecy. You would use the same procedure, but you have to be much more careful and attentive. Year 2015 is recorded in registry as:

    32,00,30,00,31,00,35,00

    To change this number to 2016 all you need to do is to change 35 to 36. Wow!

    Udar Gromov
    Keymaster

    Problem solved using free NetBeans IDE 6.9.1 with Xdebug 2.1.0. Thank you!

    All I had to do was to add one line of code to ‘bbpressmy-templatesMYfunctions.php’ file:

    ‘add_filter( ‘pre_option_gmt_offset’,’wp_timezone_override_offset’ );’

    Udar Gromov
    Keymaster

    A TEMP solution for this problem is to hard-coded your offset fix in

    wp-includesformatting.php:

    // ***** 2011-03-08 TU 23:09  Use -5, if no offset returned *****
    // $string_localtime = gmdate($format, $string_time +
    get_option('gmt_offset')*3600);
    $myOffset = (get_option('gmt_offset'))? get_option('gmt_offset'): -5;
    $string_localtime = gmdate($format, $string_time + $myOffset*3600);

    Udar Gromov
    Keymaster

    I started to dig dipper. Function depends on GMT offset returned by get_option(‘gmt_offset’). When called from bbPress this function returns nothing. As a result get_date_from_gmt() always returns GMT time.

    Here is a chart:

    function get_date_from_gmt() is in wp-includesformatting.php

    function get_option() is in wp-includesfunctions.php

    in reply to: bbPress Latest Developments -1.0.3 is Out #2365
    Udar Gromov
    Keymaster

    Bad news – little was fixed in a new release.

    Still the same:

    – search by Forum doesn’t filter and

    – Relevant posts links still pointing to an generic page (topic.php#post-)

    – `<il>’ still kills topic formatting in IE

    What is now working:

    – Trying to find any documentation on what was actually fixed in this release? [19:22]

    – Menu at the bottom of “topic.php” is no longer wrapping – Fixed

    in reply to: bbPress Latest Developments -1.0.3 is Out #2364
    Udar Gromov
    Keymaster

    My Current Problems with bbPress are:

    – Relevant Links in search results are broken

    – Search by Forum is not filtering

    – get_date_from_gmt() always return GMT time if called from bbPress

    – Clarify error message, if Topic Title is blank

    – tags <li> without <ul> are ruining page format in IE

    Udar Gromov
    Keymaster

    Just fixed this problem for you.

    There is even an article on how to fix these type of problem in the future:

    XML Parsing Error

Viewing 15 posts - 1 through 15 (of 25 total)