define('DISALLOW_FILE_EDIT', true); define('DISALLOW_FILE_MODS', true); /dev/head — Запуск игр от Sega MD на Ubuntu
 

Запуск игр от Sega MD на Ubuntu

Исходный код программы которая меня показывает в правом нижнем углу.
Мне опять лень было искать нормальный минималистский "вещатель" с веб-камеры, и я его написал сам.

#!/usr/bin/env python
import pygame
import pygame.camera
from pygame.locals import *
import sys

wh=(320,240)
pygame.init()
pygame.camera.init()
cam = pygame.camera.Camera("/dev/video0",wh)
cam.start()
window = pygame.display.set_mode(wh)
pygame.display.set_caption('www.devhead.ru')
while 1:
    for event in pygame.event.get():
        if event.type == pygame.QUIT:
            sys.exit()
    window.blit(cam.get_image(),(0,0))
    pygame.display.flip()

Комментарии: 3210

  1. Liked how the writer used real examples instead of theoretical ones to make the points stick, and a stop at violetharborvendorparlor added even more concrete examples, this is the kind of practical approach that respects readers who actually want to apply what they learn rather than just nodding along passively without doing anything useful.

  2. Now considering the post as evidence that careful blog writing is still possible, and a look at clevercartarena extended that evidence, the broader question of whether the modern web can sustain quality writing has obvious empirical answers in sites like this one and seeing them is reassuring even when they remain a minority overall today.

  3. Going to come back when I have more time to read carefully, the post deserves more than a quick scan, and a stop at timbertrailmerchantgallery reinforced that, this is the kind of site that rewards a slower read which is hard to find in this fast paced corner of the internet but really worthwhile.

  4. Reading this slowly to give it the attention it deserved, and a stop at buyfieldshop earned the same slow read, choosing to read slowly is a small act of respect for content quality and very few sites earn that respect from me but this one did so without any explicit ask which is the cleanest way.

  5. Honest assessment after reading this twice is that it holds up under careful attention, and a look at rapidgoodszone extended that durability across more pages, content that survives a second read without revealing weak spots is rarer than the average reader probably realises and this site clearly cleared that bar.

  6. Really nice to see things explained without overcomplicating the topic, the words flow naturally and stay easy to follow, and a short visit to electronicsbuycenter only added to that experience because the same simple approach is used across the rest of the page too without any change in tone.

  7. Generally I bookmark sparingly to avoid building up a bookmark graveyard but this one earned a permanent slot, and a stop at auroracovetaildistrict extended that permanence designation, the few sites I keep permanent bookmarks for are sites I expect to use repeatedly and this one has clearly cleared that expectation bar today.

  8. If I had to defend the time I spend reading independent blogs this site would feature in the defence, and a look at pearlcovemerchantgallery reinforced that defensive utility, the ongoing case for non algorithmic reading is one I make to myself periodically and sites like this one provide the actual evidence that supports the case clearly.

  9. Looking through other posts here the consistency is what makes the site valuable rather than any single piece, and a stop at stylishtrendcenter extended that consistency observation, sites whose value lies in the ongoing pattern rather than in standout posts are sites I trust more deeply and this one has clearly built that kind of trust.

  10. Reading this prompted me to dig into a related topic later, and a stop at forestcovemerchantgallery provided some of the starting points for that follow up reading, content that triggers further exploration rather than satisfying curiosity completely is content with real generative energy and this site has plenty of that energy throughout it.

Оставить комментарий

*

Комментарий:

Ваш e-mail не будет опубликован.
Обязательные поля помечены *

Разрешенные HTML теги:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>