home.social

#override — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #override, aggregated by home.social.

fetched live
  1. xterm.vt100.translations: #override \
        Ctrl Shift <Key> equal: larger-vt-font() \n\
        Ctrl <Key> minus: smaller-vt-font() \n\
        Ctrl <Key> 0: set-vt-font(d) \n\
        Ctrl Shift <Key> C: copy-selection(CLIPBOARD) \n\
        Ctrl Shift <Key> V: insert-selection(CLIPBOARD)
    

    xterm(1) on #Linux or #BSD doesn’t support easy font resize and CUA copy-paste? uhh.

  2. Переопределение классов ядра Joomla с помощью плагина на примере MVCFactory

    Разработчики сайтов, веб-мастера, рассматривая Joomla как CMS, чаще всего используют компоненты ядра такими, какие они есть. Но компоненты ядра, обеспечивающие CRUD-ы в Joomla, следует рассматривать ещё и как примеры использования Joomla в качестве фреймворка. Иногда реалии проекта таковы, что требуется внести изменения именно в логику классов ядра Joomla. Я покажу это на нескольких примерах: как исхитрялись раньше и какие возможности появились в современных версиях Joomla. Сразу оговорюсь: речь не о том, чтобы править файлы ядра. Это плохая идея почти всегда. При обновлении Joomla такие изменения будут потеряны, а сопровождать их потом придётся вручную. Речь о другом: как изменить точку создания MVC-классов компонента через плагин и DI-контейнер, не залезая в core-файлы. Ну и приятный бонус - Joomla-археология и немного красивого и ужасного треша из практики 😎

    habr.com/ru/articles/1033646/

    #joomla #joomla_6 #mvcfactory #mvc #override #декоратор #ооп

  3. #TIL that the word OVERRIDE predates computers.

    Reading through #Tolkien's #TheTwoTowers:
    "...leaping back into the saddle, [Aragorn] rode away for some distance eastward, keeping to one side and taking care not to #override the footprints."

    Makes sense; horses/tracking have been around for much longer than computers. One can surmise that modern usage extrapolates on that metaphor of "riding over" old #data to replace it with the footprints of the new. Neat!

    #language #grammar #history #lotr

  4. @cks @davefischer I've usually done this via Xterm keybindings – it has a built-in action to spawn itself, and automatically detects the child shell's cwd.

    XTerm*VT100.translations: #override \n\
    Shift Ctrl <Key>C: copy-selection(CLIPBOARD) \n\
    Shift Ctrl <Key>V: insert-selection(CLIPBOARD) \n\
    Shift Ctrl <Key>N: spawn-new-terminal() \n

  5. What is #OOP? The current Object Oriented #Programming has been distracted by #classes, #interfaces, #override, .. and is ignoring its crucial component, namely #object. Claude4 Sonnet and I are developing this new language called Sunya to get rid of all the nuisance and focus on objects. An object is a standalone entity that has attributes and functionalities and that can "emulate" other objects directly. As object is a set of functions with a persistent state. A module is a complex object.

  6. Подмена E-EDID на Windows

    Если вы когда-нибудь, запуская рабочую станцию с операционной системой Windows, обнаруживали, что ваш Full HD монитор показывает лишь изображение с разрешением не более 1024x768 и определяется как «Стандартный не Plug-n-Play монитор», и по какой-то причине вы не имеете возможности переключить монитор на другой видеовход, не поленитесь заглянуть под кат, где я растолкую, как «временно» выкрутиться минимальными усилиями.

    habr.com/ru/articles/908410/

    #Windows #EEDID #dump #hardware #eeprom #override

  7. @beberlei Really curious if all the bugs in the core attribute functionality are now finally fixed. With each of my three attribute-RFCs (#SensitiveParameter, #Override, #Deprecated) I found some more of them 😁

    This time it was named parameters for attributes on internal classes that was broken.

  8. PHP 8.3 is a major update of the PHP language. In this new release, we have:

    ⌨️ Typed Class Constants
    🏛️ Dynamic Class Content Fetch
    ♻️ A New [#Override] Attribute
    ➕ …and more!

    php.net/releases/8.3/en.php Time to upgrade container image. Happy upgrades!