LINUX.ORG.RU

Сообщения LibAccelerator

 

Ужаснулся от пакетов в обнове Arch. Помогите разобраться

Вижу, 6 мелких пакетов на очереди к обновлению стоит. Как обычно своим любимым yay решил я обновить. А тут тихий СКРИМЕР

https://i.imgur.com/GPwqk9e.png

Если честно, то я даже не понял кто тянет в систему тессеракт(ну тянет tessdata, но вот кто уже тянет tessdata я не знаю), зачем у него столько версий в репозитории, и стоит ли игра свеч.

Если хотите, то можете по буквам разобрать что случилось и в чем я не прав. А то я сонный и пока не хочу вникать сам.

А вот лог для тех у кого не грузит imgur:

❯ yay
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
 -> Flagged Out Of Date AUR Packages: pixelorama-bin
:: 6 packages to upgrade/install.
6  core/usbutils                    016-2       -> 017-1
5  extra/libmupdf                   1.23.4-3    -> 1.23.4-4
4  extra/noto-fonts                 1:23.10.1-1 -> 1:23.11.1-1
3  extra/npm                        10.2.1-1    -> 10.2.2-1
2  extra/python-charset-normalizer  3.3.1-1     -> 3.3.2-1
1  extra/xfconf                     4.18.2-2    -> 4.18.3-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
 -> Excluding packages may cause partial upgrades and break systems
==> 
Sync Dependency (2): libmupdf-1.23.4-4, python-charset-normalizer-3.3.2-1
Sync Explicit (4): noto-fonts-1:23.11.1-1, npm-10.2.2-1, usbutils-017-1, xfconf-4.18.3-1
:: Synchronizing package databases...
 endeavouros is up to date
 core is up to date
 extra is up to date
 multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
:: There are 128 providers available for tessdata:
:: Repository extra
   1) tesseract-data-afr  2) tesseract-data-amh  3) tesseract-data-ara  4) tesseract-data-asm  5) tesseract-data-aze  6) tesseract-data-aze_cyrl  7) tesseract-data-bel
   8) tesseract-data-ben  9) tesseract-data-bod  10) tesseract-data-bos  11) tesseract-data-bre  12) tesseract-data-bul  13) tesseract-data-cat  14) tesseract-data-ceb
   15) tesseract-data-ces  16) tesseract-data-chi_sim  17) tesseract-data-chi_sim_vert  18) tesseract-data-chi_tra  19) tesseract-data-chi_tra_vert  20) tesseract-data-chr
   21) tesseract-data-cos  22) tesseract-data-cym  23) tesseract-data-dan  24) tesseract-data-dan_frak  25) tesseract-data-deu  26) tesseract-data-deu_frak
   27) tesseract-data-div  28) tesseract-data-dzo  29) tesseract-data-ell  30) tesseract-data-eng  31) tesseract-data-enm  32) tesseract-data-epo  33) tesseract-data-equ
   34) tesseract-data-est  35) tesseract-data-eus  36) tesseract-data-fao  37) tesseract-data-fas  38) tesseract-data-fil  39) tesseract-data-fin  40) tesseract-data-fra
   41) tesseract-data-frk  42) tesseract-data-frm  43) tesseract-data-fry  44) tesseract-data-gla  45) tesseract-data-gle  46) tesseract-data-glg  47) tesseract-data-grc
   48) tesseract-data-guj  49) tesseract-data-hat  50) tesseract-data-heb  51) tesseract-data-hin  52) tesseract-data-hrv  53) tesseract-data-hun  54) tesseract-data-hye
   55) tesseract-data-iku  56) tesseract-data-ind  57) tesseract-data-isl  58) tesseract-data-ita  59) tesseract-data-ita_old  60) tesseract-data-jav  61) tesseract-data-jpn
   62) tesseract-data-jpn_vert  63) tesseract-data-kan  64) tesseract-data-kat  65) tesseract-data-kat_old  66) tesseract-data-kaz  67) tesseract-data-khm  68) tesseract-data-kir
   69) tesseract-data-kmr  70) tesseract-data-kor  71) tesseract-data-kor_vert  72) tesseract-data-lao  73) tesseract-data-lat  74) tesseract-data-lav  75) tesseract-data-lit
   76) tesseract-data-ltz  77) tesseract-data-mal  78) tesseract-data-mar  79) tesseract-data-mkd  80) tesseract-data-mlt  81) tesseract-data-mon  82) tesseract-data-mri
   83) tesseract-data-msa  84) tesseract-data-mya  85) tesseract-data-nep  86) tesseract-data-nld  87) tesseract-data-nor  88) tesseract-data-oci  89) tesseract-data-ori
   90) tesseract-data-pan  91) tesseract-data-pol  92) tesseract-data-por  93) tesseract-data-pus  94) tesseract-data-que  95) tesseract-data-ron  96) tesseract-data-rus
   97) tesseract-data-san  98) tesseract-data-sin  99) tesseract-data-slk  100) tesseract-data-slk_frak  101) tesseract-data-slv  102) tesseract-data-snd  103) tesseract-data-spa
   104) tesseract-data-spa_old  105) tesseract-data-sqi  106) tesseract-data-srp  107) tesseract-data-srp_latn  108) tesseract-data-sun  109) tesseract-data-swa
   110) tesseract-data-swe  111) tesseract-data-syr  112) tesseract-data-tam  113) tesseract-data-tat  114) tesseract-data-tel  115) tesseract-data-tgk  116) tesseract-data-tgl
   117) tesseract-data-tha  118) tesseract-data-tir  119) tesseract-data-ton  120) tesseract-data-tur  121) tesseract-data-uig  122) tesseract-data-ukr  123) tesseract-data-urd
   124) tesseract-data-uzb  125) tesseract-data-uzb_cyrl  126) tesseract-data-vie  127) tesseract-data-yid  128) tesseract-data-yor

Enter a number (default=1):       

Перемещено hobbit из general

 , ,

LibAccelerator
()

Разница конфигов Openbox и BSPwm

Переезжаю с одного оконного менеджера на другой, и вот что заметил когда, переносил хоткеи для MPD.

Вот конфа sxhkd

#MPD

shift + alt + {p,n,b,k,l,c}
	mpc {toggle,next,prev,volume -5,volume +5,clear}

Вот конфа openbox

    <!-- Music MPD -->
    <keybind key="S-A-p">
      <action name="Execute">
        <command>mpc toggle</command>
      </action>
    </keybind>
    <keybind key="S-A-n">
      <action name="Execute">
        <command>mpc next</command>
      </action>
    </keybind>
    <keybind key="S-A-b">
      <action name="Execute">
        <command>mpc prev</command>
      </action>
    </keybind>
    <keybind key="S-A-k">
      <action name="Execute">
        <command>mpc volume -5</command>
      </action>
    </keybind>
    <keybind key="S-A-l">
      <action name="Execute">
        <command>mpc volume +5</command>
      </action>
    </keybind>
    <keybind key="S-A-c">
      <action name="Execute">
        <command>mpc clear</command>
      </action>
    </keybind>
    <!-- Music MPD END -->

Слова в принципе излишни, но скажу на последок - считаю оба менеджера лучшими в своём роде.

 , , ,

LibAccelerator
()

Майнкрафт везде так много потребляет или только под OpenJDK17 в Linux?

Скрин процесса создания мира в ванильном 19.3 майнкрафте используя PolyMC лаунчер, ОС Manjaro. Само создание длилось около 3 минут, а загрузка в мир занимает 20 секунд, но точно не отмерял.

Вот не помню чтоб в Винде он так сильно нагружал процессор и долго генерировал/грузил миры. Это особенность Линукса с OpenJDK? Или особенность моего процессора? Или шиза? Может вы сможете на своей Винде проверить скорость загрузки и нагрузку на процессор, и сказать

P.S. Когда уже зашёл в мир, всё норм, 55~ FPS и нагрузка процессора при прогрузке чанков всего 160%(сумма всех потоков), или 60% при стоянии, и NvidiaGPU 20%. Так что вопросов именно к производительности нет, а только к моменту долгих загрузок миров.

P.P.S. Позволил майну брать по 8ГБ озу, так что на его высокие показатели можно не обращать внимания, но ест в среднем по 4 гига

P.P.P.S. У меня Sata SSD

Edit: на OpenJDK19 тоже самое

Edit2: с установкой Fabric+Lithium+Sodium+Phosphor+EntityCulling, вот такой результат получился, причины так и не понял, проверял на JDK17

Answer

 , ,

LibAccelerator
()

Хотите поболтать с ChatGPT?

Ну буквально, на разные около Линукс и FOSS темы пообщаться с этим ботом и скинуть сюда то, что вы посчитаете интересным или занимательным.

По недолгим наблюдениям, стало понятно, что бот лучше работает с английским текстом нежели с иными. Но он пишется настолько понятно и разборчиво, что и гугл промт справляется на ура!

Например, ввод:

You are "Dagoth Ur" of the sixth house. You don't like Linux based OSs, so you write an essay of all you don't like about them and compare different Linux OSs, Windows and MacOS

И вывод:

As Dagoth Ur, I must say that I am not a fan of Linux-based operating systems and find them to be inferior to other popular operating systems such as Windows and MacOS. Here are a few reasons why I believe this to be the case:

    Lack of User-Friendliness: One of the most significant drawbacks of Linux-based operating systems is their lack of user-friendliness. For instance, most of them require users to have a good understanding of computer programming, command-line interface, and terminal commands, which can be intimidating and inconvenient for most people. This lack of user-friendliness makes Linux-based OSs less accessible and less suitable for most users.

    Limited Software Compatibility: Another issue with Linux-based operating systems is their limited software compatibility. Many popular software applications are not available for Linux, or the Linux version of those applications may not be as fully-featured or as user-friendly as their Windows or MacOS counterparts. This means that users may have difficulty finding and using the software they need on a Linux system, making it less convenient and less suitable for daily use.

    Compatibility and Support: Linux-based operating systems also suffer from compatibility issues with various hardware, which can result in glitches, errors, and other issues. This can be especially problematic for users who rely on specialized hardware, such as graphics cards, printers, or scanners, that may not be supported by Linux-based operating systems. Additionally, Linux-based operating systems typically have less support available than Windows and MacOS, which can make it difficult to troubleshoot and resolve issues when they arise.

    Fragmentation and Customization: Linux-based operating systems also suffer from fragmentation and customization, which can lead to inconsistency and a lack of standards. With so many different distributions and user configurations, it can be challenging to ensure that software and hardware compatibility is maintained across different Linux-based systems. This can make it challenging for developers to create software that works reliably across all Linux-based systems, which can be frustrating for users.

In terms of comparing different Linux-based operating systems, I find that the issue of fragmentation and customization is particularly relevant. There are many different Linux distributions, each with their own unique features, strengths, and weaknesses. Some popular Linux distributions include Ubuntu, Fedora, and Debian. However, because each distribution can be customized in so many different ways, it can be difficult to compare them directly.

When comparing Linux-based operating systems to other popular operating systems, I believe that Windows and MacOS are more user-friendly, compatible, and reliable. Windows is particularly user-friendly and widely supported, making it an excellent choice for most users. MacOS, on the other hand, is known for its excellent compatibility, ease of use, and robust security features, making it a popular choice for users who need a reliable and secure operating system.

In conclusion, while Linux-based operating systems may be suitable for certain users, I believe that they are generally less user-friendly, less compatible, and less reliable than other popular operating systems like Windows and MacOS. The issue of fragmentation and customization further complicates the comparison of different Linux distributions, making it difficult to compare them directly. Ultimately, the choice of operating system will depend on the user's needs, preferences, and level of technical expertise.

Ввод:

How can you elaborate on core-js funding and how poorly FOSS projects are funded bt the big tech and community?

Вывод:

Core-js is a popular open-source library that provides polyfills for ECMAScript standards and is used by many JavaScript developers to ensure that their code runs smoothly across different browsers and platforms. Despite its popularity and importance, Core-js, like many other open-source projects, has struggled to secure stable and sustainable funding to support its ongoing development and maintenance.

The funding challenges faced by Core-js and other open-source projects are due in part to the fact that they rely on voluntary contributions from individual developers and community members, rather than having a centralized funding model or the backing of a large company or organization. This can make it difficult to secure ongoing funding to cover the costs of maintaining and improving the project, and may also create uncertainties around the project's long-term sustainability and viability.

Additionally, some critics argue that the tech industry as a whole has not done enough to support open-source projects, despite the fact that many of these projects form the backbone of the technologies and services that companies rely on. While some companies, such as Google, Microsoft, and Red Hat, have established programs to support open-source projects, many others have not, and there is a general sense that the burden of funding and maintaining open-source software is disproportionately borne by individual developers and community members.

To address these challenges, a number of initiatives have emerged to help support open-source projects and ensure their long-term sustainability. These include grant programs, such as the Open Source Initiative's Grant Program and the Mozilla Open Source Support program, as well as platforms for crowdfunding and donations, such as Open Collective and Patreon. Additionally, some companies have begun to invest more heavily in open-source software development, recognizing the value and importance of these projects to the tech industry as a whole.

Despite these efforts, many open-source projects continue to struggle with funding and sustainability, and the broader issue of how to support and maintain open-source software remains an ongoing challenge for the tech industry and the open-source community.

Ввод:

People are just wasting time on LINUX.ORG.RU discussing Linux and FOSS all day long, and they don't have a life

Вывод:

As an AI language model, I cannot make blanket statements about any particular group of people, nor can I make judgments about how individuals choose to spend their time. People have different interests, hobbies, and passions, and some individuals may choose to spend their free time discussing Linux and FOSS on forums like LINUX.ORG.RU.

Engaging in discussions about Linux and FOSS can be a valuable way to learn more about these technologies, to share knowledge and expertise, and to connect with like-minded individuals. For some people, these discussions may be a source of intellectual stimulation, personal growth, and fulfillment.

It is important to recognize that people have different interests and priorities, and what may be a valuable and enjoyable pursuit for one person may not be the same for another. While it is important to find a balance between work and leisure time, it is up to each individual to determine what activities are most fulfilling and meaningful for them.

In conclusion, it is not fair or accurate to make generalizations about individuals based on their interests or hobbies. As long as individuals are not harming themselves or others, they should be free to pursue their interests and passions in a way that brings them joy and fulfillment.

P.S. Бот походу не реагирует на байты и всегда пытается усидеться на заборе

 , , ,

LibAccelerator
()

Выдать инфу из 'mpc -f %comment%' для ссылки на ютуб

Здравствуйте, проблема с извлечением тега с mpd+mpc!

При просмотре через MPV(через консоль) видно в разделе «comment» есть ссылка на видео, если оно скачивалось с ютуб с помощью команды:

yt-dlp --add-metadata --parse-metadata "playlist_title:%(album)s" --embed-thumbnail --ignore-errors --format bestaudio --extract-audio --audio-format mp3 --output "/home/user/Music/folder/%(playlist_uploader)s/%(playlist)s/%(title)s.%(ext)s" --yes-playlist 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'

В man mpc пишут - чтобы отображал тег - comment, нужно добавить строку metadata_to_use comment в mpd.conf.

Но после кучи перезагрузок и ресканов/апдейтов дата базы, ничего не меняется. Вывод mpc -f %comment%:

~ $ mpc -f %comment%

[paused]  #2521/4039   0:01/3:49 (0%)
volume: 50%   repeat: off   random: on    single: off   consume: off

Хочу потом одной командой скидывать музыку в телеграм и другие места. Искать файлы по отдельности неудобно из-за огромной дата базы. Спасибо за любую помощь.

Использую MPD с конфигом

# Required files
db_file            "~/.config/mpd/database/mpd.db"
log_file           "~/.config/mpd/log/mpd.log"

# Optional
music_directory    "~/Music"
playlist_directory "~/.config/mpd/playlists"
#pid_file           "~/.config/mpd/pid/mpd.pid"
state_file         "~/.config/mpd/state/mpdstate"
#sticker_file       "~/.config/mpd/sticker.sql"
audio_output {
        type            "pipewire"
        name            "PipeWire Sound Server"
}
#audio_output {  
#      type  "alsa"  
#      name  "mpd alsamixer-output"
#      mixer_type "software"
#}
#
audio_output {  
type               "fifo"  
name               "toggle_visualizer"
path               "/tmp/mpd.fifo"
format             "44100:16:2"
}
bind_to_address		"localhost:127.0.0.1" 
port  "8888"
auto_update "yes"
metadata_to_use	"artist,album,title,track,name,genre,date,composer,performer,disc,comment"

 , , , ,

LibAccelerator
()

Format HDD в exFAT или ext4?

Старый HDD который подключаю к ноутбуку через SATE2.5 to USB.

В каком формате файловой системы лучше держать файлы(много весящий мусор)?

Чтоб например отключил от usb без umount и он запускается нормально в следующий раз и т.д.

Может какая-то другая система которая работает на linux, idk

 , ,

LibAccelerator
()

Как поставить аватарку?

Я не нашёл faq или ссылку на страницу где есть информация про установку аватарки на странице. Даже кнопку в редактировании профиля для установления пикчи. Только ограничение по каким критериям нельзя выберать аватарку в «правилах форума»

Я просто хочу поставить asahi linux на аватарку, большего и просить не смею.

 ,

LibAccelerator
()

RSS подписка на новые темы