Language | Requested by (SE username) | Github/Repo | Chat link |
---|---|---|---|
hyeo-ung | @buttercrab | https://github.com/buttercrab/hyeo-ung-lang | https://chat.stackexchange.com/transcript/message/54704203#54704203 |
International Phonetic Esoteric Language | @bigyihsuan | https://github.com/bigyihsuan/International-Phonetic-Esoteric-Language | https://chat.stackexchange.com/transcript/message/54615008#54615008 |
unknown language | @sportzpikachu | N/A | https://chat.stackexchange.com/transcript/message/53891729#53891729 |
Symbolic Raku | @JoKing | https://github.com/GuyJoKing/Symbolic-Raku | https://chat.stackexchange.com/transcript/message/53066654#53066654 |
Wenyan | @ShieruAsakoto | https://github.com/wenyan-lang/wenyan | https://chat.stackexchange.com/transcript/message/53513615#53513615 |
W | @Third-party'Chef' | N/A | https://chat.stackexchange.com/transcript/message/53760709#53760709 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
好吧,本来我是想着我自己想起什么来就记上的,gist 这玩意也没法合作,所以就用评论吧。 | |
1. 在自己公司自由的做科研的感受是什么?(跟大学比?) | |
2. 完全自由的 AI 的实现最大的障碍? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(* Conway's life rules *) | |
rule = {224, {2, {{2, 2, 2}, {2, 1, 2}, {2, 2, 2}}}, {1, 1}}; | |
(* hashlife algorithm *) | |
lastId = 1; | |
h[x_] := (lastId = lastId + 1; h[x] = lastId; q[lastId] = x; lastId); | |
q2[i_] := ArrayFlatten[Map[q, q[i], {2}]]; | |
step[i_, d_] := step[i, d] = Block[{ | |
i2 = q2[i], | |
half = Map[step[h[#], d - 1] &, Partition[#, {2, 2}, 1], {2}] &}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
""" | |
This script converts hexagonal isotropic (possibly non-totalistic) CA rules[1] | |
into the equivalent MAP rules[2]. It runs under both Python 2 and Python 3, and | |
can be used either as a stand-along script (with the rules given as command line | |
arguments) or as a Golly plug-in. | |
[1]: http://www.conwaylife.com/wiki/Isotropic_non-totalistic_Life-like_cellular_automaton#Hexagonal_neighbourhood | |
[2]: http://golly.sourceforge.net/Help/Algorithms/QuickLife.html | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Kyle Sferrazza <kyle.sferrazza@gmail.com> | |
# Contributor: Maks Verver <maksverver@geocities.com> | |
# Contributor: p2k <Patrick.Schneider@uni-ulm.de> | |
# Contributor: nokangaroo <nokangaroo@aon.at> | |
pkgname=golly | |
pkgver=4.0 | |
pkgrel=1 | |
pkgdesc="A simulator for Conway's Game of Life and other cellular automata" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"src": "http://24.media.tumblr.com/tumblr_m1lew907mE1qejbiro1_1280.jpg", | |
"width": 600, | |
"height": 476 | |
}, | |
{ | |
"src": "http://25.media.tumblr.com/Jjkybd3nSces6pgsQAXKUKjb_500.jpg", | |
"width": 500, | |
"height": 375 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#[macro_use] | |
extern crate diesel; | |
pub mod models; | |
pub mod schema; | |
use diesel::prelude::*; | |
use diesel::sqlite::SqliteConnection; | |
use self::models::{Post, NewPost}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************/ | |
基本命令 | |
C-x C-f 打开/新建文件 | |
C-x C-s 保存当前缓冲区 | |
C-x C-w 当前缓冲区另存为 | |
C-x C-v 关闭当前Buffer并打开新文件 | |
C-x i 光标处插入文件 | |
C-x b 切换Buffer | |
C-x C-b 显示Buffer列表 | |
C-x k 关闭当前Buffer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(generic_associated_types)] | |
#[allow(dead_code)] | |
trait Functor { | |
type Unwrapped; | |
type Wrapped<B>: Functor; | |
fn map<F, B>(self, f: F) -> Self::Wrapped<B> | |
where | |
F: FnMut(Self::Unwrapped) -> B; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#![feature(ip_addr, raw)] | |
extern crate pnet; | |
use std::net::{IpAddr, Ipv4Addr}; | |
use pnet::transport::TransportChannelType::Layer4; | |
use pnet::transport::TransportProtocol::Ipv4; | |
use pnet::transport::transport_channel; | |
use pnet::packet::ip::IpNextHeaderProtocols; | |
use pnet::packet::Packet; |
OlderNewer