Skip to content

Instantly share code, notes, and snippets.

View yue4u's full-sized avatar
💤
feeling drowsy

yue yue4u

💤
feeling drowsy
View GitHub Profile

「話し手の声が彼の思考に導かれて出てくるように、タイポグラフィックな彫塑物は、その視覚的な効果を通してかたちになる」エル・リスィツキー 1925年

叫びとささやき、急と緩、これらはすべて音声コミュニケーションにおける表現手段である。読まれるものもまたその伝達手段にあたって、叫びそしてささやき、ある時は走りある時はぶらつくといったものでなければならない。また、美的体験を伴うように静かにそして愛に満ちていなければならない。新聞の読まれ方は本の読まれ方とは異なる。広告とポスターの読まれ方もそれぞれ異なる。

つまりヴィジュアルプレゼンテーションの必要条件は、すでにその内容自体に含まれているのである。

“ The typographic sculpture, its optical effect, should achieve what the voice of the speaker does through his thoughts.” El Lissitzky, 1925

To bawl and to whisper, quickly and slowly, all these are expressions of verbal communication. Reading matter will also have to run and to stroll, will have to emerge quietly and lovingly as aesthetic experiences. A newspaper will be read differently than a book. An advertisement differently than a poster.

@yue4u
yue4u / yue-weekly
Created October 29, 2019 13:41
weekly
🎃
@yue4u
yue4u / defaq.py
Last active October 30, 2019 20:14
"""
問9.1,2,4,5,7,8の数値を組み合わせた数値("124578"など)から、
一桁のある数値をかけると
答えが99や999などの"9"のみの数字の連続で表すことのできる数値を
検出して出力するプログラムを実装せよ
"""
# 推理 (プログラムを書く必要がない)
"""
"""
問9.1,2,4,5,7,8の数値を組み合わせた数値("124578"など)から、
一桁のある数値をかけると
答えが99や999などの"9"のみの数字の連続で表すことのできる数値を
検出して出力するプログラムを実装せよ
"""
# 順列
from itertools import permutations
[print(x) for x in map(lambda n: int("".join(n)) if n else "0", permutations(list('124578'))) if any(len(i) == 1 and i[0] == '9' for i in map(lambda j: list(set(str(x * j))), range(2, 10)))]
@yue4u
yue4u / wt.py
Last active October 12, 2019 14:05
from typing import Type, Union
class Item(object):
eatable = False
name = ''
price = 0
def __repr__(self):
return self.name
## ENG
- NX5U
- XF205
- XA20
## DSLR
- 80D
- A73
// Server API makes it possible to hook into various parts of Gridsome
// on server-side and add custom data to the GraphQL data layer.
// Learn more: https://gridsome.org/docs/server-api
// Changes here require a server restart.
// To restart press CTRL + C in terminal and run `gridsome develop`
const syllabus = require("../data/syllabus.json");
const search = require("../data/search.json");
const { createHash } = require("crypto")
@yue4u
yue4u / cmd
Last active September 4, 2019 14:15
pkill
feh
echo
compton
cd
cat
hwclock
apci
NetworkManager
7z
{
user(login: "rainy-me") {
name
createdAt
repositories(first: 100, isFork: false) {
totalCount
edges {
node {
... on Repository {
name
from threading import Thread
import random
import time
tasks = [f'task-{num}' for num in range(1,5)]
def do_task(t):
def try_do_task():
time.sleep(1)