20 random bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
Tell me you don’t understand software without literally using those words!!!
// Output the k! permutations of A in which the first k elements are permuted in all ways.
// To get all permutations of A, use k := length of A.
//
// If k > length of A, will try to access A out of bounds.
// If k <= 0 there will be no output (empty array has no permutations)
procedure permutations(k : integer, A : array of any):
if k = 1 then
output(A)
else
// permutations with last element fixed
permutations(k - 1, A)
// permutations with last element swapped out
for i := 0; i < k-1; i += 1 do
if k is even then
swap(A[i], A[k-1])
else
swap(A[0], A[k-1])
end if
permutations(k - 1, A)
end for
end if
Some cool medieval banners!
Большое машиностроительное предприятие в Екатеринбурге и как там всё работает
Something like make, but magefiles are written in Go instead. Pretty funny.
Таймкод 40:40: Кого из российских чиновников стоит слушать?
Главное правило пропаганды — посыл должен быть простым. Если хочешь, чтобы твоя вера распространялась, нужно упаковать ее в короткое и броское сообщение — мем. Чем он проще и тупее, тем ему легче распространяться. Если мем в рифму — еще лучше.
Мем дожен быть безапелляционным, без деталей, однозначным и не вызывающим сомнений. В идеале — чтобы он касался каких-то человеческих грехов — например, гордыни, алчности или гнева. Это сейчас самые социально одобряемые грехи.
I therefore officially announce 2024 to be the year when the square checkbox has finally died.
This site contains writings on the topic of reducing suffering, including the suffering of non-human animals and far-future beings. Most content is by Brian Tomasik, though a few pieces are written by others.
Различная статистика по ОСМ
Статьи лучше про раскладки клавиатуры я не видал
Дистрибутив для резервного копирования