Skip Navigation

Posts
13
Comments
165
Joined
2 yr. ago

  • production was moved to China literally because the cost of production is cheaper there. raising the cost of production in this case is like giving up production.

    The problem of garbage emissions is not who has the dirtier production, but that the modern global economic model is described as including the paradigm of consumer societies. As long as people line up for non-removable, epoxy-filled identical squares, emissions and garbage will grow every year. this is the current system. and not because China emits a lot of smoke.

  • Short command wasn't work in my env. I can run only with full sockets path. May be I do something wrong.

  • Thanks. Not full wayland protocol support and have a bugs, but something is greater than nothing. UPD: The utilization of the Internet channel has also increased

  • Eh, the era when it was possible to throw the interface through an SSH session is over. Sadly. Or maybe I'm just too old. XD

  • In first you need understand what type of suspend you use:

    Suspend to RAM (aka suspend, aka sleep) The S3 sleeping state as defined by ACPI. Works by cutting off power to most parts of the machine aside from the RAM, which is required to restore the machine's state. Because of the large power savings, it is advisable for laptops to automatically enter this mode when the computer is running on batteries and the lid is closed (or the user is inactive for some time). Suspend to disk (aka hibernate) The S4 sleeping state as defined by ACPI. Saves the machine's state into swap space and completely powers off the machine. When the machine is powered on, the state is restored. Until then, there is zero power consumption. Hybrid suspend (aka hybrid sleep) A hybrid of suspending and hibernating, sometimes called suspend to both. Saves the machine's state into swap space, but does not power off the machine. Instead, it invokes the default suspend. Therefore, if the battery is not depleted, the system can resume instantly. If the battery is depleted, the system can be resumed from disk, which is much slower than resuming from RAM, but the machine's state has not been lost.

    I think you use Hybrid suspend. Hybrid suspend store memory to disk (20 seconds lag) and then lost battery for memory renew. Need you Suspend to RAM maybe? 20 Seconds lag will fixed with that.

    Then check

     
        
    cat /sys/power/mem_sleep
    
      

    If you see

     
        
    [s2idle] shallow deep
    
      

    check first if your UEFI advertises some settings for it, generally under Power or Sleep state or similar wording, with options named Windows 10, Windows and Linux or S3/Modern standby support for S0ix, and Legacy, Linux, Linux S3 or S3 enabled for S3 sleep.

    If you don't see anything you can swap sleep mode to Suspend to disk. That slow but don't use any power. Or try fix sleep status.

    More information you can find here: https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate

  • You need to create an MX record in the DNS zone of your domain. Something like:

     
        
    @ IN MX 10 my.zome.
    @ IN MX 20 server1.my.zome.
    
      

    You can create 1 MX record or more. 10 and 20 server priority for input mails.

    Then you need to create an spf record. There are several options here. For example

    @ IN TXT "v=spf1 +a +mx -all"

    allows you to send emails from A domain records, then from MX domain records and prohibits from all other hosts.

    Theoretically, you can only create an SPF record with A but without MX and dont create MX DNS records. Although I have not tried this configuration.

    This is the minimum set after which you will get into spam, but at least the letters will reach.

    You also need to make a PTR record to avoid spam folder, but this is not possible on a dynamic IP.

  • Show df -h from Manjaro and Arch please.

  • Raid: https://wiki.archlinux.org/title/RAID

    Don't forget part "email notifications". In addition to configuring the raid, you need to understand when the disk crashed, otherwise the raid will not help.

    If you share files with windows. Basic way SMB share: https://wiki.archlinux.org/title/Samba

    if you want share files with linux or windows with not basic ways you have many choises. NFS for example, or sshfs if you need folder time to time, or share directory with nginx ( https://stackoverflow.com/questions/10663248/how-to-configure-nginx-to-enable-kinda-file-browser-mode ), or overkill: nextcloud server.

    UPD: In general, you just need to find a linux distributive with good documentation and use this documentation for the first time. Some things are solved differently in Linux than in Windows and you just won't know about it without reading the wiki.

  • interesting facts about LVM:

    1. You can make a volume snapshot of the system before a major change (for example, an update).
    2. You can enable caching and use HDD together with SSD cache
    3. You can build raid 0,1,5 directly on LVM (you still need modules from mdraid)
    4. Even without a raid, you can expand the partition beyond one disk to another or migrate the partition from disk to disk (without even disabling it)

    However, all this is done from the console and I do not know if there is a GUI.

  • I think that in order to solve such a question, we first need to consider something else. Why, if votes are so important to you, can't you just create a bunch of accounts and vote honestly on any server?

    As soon as we are really sure that 1 person is 1 vote, and not 10, 100, 10000 or any other number, then it is already possible to build trust checks between servers. Although it seems that this has not been solved even by large social networks.

    The answer to your question in general is this: store the votes by servers and then double-check the result randomly.

    S returns: 50 votes for a post from server A, 30 for a post from server B, 10 for a post from server C, etc. Then you can randomly check on these servers whether the amount is correct. However, there is no way to check the voices of server S, so they either have to be thrown out or still trust the server at its word. It is possible to fully verify server S only if registration on all servers goes through a trusted intermediary.

    1. Про френдику хз. Формат у той сети немного другой.
    2. На какой именно рейтинг? Который можно крутнуть просто ботами или выключив минусы в конфиге сервера? =) Просто разок глянуть как к твоему посту относятся ещё можно а рельно считать карму так себе занятие. Это и в крупных соцсетях вроде реддита не работает адекватно а тут так тем более.

    В целом да, нормально. Так и задумано.

  • Поломалось обновление сертификатов. Бывает. Как раз как поправил новый пост увидел.

  • Сайт жив. В локальных только общение с техподдержкой в основном потому что я не создавал больше сообществ. И пользователи не создавали. Хотя тут всего где-то 8 пользователей, так что ничего удивительного.

  • Why "once again"? Russia/USSR has never used nuclear weapon. The only one combat nuclear bombing in history was carried out by the United States.

  • So what? How are civil servants, paramilitary formations created personally by Putin, and a linear engineer connected?

    If Putin's logic is mysterious to you, I can easily explain it. If you personally took money from Putin, then obey the commands. Especially if we talk about the military, which has the largest state preferences. Pension at 35 years old. Pensions are 3 times more than standard ones. Any government support, apartments, anything else. Big profits are big risks.

    Politicians literally almost all entered the government through Putin's party. In this situation, you should not try to run over to the other side, it's obvious.

    And an ordinary engineer clearly does not fit into this logic.

  • I am always a little amused by the comments of Europeans about Russia as a country of madness and murder. Putin may be a murderer, but he is not a psychopath. Almost 100% is mushroom poisoning. Especially considering how many people in Russia actually pick mushrooms on their own and eat them. On average, about 10,000 Russians are poisoned by mushrooms every year due to the fact that they made a mistake when collecting in the forest. Dies, of course, much less, but the chance is non-zero. I also collect mushrooms in the nearby forest and eat almost all my life. And pickle for the winter too.

    UPD: Considering that insults have began, I'm sorry if I offended someone. I'm just surprised how much people are really afraid of one person. Even he is a dictator. Putin kills a line engineer. What's next? Eat children? It's amazing that people write insults to me at all. What if I am also a hidden Putin and tomorrow the door handles will be smeared with a "novichok"? XD

  • the transfer of the island does not make you a vassal. especially if before that you unilaterally selected an entire region. this piece of land was a free region even under the tsar. then Russia took it for itself, which of course China did not like under any pretext. and now, 100 years later, the border has been agreed, albeit at the cost of one or two islands.

  • The full map of the Russian-Chinese border appeared only 15 years ago. I mean, approved by both sides. Surprisingly that claims were limited to just one island. the neighboring island has already been given to China just at the signing of the border. if China asks hard, I think this one will be given.