- ใใฃใจไฟๅญใใฆใใใใใชใใใใชๅคงใใชๅๆญ
- ใ่ๅญใๆใกๅฏใๆ่ฆชใฟใคใ
- ๅๆง็ใชๅๅบ
- ๅๅบใๆใใชใไบบใฎใใใฎๅๅบ็จ็ด
- Twitterใฎใใใทใฅใฟใฐ
- ๅๅ ่ ใฎๅฃฐใๆๅฝฑใใใตใในใฏใชใผใณ
- Ustreamใซใใๆ ๅ้ ไฟก
- ๅ ฌ้ใใใๅๅ ่ ใชในใ
import math | |
def fft(data): | |
n = len(data) | |
assert 2 ** int(math.log(n, 2)) == n, "Number of samples should be 2^n." | |
theta = math.pi * 2 / n | |
def scramble(k, i): | |
while True: |
ๅ่๏ผhttp://www.itmedia.co.jp/news/articles/1205/18/news091.html | |
ใใใใใGithubใฎใใใง็ๅนดใใใใงใใโโใใ่ฉฑใใฎใฏใ้ฝๅ ใฎ็ง็ซๅคงๅญฆใซ้ใHogeใใ๏ผ21ใปไปฎๅ๏ผใGithubใฎใปใใBitbucketใSourceForgeใstackoverflowใชใฉ่คๆฐใฎใใผใซใไฝฟใฃใฆใใHogeใใใไปๅนด4ๆใHogeใใใซใจใฃใฆ2ๅ็ฎใฎๅคงๅญฆ2ๅนด็ใๅงใพใฃใใ | |
HogeใใใGithubใๅงใใใฎใฏๅคงๅญฆใซๅ ฅๅญฆใใ2010ๅนดใใใใพใงใstackoverflowใชใฉใฎSNSใๅฉ็จใใฆใใใใstackoverflowใฏๅคไบบใจใฎใใฃในใซใใทใงใณไธญๅฟใงใGithubใฏใฉใคใใฉใชใฎๅ ฌ้ใใกใคใณใใจใ็ฐๅขใฎๅคๅใซๅใใใฆไฝฟ็จใใSNSใๅคใใฆใใใ | |
stackoverflowใงใฏใณใกใณใใชใฉใ้ใใๅคไบบใจใฎใณใใฅใใฑใผใทใงใณใไธญๅฟใ ใฃใใใGithubใงใฏใๆฐใใใฎใใใทใฅใใใฆใใใขใใใใผใๆฑบๅฎใใใใฎIssueใไปๆฅใชใใ้ฒๆใใฃใ๏ผใใใใฎPullRequestใใผใธใใใใใฏใ้ฃในใใใใไปๅคใใใซใฝใณใใใใฉ่ชฐใๆฅใใไบบ๏ผใโโใชใฉใ่ชๅใจ็ดๆฅ้ขไฟใใชใๆ ๅ ฑใงใใใชใขใซใฟใคใ ใซๆดๆฐใใใๅ จใฆใฎใใฃใผใใๆฐใซใชใฃใใ | |
ใฉใใชๆใใGithubใ้ใใฐๅฟ ใ่ชฐใใไฝใใCommitใใฆใใใใใฎ้ข็ฝใใซๅคขไธญใซใชใใๆฐไปใใฐๆฏๆฅใๆใใใใใฐใณใใใใญใฐใ่ฟฝใใใใซใชใฃใฆใใใ่ชๅใงใๅคใๆฅใซใฏ1ๆฅใซ100ๅไปฅไธCommitใPushใใๆบๅก้ป่ปใงPCใ้ใใใWifiใซใคใชใใใซใใๆใชใฉใฏใPushใใใพใใงใใชใใใจใซใใ็ซใฃใใ |
[2012-09-14 06:19:12](june29) hi | |
[2012-09-14 06:19:36](june29) ๅนดใ ใๅๅ ่ ใ IRC ใงใใใจใใใใใจใฏๆธใฃใฆใใพใใญใใ | |
[2012-09-14 07:46:08](shyouhei) ใใฏใใใใใใพใ | |
[2012-09-14 07:52:46](shyouhei) ใฆใใใฃใกใๆดใใฆใใใใใฉ | |
[2012-09-14 07:52:55](shyouhei) ๆฌๅฝใซ้จ้ใใฎ? | |
[2012-09-14 12:16:26](jiikko) ใฆst | |
[2012-09-14 12:29:23](mohya) ใในใใงใใ | |
[2012-09-14 12:29:33](shyouhei) ใฏใใ | |
[2012-09-14 12:29:37](volpe_hd28v) ใในใใงใใ | |
[2012-09-14 12:58:57](willnet) hi |
๐ ๐ ๐
#include <stdio.h> | |
#include <string.h> | |
#include <errno.h> | |
#include <dlfcn.h> | |
#include <unistd.h> | |
#include <stdint.h> | |
struct hw_module_t; | |
struct hw_device_t; |
# Some general ignore patterns | |
build/ | |
obj/ | |
*.o | |
Debug*/ | |
Release*/ | |
*.mode* | |
*.app/ | |
*.pyc | |
.svn/ |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
git-svn ใฎไฝฟใๆนใใกใขใใใไปใซใใใใฉใฏใใฃในใใใใฐๆๆใใฆใใใ ใใใจใใใใใใ
SVN ใฎใใฉใณใใจ git ใฎใใฉใณใใๆททๅจใใฆใใใใใใใใงใฏใใฉใณใใจใใ่ชใไปฅไธใฎใใใซๅบๅฅใใใ
- ใใฉใณใใ SVN ใใฉใณใ๏ผ$SVN_REPO/branches ไปฅไธใซใใใใฃใฌใฏใใช
- ใญใผใซใซใใฉใณใ๏ผgit ใฎใญใผใซใซใใฉใณใ
- ใชใขใผใใใฉใณใ๏ผgit ใฎใชใขใผใใใฉใณใ
#!/usr/bin/python | |
import os | |
import fcntl | |
import time | |
KIOCSOUND = 0x4B2F | |
CLOCK_TICK_RATE = 1193180 | |
def beep(hz, len): | |
fd = os.open("/dev/console", os.O_WRONLY) |