memory heap
373 subscribers
2.54K photos
521 videos
52 files
3.12K links
science ∩ art = wonder

all memory blocks here are allocated by @a_v_p

GitHub: https://github.com/artyom-poptsov
Mastodon: https://fosstodon.org/@avp

https://memory-heap.org/~avp/
Download Telegram
Как думаете, если я использую в своей книге ноты для какой-нибудь известной мелодии (например, "Sweet Dreams"), для обучения программированию музыки на Arduino, будет ли это нарушением прав?
2
Дешёвый и простой способ обнаруживать лица в вашем следующем электропроекте:
https://www.sparkfun.com/products/21231
memory heap
Дешёвый и простой способ обнаруживать лица в вашем следующем электропроекте: https://www.sparkfun.com/products/21231
Придумал кстати хорошее название для модуля захвата лиц: "лицехват".
Я: Назови процесс, который позволяет получить цифровой сигнал из аналогового.
Студент: Аналогово-цифровое преображение.

#студенты #нртк #студенческие_перлы
7
Постепенно переношу Guile-INI на новый API Guile-SMC, чтобы проверить корректность архитектурных решений и их реализации.

GitHub говорит, что Guile-INI состоит на ~42% из M4 макросов, и лишь на ~27% из кода на Scheme. Основная часть кода генерируется автоматически из описания ДКА в формате PlantUML и подтягивается из Guile-SMC. И это правильно, ведь в большинстве парсеров делаются одни и те же вещи, а значит, реализацию ДКА для парсеров можно обобщить, что я и пытаюсь сделать.

Ещё интересно будет попробовать Guile-SMC в проектах, где вместо чтения файлов есть некий "водоворот событий" ("event loop") — например, при реализации чат-ботов, либо же web-сервисов.

#projects #guile #scheme #fsm
1
#music

Steam Powered Giraffe, "Hot on the Trail":
https://www.youtube.com/watch?v=5F1awDvbx9s

Просто офигенно.

Текст:
[Verse 1]
Well, you don't like that the way that I am (Is not the way)
Way that you want and the way you understand (But I can't)
Can't help being the way that I am (It's just the way)
Way that it is and what I know, so sorry about

All of these things that I be and I know (It's all me)
And not you but this ain't how I wish (It to be)
For you and your way and I know (It's all me)
Just know that I know, I know it's all on me
[Refrain]
All the little pieces make up so much sense in the distance
A-whoa-ho-ho-ho
Fragmented to the point of "is it possible?"

[Chorus]
Hot on the trail of a real fine life
This could be what it means to be alive
Can't be too sure but it feels the right way
Love is infinite like sun rays

[Post-Chorus]
I know what I need to be me
And I know being me makes it hard to see
Standing on a precipice isn't new
Those demons sometimes get me seeing blue

[Bridge]
All this, call this what you want but it
Makes me feel alive
Stowed it, showed it, now I know it
Can't be in my mind
It was foreign, pouring, I've been storing
This for a long while
I consumed, felt doomed, sung a new tune
Eventually in time

[Verse 2]
But you don't like that the way that I feel (Is the way)
Way that makes you feel worse all of the time (And I know)
Know that it's not okay for you (And it's not)
Not for me and is for you, so sorry about

All of these things that you didn't sign up for (And I don't)
Wish the pain on you, it's so sore (But I've been)
Honest to fault (But it doesn't help)
I know that it hurts and it hurts and it keeps on hurting

[Verse 3]
Every single time, we try and try
To make things right for you and I
We just kept digging, digging it deep
Below our feet 'til we started to sink

And I didn't know what, what to do
I told myself the truth, the truth
And I could understand and you could understand
But how could we stand when there was nowhere to stand?

And all the little things that get under our skin
Didn't make us better in that heavy weather
I hope that it's better but never upsetter
We took our hands, made some vague plan
[Refrain]
All the little pieces make up so much sense in the distance
A-whoa-ho-ho-ho
Fragmented to the point of "is it possible?"

[Chorus]
Hot on the trail of a real fine life
This could be what it means to be alive
Can't be too sure but it feels the right way
Love is infinite like sun rays

[Post-Chorus]
I know what I need to be me
And I know being me makes it hard to see
The distance hasn't always been clear
But finally, with our love, it could appear

[Outro]
And you don't like what it is (You don't like what it is)
And you don't know what it is (You don't know what it is)
And I can't sum it up easily
But I know what it is that I plainly see

Yeah, who could have liked what it was?
It caused such a fuss
My heart placed in your hand
Then we gave love a chance and
https://www.youtube.com/watch?v=JUsinr3PhYQ

Imagine you just go up to Nergal and Behemoth and you are like "hey, I am going to shred using only hand farts" and Nergal is like "of course, let me record your sick skills fellow musician" — Rose Ophelia Shepherd (из комментариев к другому видео на YouTube.)
Forwarded from Archillect
3
memory heap
#music #music_folk A Tergo Lupi, "Hide": https://www.youtube.com/watch?v=7HiOuTpi5dg Красиво.
#music #music_folk

A Tergo Lupi, "Kominn Heim":
https://youtu.be/pd6trxdYWWc

Очень красивая композиция, и не менее красивое официальное видео на неё. Струнным инструментом здесь является трёхструнная лира — вероятно, финнская/карельская Jouhikko (произносится "yo-hee-ko".) Традиционно струны на такой лире изготавливались из лошадиных волос.

В трёхструнной Jouhikko средняя струна является бурдонной ("drone string") — то есть, задающей общий фон для остальной мелодии. Абсолютная высота звука инструмента не фиксирована, но обычно лира настраивается на тональность D ("ре мажор"), таким образом струнам даётся порядок нот D-A-E соответственно, где "D" — это бас, "A" — это бурдон и "E" является второй нотой в гамме. В альтовой Jouhikko порядок нот другой, A-E-B. Обычно на инструменте можно играть как мажорные, так и минорные гаммы.

Подробнее про Jouhikko можно почитать здесь:
https://coolmusicinstrument.com/finnish-jouhikko-or-bowed-lyre

Текст песни на исландском языке:
Ég bað þau um að hleypa mér
Að hleypa mér aftur heim
Ég bað þau að sleppa mér
Sólin brennir á mér bakið
En mér er sama

Ég bað þau um að hleypa mér
Að hleypa mér aftur heim
Þurrt gras er óþægilegt
Ég geymi þyrna
Þurrt gras er óþægilegt rúm
Ég geymi þyrna
Þurrt gras er óþægilegt rúm
Ég geymi þyrna

Hrafnarnir éta af bakinu á mér
En ég bað bara um að fá að fara heim

Ég bað þau um að hleypa mér
Að hleypa mér aftur heim
Ég bað þau að sleppa mér
Sólin brennir á mér bakið
En mér er sama

Ég bað þau um að hleypa mér
Að hleypa mér aftur heim
Þurrt gras er óþægilegt
Ég geymi þyrna
Þurrt gras er óþægilegt rúm
Ég geymi þyrna
Þurrt gras er óþægilegt rúm
Ég geymi þyrna

Þau sögðu að ég gæti farið núna
Þau sögðu að ég gæti farið núna

Núna er ég loftið
Núna moka ég jörðina
Núna get ég flogið
Núna er ég loftið
Og ég er trjábörkurinn
Og ég er ræturnar
Og ég er mykja
Og nú er ég kominn heim

Перевод на английский:
I asked them to let me go back home
I asked them to let me go
The sun burns my back
I don't care

I asked them to let me go back home
dry grass is an inconvenient ground
I keep thorns
Dry grass is an uncomfortable bed
I keep the thorns
Dry grass is an uncomfortable bed
I keep thorns

The ravens are feasting on my back
but I only asked to let me go back home

I asked them to let me go back home
I asked them to let me go
The sun burns my back
I don't care

I asked them to let me go back home
dry grass is an inconvenient ground
I keep thorns
Dry grass is an uncomfortable bed
I keep the thorns
Dry grass is an uncomfortable bed
I keep thorns

They told me I can now
They told me I can now

Now I'm air
now I dig the earth
now I can fly
now I'm air

And I am the cortex
and I am the roots
and I am manure

and now I'm at home
Начал вести курс по администрированию GNU/Linux в Высшей школе экономики (ВШЭ.)

Сегодня перед online-занятием в Jitsi, когда студенты начали тестировать рисовальную доску, в шутку попросил нарисовать пингвина (отсылка к пингвину Tux, маскоту Linux), на что в ответ мне профессионально нарисовали двух Linux-пингвинов в естественной среде обитания.

Автор рисунков:
Вайнер Анастасия

#art
5
Forwarded from Archillect
2