home.social

#pty — Public Fediverse posts

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

fetched live
  1. COM-порт из ничего: PTY, epoll и немного RS485-боли

    Демон «ничего не делал» — а одно ядро было загружено на 100%. История про виртуальный COM-порт для Linux/WSL2: PTY, epoll и эмуляция RS485, с кодом и граблями. Рассказываю, как сделал vseriald — демон, который создаёт виртуальный последовательный порт /dev/ttyV0 в Linux и WSL2 и выводит его в сеть, FIFO или очередь сообщений. Разбираю три неочевидных места: псевдотерминал, после закрытия которого одно ядро уходит в 100%; притормаживание источника в однопоточном epoll -цикле без блокировок; эмуляцию полудуплексного RS485 как конечного автомата с таймингами и коллизиями. Плюс честный ответ на вопрос «зачем это, если есть socat и /dev/pts» — и код из реального проекта.

    habr.com/ru/articles/1044386/

    #c++ #linux #pty #epoll #rs485 #последовательный_порт #systemd

  2. sandspice.com/what-to-do-in-bo

    What to Do in Boquete ☕🌋🧗‍♀️🚶‍♂️🌞 Panama

    Located in the Chiriqui highlands of Panama, Boquete is surrounded by breathtaking natural landscapes that invite visitors to immerse themselves in its outdoor pursuits.

    #boquete #chiriqui #panama #pty #david
    sandspice.com/what-to-do-in-bo

  3. I've started prototyping a playwright-like test framework for integration testing CLIs and TUIs github.com/myobie/pty/blob/mai #node #pty #tui #xterm #vitest

  4. I've started prototyping a playwright-like test framework for integration testing CLIs and TUIs github.com/myobie/pty/blob/mai #node #pty #tui #xterm #vitest

  5. I’ve made a pty wrapper for detaching from long running processes: github.com/myobie/pty

    I prefer this over tmux or zellij – only keep long running processes that matter, not a bunch of random incidental bashes and such. Uses xterm/headless so it works with anything, even vim.

    I’m also working on a websocket api for the pty server… if you have any ideas for what you’d want to see there then let me know. #development #shell #pty

  6. I’ve made a pty wrapper for detaching from long running processes: github.com/myobie/pty

    I prefer this over tmux or zellij – only keep long running processes that matter, not a bunch of random incidental bashes and such. Uses xterm/headless so it works with anything, even vim.

    I’m also working on a websocket api for the pty server… if you have any ideas for what you’d want to see there then let me know. #development #shell #pty

  7. Чёрное окошко Linux: погружение в подсистему TTY

    Начав изучать тему терминалов в Linux, вы можете почувствовать, что по отдельности вроде бы всё понятно, но разница между понятиями и их суть всё равно ускользает. Консоль, терминал, TTY, виртуальная консоль, виртуальный терминал, эмулятор терминала, оболочка — это просто «вот то чёрное окошко, куда вводят команды Linux». На самом деле за этим окошком скрывается целая цепочка разных сущностей — от компонентов ядра до пользовательских программ. Цель данной статьи — объяснить подсистему TTY и избавить вас от этого неприятного ощущения.

    habr.com/ru/companies/ruvds/ar

    #linux #tty #pty #uart #terminal #terminal_emulator #virtual_console #shell #line_discipline #ruvds_статьи

  8. Panama City: ⛈️ Tropical vibes! It’s hot and humid (30°C) with some afternoon thunderstorms expected. They’ll pass quickly, but they’ll be heavy. Keep an eye on the sky! ⚡ #Panama #PTY

  9. Panama City: ⛈️ Tropical vibes! It’s hot and humid (30°C) with some afternoon thunderstorms expected. They’ll pass quickly, but they’ll be heavy. Keep an eye on the sky! ⚡ #Panama #PTY

  10. Panama City, Panama
    ⛈️ Panama City: Hot and humid with the usual afternoon buildup. Highs of 31°C (88°F). Expect those tropical downpours to roll through around 3 PM—perfect for cooling off the pavement. The lightning shows over the canal could be spectacular tonight! ⚡ Have your rain gear ready for the commute. Is it humid enough for you today? #PanamaCity #PTY #Weather

  11. Panama City, Panama ⛈️ Tropical heat in #PanamaCity! High of 31°C (88°F) today. Expect clear skies this morning, but those afternoon thunderstorms are likely to roll in around 3 PM. It’ll be humid, so stay hydrated! Evening temperatures will hover around 24°C (75°F). Perfect for an evening stroll along the Cinta Costera after the rain clears. #Panama #TropicalWeather #PTY

  12. Panama City, Panama ⛈️ Tropical heat in #PanamaCity! High of 31°C (88°F) today. Expect clear skies this morning, but those afternoon thunderstorms are likely to roll in around 3 PM. It’ll be humid, so stay hydrated! Evening temperatures will hover around 24°C (75°F). Perfect for an evening stroll along the Cinta Costera after the rain clears. #Panama #TropicalWeather #PTY

  13. Panama City, Panama
    ⛈️ Tropical heat is the name of the game. Highs of 31°C with high humidity making it feel like 38°C. Expect the usual afternoon thunderstorms to roll through around 3 PM—they'll be heavy but brief. Great for the garden, less so for your commute! Keep an umbrella handy and stay hydrated in this humidity. 🌴
    #PanamaCity #Panama #TropicalWeather #RainySeason #PTY

  14. Panama City, Panama
    ⛈️ Tropical heat is the name of the game. Highs of 31°C with high humidity making it feel like 38°C. Expect the usual afternoon thunderstorms to roll through around 3 PM—they'll be heavy but brief. Great for the garden, less so for your commute! Keep an umbrella handy and stay hydrated in this humidity. 🌴
    #PanamaCity #Panama #TropicalWeather #RainySeason #PTY

  15. Flight: #THY903
    ICAO code: #4BB0EE
    Callsign: #TURKISH
    Operator: Turk Hava Yollari Turkish Airlines
    Country: 🇹🇷
    From: #IST to #PTY
    Speed: 855 kmh
    Altitude: 10363 m
    Distance: 2.9 km
    Angle ∆: 74.4°
    Direction ->: WNW
    Track:
    tinyurl.com/28n4urrg
    History:
    radarbox.com/data/mode-s/4BB0EE
    Seen: 15x

  16. Flight: #THY903
    ICAO code: #4BB0F5
    Callsign: #TURKISH
    Operator: Turk Hava Yollari Turkish Airlines
    Country: 🇹🇷
    From: #IST to #PTY
    Speed: 856 kmh
    Altitude: 10973 m
    Distance: 2.1 km
    Angle ∆: 79.2°
    Direction ->: WNW
    Track:
    tinyurl.com/yneb2da7
    History:
    radarbox.com/data/mode-s/4BB0F5
    Seen: 9x

  17. Flight: #THY903
    ICAO code: #4BB101
    Callsign: #TURKISH
    Operator: Turk Hava Yollari Turkish Airlines
    Country: 🇹🇷
    From: #IST to #PTY
    Speed: 945 kmh
    Altitude: 10973 m
    Distance: 1.8 km
    Angle ∆: 80.8°
    Direction ->: WNW
    Track:
    tinyurl.com/2yply6gp
    History:
    radarbox.com/data/mode-s/4BB101
    Seen: 6x

  18. Flight: #QTR8152
    Registration: A7-BFY
    ICAO code: #06A30C
    Callsign: #QATARI
    Operator: Qatar Airways Company
    Type: BOEING 777 F
    Country: 🇶🇦
    From: #UIO to #PTY
    Speed: 889 kmh
    Altitude: 10363 m
    Distance: 1.9 km
    Angle ∆: 79.4°
    Direction ->: WNW
    Track:
    tinyurl.com/2amuedjj
    History:
    radarbox.com/data/mode-s/06A30C
    flightradar24.com/data/aircraf
    Photos:
    jetphotos.com/photo/keyword/A7
    Seen: 15x

  19. Pa' los que tengan Instagram y les guste el ssssabor:
    Abrazos y aplausos para el trompetista de la banda de Roberto Delgado que grabó este ensayo de Maestra Vida completito: instagram.com/p/DIwRGMTOrR6dma

  20. Pa' los que tengan Instagram y les guste el ssssabor:
    Abrazos y aplausos para el trompetista de la banda de Roberto Delgado que grabó este ensayo de Maestra Vida completito: instagram.com/p/DIwRGMTOrR6dma #tumbao #maestravida #salsa #PTY #Panama

  21. Flight: #THY903
    ICAO code: #4BB0E9
    Callsign: #TURKISH
    Operator: Turk Hava Yollari Turkish Airlines
    Country: 🇹🇷
    From: #IST to #PTY
    Speed: 970 kmh
    Altitude: 10973 m
    Distance: 1.4 km
    Angle ∆: 82.5°
    Direction ->: WNW
    Track:
    tinyurl.com/2yyc3f4r
    History:
    radarbox.com/data/mode-s/4BB0E9
    Seen: 10x

  22. Flight: #THY903
    ICAO code: #4BB103
    Callsign: #TURKISH
    Operator: Turk Hava Yollari Turkish Airlines
    Country: 🇹🇷
    From: #IST to #PTY
    Speed: 853 kmh
    Altitude: 10973 m
    Distance: 0.8 km
    Angle ∆: 85.8°
    Direction ->: WNW
    Track:
    tinyurl.com/2y5rh6v8
    History:
    radarbox.com/data/mode-s/4BB103
    Seen: 1st x

  23. Flight: #THY903
    ICAO code: #4BB1A2
    Callsign: #TURKISH
    Operator: Turk Hava Yollari Turkish Airlines
    Country: 🇹🇷
    From: #IST to #PTY
    Speed: 964 kmh
    Altitude: 10356 m
    Distance: 3.2 km
    Angle ∆: 72.7°
    Direction ->: WNW
    Track:
    tinyurl.com/2a3baemm
    History:
    radarbox.com/data/mode-s/4BB1A2
    Seen: 6x

  24. Flight: #THY903
    Registration: TC-LLF
    ICAO code: #4BB186
    Callsign: #TURKISH
    Operator: Turk Hava Yollari Turkish Airlines
    Type: BOEING 787-9
    Country: 🇹🇷
    From: #IST to #PTY
    Speed: 883 kmh
    Altitude: 10363 m
    Distance: 3.5 km
    Angle ∆: 71.1°
    Direction ->: WNW
    Track:
    tinyurl.com/22keclwn
    History:
    radarbox.com/data/mode-s/4BB186
    flightradar24.com/data/aircraf
    Photos:
    jetphotos.com/photo/keyword/TC
    Seen: 17x

  25. Excelente el episodio de PBS "Finding Your Roots" con Rubén Blades.... "la vida te da sorpresas, camarada".... y vaya sorpresa nos llevamos todos! Poeta nieto de Poeta, y de qué clase de Poeta!

    youtu.be/eKs44m4-7bA?si=r55F2C

  26. Excelente el episodio de PBS "Finding Your Roots" con Rubén Blades.... "la vida te da sorpresas, camarada".... y vaya sorpresa nos llevamos todos! Poeta nieto de Poeta, y de qué clase de Poeta!

    youtu.be/eKs44m4-7bA?si=r55F2C #PTY #Panama

  27. Y salió disco nuevo de Rubén Blades y está puro fuego... grandeeees Roberto Delgado y Orquesta: open.spotify.com/album/4ImxyIU

  28. Y salió disco nuevo de Rubén Blades y está puro fuego... grandeeees Roberto Delgado y Orquesta: open.spotify.com/album/4ImxyIU #salsa #panama #pty

  29. "Bloomberg: Funcionarios estadounidenses aseguran que Panamá prometió tránsito gratuito a buques de Estados Unidos" prensa.com/politica/panama-pro

  30. "Bloomberg: Funcionarios estadounidenses aseguran que Panamá prometió tránsito gratuito a buques de Estados Unidos" prensa.com/politica/panama-pro #Panama #PTY

  31. y la conversación entre Ruben Blades y Leonardo Padura en YouTube: youtube.com/live/prfaIH7MMFE?s