eng

The Pi Hut Advent Calendar in C++

The Pi Hut Advent Calendar in C++

This December I got myself The 12 Projects of Codemas advent calendar from The Pi Hut. It comes with a Raspberry Pi Pico H and a bunch of electronic components — LEDs, buttons, sensors, displays — everything you need to learn embedded programming through 12 daily projects. The official guides use MicroPython, which makes perfect sense for beginners. But I decided to take the harder path: implement …

Dec 25, 2024 · tswr
C- in ANTLR

C- in ANTLR

This is a sample of a small language with global variables, assignments, arithmetic expressions, input, output, if and while, which compiles into java assembler (can’t say that i excell in jasmin, but this one works in most cases). (source code)

Feb 3, 2013 · tswr
Students' Theses

Students' Theses

Development of General Purpose Object Oriented Language Compiler (Egor Kolmogortsev) This course work is devoted to development of an OO language compiler on the basis of flex, bison and llvm tools. Thesis Presentation Sources Graph_Viz (Maxim Pomazuev) This is an introductory work into the field of vizualization of big graphs. Archive (Ru) ASMPY (Aleksandr Krasnorutskiy) ASMPY is an assembler of …

Feb 3, 2013 · tswr
My Project List

My Project List

Team RuCTF is the annual open CTF challenge in information security among teams from russian universities. RuCTF started out in 2008 and was the first challange of such kind in Russia. Now it consists of two phases: quals and finals. Quals are remote, finals are local (USU, Ekaterinburg). My roles: task/service developer. RuCTFE is RuCTF Extended to the edge of the world. Teams from universities …

Feb 2, 2013 · tswr
Select

Select

my $paddr = inet_aton($addr); croak "Cannot resolve '$addr'" if (!defined $paddr); socket SOCK, PF_INET, SOCK_STREAM, getprotobyname('tcp') or croak 'Cannot create socket'; connect SOCK, sockaddr_in($port, $paddr) or croak "Cannot connect to server '$server'"; send SOCK, "$query\r\n", 0; vec($rin, fileno(SOCK), 1) = 1; do { ($nfound) = select($rout = $rin, '', '', $timeout); croak 'Select() error' …

Feb 2, 2013 · tswr