--- layout: post title: "[转载]Ununtu源" date: 2017-03-20 14:44:08 image: '/assets/img/' description: "" tags: - categories: - linux ---
| 热门设置 | 软件推荐 | 源列表 | 疑难杂症 |
Ubuntu Night(
Info
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
gksu gedit /etc/apt/sources.list kdesudo kate /etc/apt/sources.list gksu mousepad /etc/apt/sources.list gksu leafpad /etc/apt/sources.list (12.04版) gksu gedit /etc/apt/sources.list
sudo apt-get update
deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ raring partner deb http://extras.ubuntu.com/ubuntu/ raring main
deb http://ubuntu.srt.cn/ubuntu/ raring main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ raring-security main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ raring-proposed main restricted universe multiverse deb http://ubuntu.srt.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://ubuntu.srt.cn/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ raring main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ raring main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.sohu.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.sohu.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ raring main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirrors.oschina.net/ubuntu/ raring main restricted universe multiverse deb http://mirrors.oschina.net/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.oschina.net/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.oschina.net/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.oschina.net/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.oschina.net/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.oschina.net/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.oschina.net/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.oschina.net/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.oschina.net/ubuntu/ raring-backports main restricted universe multiverse
服务器），包含其他开源镜像：
deb http://mirrors.oss.org.cn/ubuntu/ raring main restricted universe multiverse deb http://mirrors.oss.org.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.oss.org.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.oss.org.cn/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.oss.org.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.oss.org.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.oss.org.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.oss.org.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.oss.org.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.oss.org.cn/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirror.lupaworld.com/ubuntu raring main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu raring-security main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu raring-updates main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu raring-backports main restricted universe multiverse deb http://mirror.lupaworld.com/ubuntu raring-proposed main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring-security main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring-updates main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring-backports main restricted universe multiverse deb-src http://mirror.lupaworld.com/ubuntu raring-proposed main restricted universe multiverse
deb http://mirrors.skyshe.com/ubuntu/ raring main restricted universe multiverse deb http://mirrors.skyshe.com/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.skyshe.com/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.skyshe.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.skyshe.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.skyshe.com/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.skyshe.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.skyshe.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.skyshe.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.skyshe.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://mirrors.yun-idc.com/ubuntu/ raring main restricted universe multiverse deb http://mirrors.yun-idc.com/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.yun-idc.com/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.yun-idc.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.yun-idc.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.yun-idc.com/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.yun-idc.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.yun-idc.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.yun-idc.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.yun-idc.com/ubuntu/ raring-backports main restricted universe multiverse
deb http://centos.bitcomm.cn/ubuntu raring main restricted universe multiverse deb http://centos.bitcomm.cn/ubuntu raring-security main restricted universe multiverse deb http://centos.bitcomm.cn/ubuntu raring-updates main restricted universe multiverse deb http://centos.bitcomm.cn/ubuntu raring-backports main restricted universe multiverse deb http://centos.bitcomm.cn/ubuntu raring-proposed main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring-security main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring-updates main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring-backports main restricted universe multiverse deb-src http://centos.bitcomm.cn/ubuntu raring-proposed main restricted universe multiverse
以下为有教育网接入的服务器（推荐教育网用户使用，部分非教育网用户也有可观的速度。教育网用户请优先使用IPv6地址。
deb http://debian.ustc.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://debian.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://debian.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirrors6.ustc.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://mirrors6.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://mirrors6.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://mirrors6.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://mirrors6.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://mirrors6.ustc.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.4.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://mirrors.6.tuna.tsinghua.edu.cn//ubuntu/ raring-security main multiverse restricted universe deb http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://mirrors.6.tuna.tsinghua.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://cugbteam.org/ubuntu/ raring main restricted universe multiverse deb http://cugbteam.org/ubuntu/ raring-security main restricted universe multiverse debhttp://cugbteam.org/ubuntu/ raring-updates main restricted universe multiverse deb http://cugbteam.org/ubuntu/ raring-backports main restricted universe multiverse deb http://cugbteam.org/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring-security main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring-updates main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring-backports main restricted universe multiverse deb-src http://cugbteam.org/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirror.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://mirror.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://mirror.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirror6.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://mirror6.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://mirror6.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://mirror6.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://mirror6.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://mirror6.bjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirror.bit.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirror.bit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirror.bit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirror.bit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://mirror.bit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirror.bit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirror.bit6.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirror.bit6.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirror.bit6.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirror.bit6.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://mirror.bit6.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirror.bit6.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://mirror.tju.edu.cn/ubuntu/ oneiric main restricted universe multiverse deb http://mirror.tju.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse deb http://mirror.tju.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse deb http://mirror.tju.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse deb http://mirror.tju.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric-security main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric-updates main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric-backports main restricted universe multiverse deb-src http://mirror.tju.edu.cn/ubuntu/ oneiric-proposed main restricted universe multiverse
deb http://mirrors.sdutlinux.org/ubuntu/ raring main restricted universe multiverse deb http://mirrors.sdutlinux.org/ubuntu/ raring-backports restricted universe multiverse deb http://mirrors.sdutlinux.org/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.sdutlinux.org/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.sdutlinux.org/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.sdutlinux.org/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.sdutlinux.org/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.sdutlinux.org/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.sdutlinux.org/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.sdutlinux.org/ubuntu/ raring-updates main restricted universe multiverse
deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring main multiverse restricted universe deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-backports main multiverse restricted universe deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-proposed main multiverse restricted universe deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-security main multiverse restricted universe deb http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-updates main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-backports main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-security main multiverse restricted universe deb-src http://ftp.neu.edu.cn/mirrors/ubuntu/ raring-updates main multiverse restricted universe
deb http://ftp.neu6.edu.cn/mirrors/ raring main multiverse restricted universe deb http://ftp.neu6.edu.cn/mirrors/ raring-backports main multiverse restricted universe deb http://ftp.neu6.edu.cn/mirrors/ raring-proposed main multiverse restricted universe deb http://ftp.neu6.edu.cn/mirrors/ raring-security main multiverse restricted universe deb http://ftp.neu6.edu.cn/mirrors/ raring-updates main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring-backports main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring-proposed main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring-security main multiverse restricted universe deb-src http://ftp.neu6.edu.cn/mirrors/ raring-updates main multiverse restricted universe
deb http://run.hit.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://run.hit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://run.hit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://run.hit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://run.hit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://run.hit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://run6.hit.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://run6.hit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://run6.hit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://run6.hit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb http://run6.hit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://run6.hit.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://run6.hit.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://run6.hit.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://run6.hit.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://run6.hit.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
( IPv4/v6 Both )
deb http://mirror.dlut.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirror.dlut.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirror.dlut.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirror.dlut.edu.cn/ubuntu/ubuntu raring-backports main restricted universe multiverse deb http://mirror.dlut.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirror.dlut.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirror.dlut.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirror.dlut.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirror.dlut.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirror.dlut.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://ftp.sjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://ftp.sjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://ftp.sjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://ftp6.sjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://ftp6.sjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://ftp6.sjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://ftp6.sjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://ftp6.sjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://ftp6.sjtu.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://ftp6.sjtu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://ftp6.sjtu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb-src http://ftp6.sjtu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://ftp6.sjtu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://mirrors.jstvu.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirrors.jstvu.edu.cn/ubuntu/ raring-backports restricted universe multiverse deb http://mirrors.jstvu.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.jstvu.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.jstvu.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.jstvu.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.jstvu.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.jstvu.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.jstvu.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.jstvu.edu.cn/ubuntu/ raring-updates main restricted universe multiverse
deb http://mirrors.njnu.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirrors.njnu.edu.cn/ubuntu/ raring-backports restricted universe multiverse deb http://mirrors.njnu.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.njnu.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.njnu.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.njnu.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.njnu.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.njnu.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.njnu.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.njnu.edu.cn/ubuntu/ raring-updates main restricted universe multiverse
( IPv4/v6 Both )
deb http://mirrors.zjustu.org/ubuntu/ raring main restricted universe multiverse deb http://mirrors.zjustu.org/ubuntu/ raring-backports restricted universe multiverse deb http://mirrors.zjustu.org/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.zjustu.org/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.zjustu.org/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.zjustu.org/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.zjustu.org/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.zjustu.org/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.zjustu.org/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.zjustu.org/ubuntu/ raring-updates main restricted universe multiverse
deb http://mirrors.hust.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirrors.hust.edu.cn/ubuntu/ raring-backports restricted universe multiverse deb http://mirrors.hust.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.hust.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.hust.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.hust.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.hust.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.hust.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.hust.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.hust.edu.cn/ubuntu/ raring-updates main restricted universe multiverse
deb http://mirrors.hustunique.com/ubuntu/ raring main restricted universe multiverse deb http://mirrors.hustunique.com/ubuntu/ raring-backports restricted universe multiverse deb http://mirrors.hustunique.com/ubuntu/ raring-proposed main restricted universe multiverse deb http://mirrors.hustunique.com/ubuntu/ raring-security main restricted universe multiverse deb http://mirrors.hustunique.com/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirrors.hustunique.com/ubuntu/ raring main restricted universe multiverse deb-src http://mirrors.hustunique.com/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirrors.hustunique.com/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirrors.hustunique.com/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirrors.hustunique.com/ubuntu/ raring-updates main restricted universe multiverse
( IPv4/v6 Both )
deb http://mirrors.xmu.edu.cn/ubuntu/archive/ raring main restricted universe multiverse deb http://mirrors.xmu.edu.cn/ubuntu/archive/ raring-backports restricted universe multiverse deb http://mirrors.xmu.edu.cn/ubuntu/archive/ raring-proposed main restricted universe multiverse deb http://mirrors.xmu.edu.cn/ubuntu/archive/ raring-security main restricted universe multiverse deb http://mirrors.xmu.edu.cn/ubuntu/archive/ raring-updates main restricted universe multiverse deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ raring main restricted universe multiverse deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ raring-backports main restricted universe multiverse deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ raring-proposed main restricted universe multiverse deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ raring-security main restricted universe multiverse deb-src http://mirrors.xmu.edu.cn/ubuntu/archive/ raring-updates main restricted universe multiverse
deb http://cs3.swfu.edu.cn/ubuntu/ raring main multiverse restricted universe deb http://cs3.swfu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb http://cs3.swfu.edu.cn/ubuntu/ raring-proposed main multiverse restricted universe deb http://cs3.swfu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb http://cs3.swfu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe deb-src http://cs3.swfu.edu.cn/ubuntu/ raring main multiverse restricted universe deb-src http://cs3.swfu.edu.cn/ubuntu/ raring-backports main multiverse restricted universe deb-src http://cs3.swfu.edu.cnubuntu/ raring-proposed main multiverse restricted universe deb-src http://cs3.swfu.edu.cn/ubuntu/ raring-security main multiverse restricted universe deb-src http://cs3.swfu.edu.cn/ubuntu/ raring-updates main multiverse restricted universe
deb http://ubuntu.dormforce.net/ubuntu/ raring main restricted universe multiverse deb http://ubuntu.dormforce.net/ubuntu/ raring-backports main restricted universe multiverse deb http://ubuntu.dormforce.net/ubuntu/ raring-proposed main restricted universe multiverse deb http://ubuntu.dormforce.net/ubuntu/ raring-security main restricted universe multiverse deb http://ubuntu.dormforce.net/ubuntu/ raring-updates main restricted universe multiverse deb-src http://ubuntu.dormforce.net/ubuntu/ raring main restricted universe multiverse deb-src http://ubuntu.dormforce.net/ubuntu/ raring-backports main restricted universe multiverse deb-src http://ubuntu.dormforce.net/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://ubuntu.dormforce.net/ubuntu/ raring-security main restricted universe multiverse deb-src http://ubuntu.dormforce.net/ubuntu/ raring-updates main restricted universe multiverse
deb http://ubuntu.cnssuestc.org/ubuntu/ raring main restricted universe multiverse deb http://ubuntu.cnssuestc.org/ubuntu/ raring-backports main restricted universe multiverse deb http://ubuntu.cnssuestc.org/ubuntu/ raring-proposed main restricted universe multiverse deb http://ubuntu.cnssuestc.org/ubuntu/ raring-security main restricted universe multiverse deb http://ubuntu.cnssuestc.org/ubuntu/ raring-updates main restricted universe multiverse deb-src http://ubuntu.cnssuestc.org/ubuntu/ raring main restricted universe multiverse deb-src http://ubuntu.cnssuestc.org/ubuntu/ raring-backports main restricted universe multiverse deb-src http://ubuntu.cnssuestc.org/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://ubuntu.cnssuestc.org/ubuntu/ raring-security main restricted universe multiverse deb-src http://ubuntu.cnssuestc.org/ubuntu/ raring-updates main restricted universe multiverse
( IPv4/v6 Both ,http 亦可替换为 ftp)
deb http://mirror.lzu.edu.cn/ubuntu/ raring main restricted universe multiverse deb http://mirror.lzu.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb http://mirror.lzu.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://mirror.lzu.edu.cn/ubuntu/ubuntu raring-backports main restricted universe multiverse deb http://mirror.lzu.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://mirror.lzu.edu.cn/ubuntu/ raring main restricted universe multiverse deb-src http://mirror.lzu.edu.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://mirror.lzu.edu.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://mirror.lzu.edu.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://mirror.lzu.edu.cn/ubuntu/ raring-proposed main restricted universe multiverse
deb http://ubuntu.xjtuns.cn/ubuntu/ raring main restricted universe multiverse deb http://ubuntu.xjtuns.cn/ubuntu/ raring-security main restricted universe multiverse deb http://ubuntu.xjtuns.cn/ubuntu/ raring-updates main restricted universe multiverse deb http://ubuntu.xjtuns.cn/ubuntu/ubuntu raring-backports main restricted universe multiverse deb http://ubuntu.xjtuns.cn/ubuntu/ raring-proposed main restricted universe multiverse deb-src http://ubuntu.xjtuns.cn/ubuntu/ raring main restricted universe multiverse deb-src http://ubuntu.xjtuns.cn/ubuntu/ raring-security main restricted universe multiverse deb-src http://ubuntu.xjtuns.cn/ubuntu/ raring-updates main restricted universe multiverse deb-src http://ubuntu.xjtuns.cn/ubuntu/ raring-backports main restricted universe multiverse deb-src http://ubuntu.xjtuns.cn/ubuntu/ raring-proposed main restricted universe multiverse
以下为大陆地区外的源
香港中文大学更新服务器，由香港中文大学资讯科技服务处维护，包含其他开源镜像：
deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring main restricted universe multiverse deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring-security main restricted universe multiverse deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring-updates main restricted universe multiverse deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring-backports main restricted universe multiverse deb http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring-proposed main restricted universe multiverse deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring main restricted universe multiverse deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring-security main restricted universe multiverse deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring-updates main restricted universe multiverse deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring-backports main restricted universe multiverse deb-src http://ftp.cuhk.edu.hk/pub/Linux/ubuntu raring-proposed main restricted universe
台湾的官方源。速度有时甚至快于内地的，包含 Debian 等其他镜像：
deb http://tw.archive.ubuntu.com/ubuntu raring main restricted universe multiverse deb http://tw.archive.ubuntu.com/ubuntu raring-security main restricted universe multiverse deb http://tw.archive.ubuntu.com/ubuntu raring-updates main restricted universe multiverse deb http://tw.archive.ubuntu.com/ubuntu raring-backports main restricted universe multiverse deb http://tw.archive.ubuntu.com/ubuntu raring-proposed main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu raring main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu raring-security main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu raring-updates main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu raring-backports main restricted universe multiverse deb-src http://tw.archive.ubuntu.com/ubuntu raring-proposed main restricted universe multiverse
其他台湾源可以参考正体中文站Wiki
]维护的UESTC LUG软件源中包含其它发行版的镜像。
]维护的[开源镜像站
将上述列表地址中的 raring 替换为 quantal 即可
将上述列表地址中的 raring 替换为 precise 即可
将上述列表地址中的 raring 替换为 lucid 即可
11.10、11.04、10.10、9.10、9.04、8.10、7.10
停止維護版本的官方軟件源：http://old-releases.ubuntu.com/releases/


ZPAppleVideoNowPlayingInfo
class ZPAppleVideoNowPlayingInfo : ZPAppleVideoNowPlayingInfoBase
Undocumented
-
Undocumented
Declaration
Swift
var logger: NowPlayingLogger?
-
Undocumented
Declaration
Swift
override func disable(completion: ((Bool) -> Void)?)
-
Undocumented
Declaration
Swift
func registerForRemoteCommands()
-
Undocumented
Declaration
Swift
func unregisterForRemoteCommands()
-
Undocumented
Declaration
Swift
func disableNowPlayingUpdates()
-
Undocumented
Declaration
Swift
func sendNowPlayingInitial(player: PlayerProtocol)
-
Undocumented
Declaration
Swift
func sendNowPlayingOnPause()
-
Undocumented
Declaration
Swift
public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
-
Undocumented
Declaration
Swift
public override func playerDidCreate(player: PlayerProtocol)
-
Undocumented
Declaration
Swift
public override func playerDidDismiss(player: PlayerProtocol)


Paul Gosar, Arizona Republican, raises Jeffrey Epstein conspiracy theo
PHOENIX — Arizona Congressman Paul Gosar appears to be signaling support for a conspiracy theory that Jeffrey Epstein did not kill himself while awaiting trial on sex trafficking charges.
The Republican congressman sent 23 tweets Wednesday about the first public impeachment hearing examining President Donald Trump’s dealings with Ukraine. The first letter of each tweet spelled out “Epstein didn’t kill himself.”
A New York medical examiner ruled Epstein’s jailhouse death a suicide. But conspiracy theories have persisted, fueled by Epstein’s links to princes, politicians and other famous and powerful people.
It’s not clear if Gosar sent the tweets himself. His spokesman did not immediately respond to emailed questions.
Gosar is known for occasional antics and usual statements. He represents a staunchly conservative district in western Arizona.
Sign up for Daily Newsletters
Copyright © 2019 The Washington Times, LLC.
Please read our comment policy before commenting.


Research
After Covid started and University ended I was stuck for a project to do. I played around with a few ideas and eventually came up with this idea. A scarper and server to host the data on my network.
Scraper Software
After using Python previously for a scraper I decided to use
it again. I started by finding a pollen counting site, using
weather.ie (see image above) which had a nice layout (if terribly awkward class names).
I then used my knowledge of Python to gather this data and save
it to a text file.
This scraper involves a loop so it will run and update the data every night.
Server Software
Starting off without much of an understanding I quickly learned. I set my eyes on XAMPP, I got
everything downaloded, then hit a roadblock. No matter what I did the installation would fail.
With a hours of work I still made it nowhere. But keep in mind I am running this on an Optiplex 745,
with 3gb of ram, a Core 2 Duo and three drives, one of which is almost 10 years old. Also the computer
is a decade years old (This will become a major problem later).
Either way with some time I gave up and went in search of something else.
Setting eyes on Wamp. After some time of setting up the C++ distributions I had success!
Then
blue screen of death...
HTML Work
Now that I have the server working and I didnt want to deal with the blue screen. I started working on the visual aspet of the data. I created a small index to pull the data and display in an appealing way. Emulating the weather website to a degree.
Blue Screen
Now I had to deal with the blue screen. The machine I'm working with only has 3gb of ram alongside the
other bottle necks. This is an issue for many reasons. I was thinking of ways to fix this when I landed on a better idea.
When the computer blue screens it does some diagnostic work then restarts. Instead of fixing the issue, I can just work around it.
I created a script to start all necessary programs on pc start. I also disabled the need for a username and password. So it will
log straight in and lastly I disabled the admin window so it does not ask for priviledges on server start.
This adds a satisfactory level
of reliability which I am moderately happy with.
Although some work can still be done, for instance tidying the code, for now I am happy with my creation. The Git is
linked if you want to have a look. Now its just a matter of seeing how reliable the pc is and if anything breaks with time.
Update: After
the server running for a number of days an issue came up, with some time it will completely lock up. Just completely freeze. A Pi Zero may have
been the better option, but I will try none the less to fix it.
I always need to have a project to keep me entertained. To this end I came up with this idea during the famous Summer of 2020 to keep myself programmatically occupied.
Link to project github


My name is Jonathan Seel and I am a student at the university of Delaware. I was orginally from England, where I was born in Chertsey. At age 11 I moved to Boston, MA
Travelling, Exploring, Netflix, Food, Cooking, Grottos, Block Chain.


{{template config_path="design/email/header_template"}}
{{trans "%name," name=$customer.name}}
{{trans "Your account has been created. Please setup your password here:"}}


Emotional Intelligence
Emotional Intelligence is our ability to recognise and identify our own emotions and those of others. It's what allows us to communicate about our feelings, relate to others and inform our decisions. On the other hand, IQ is our cognitive intelligence, our ability to process information.
A high EQ can bring a lot of benefits. First it requires work on our self-awareness, which results in knowing better what we are doing, we are feeling and what we don't know about ourselves. This leads to being able to manage our emotions and the way we react to them. Finally, knowing ourselves better leads to understanding others better, allowing us to empathize with them and accept them as they are. It helps us foster healthier relationships.
That being said, it is important to note that EQ by itself is not enough to improve ourselves: we need to know our own values to direct it.


In a deal led by Rex Tillerson, Exxon boosts its Russian holdings to 63.7 million acres from 11.4 million. By way of comparison, during this period Exxon held rights to 14.6 million acres in the U.S., which was at that time its largest exploration prospect.
Source: Bloomberg


Editor GUI orientation and default text direction Test
Created from div.
Programmatic creation.
This div will become a programmatic editor in addOnLoad.
This div will become a programmatic editor in addOnLoad.


Page maintained by Ke-Sen
Huang. If you have additions or changes, send an
e-mail.
Note that when possible I link to the page containing the link
to the actual PDF or PS of the preprint. I prefer this as it
gives some context to the paper and avoids possible copyright
problems with direct linking. Thus you may need to
search on the page to find the actual document.
Eurographics Digital Library: Computer Graphics Forum Volume 22 (2003) Issue 3 (EG2003 Proceedings)
Changelog
Modelling
- On Visual Similarity Based 3D Model Retrieval ( Project page)
-
Ding-Yun Chen,
Ming Ouhyoung,
Xiao-Pei Tian,
Yu-Te Shen
(National Taiwan University)
- Field Functions for Blending Range controls on Soft objects
-
Pi-Chung Hsu,
Chungnan Lee
(National Sun Yat-Sen University)
Rendering and Animating Nature
- Fast Photo-Realistic Rendering of Trees in Daylight
-
Xueying Qin,
Eihachiro Nakamae,
Katsumi Tadamura,
Yasuo Nagai
- Animation of Bubbles in Liquid(Project page)
-
Jeong-mo Hong,
Chang-Hun Kim
(Korea University)
Capture and Segmentation
- Cloth Motion Capture
-
David Pritchard,
Wolfgang Heidrich
(University of British Columbia)
- Sub-Voxel Topology Control for Level-Set Surfaces
-
Stephan Bischoff,
Leif Kobbelt
(RWTH Aachen)
- Multi-scale Feature Extraction on Point-sampled Surfaces
-
Mark Pauly, Richard Keiser,
Markus Gross
(ETH Zurich)
Visibility
- ShieldTester: Cell-to-Cell Visibility Test for Surface Occluders
-
Isabel Navazo
(Polytechnic University of Catalonia),
Jarek Rossignac
(Georgia Institute of Technology)
- Volumetric cell-and-portal generation
-
Haumont Denis,
Debeir Olivier,
Francois-Xavier Sillion
(ARTIS/INRIA Rhone-Alpes)
Collision and Motion
- Planning Collision-Free Reaching Motions for Interactive Object Manipulation and Grasping
-
Marcelo Kallmann,
Amaury Aubel,
Tolga Abaci,
Daniel Thalmann
(Swiss Federal Institute of Technology)
- Hierarchical and Heterogenous Reactive Agents for Real-Time Applications
-
Christoph Niederberger,
Markus Gross
(ETH Zurich)
Compression
- Compression of 2D Vector Fields Under Guaranteed Topology Preservation
-
Holger Theisel,
Christian Rossl,
Hans-Peter Seidel
(Max-Planck-Institut fur Informatik, Germany)
- Out-of-core compression & decompression of large n-dimensional scalar fields
-
Lorenzo Ibarria,
Jarek Rossignac
(Georgia Institute of Technology),
Peter Lindstrom
(Lawrence Livermore National Laboratory),
Andrzej Szymczak
(Georgia Institute of Technology)
- Hierarchical Context-based Pixel Ordering
-
Ziv Bar-Joseph,
Daniel Cohen-Or
(Tel Aviv University)
Non-Photorealistic Rendering
- Rendering and Affect
-
David Duke,
Philip Barnard,
Nick Halper,
Mara Mellin
- Precise Ink Drawing of 3D Models
-
Mario Costa Sousa,
Kevin Foster,
Brian Wyvill,
Farmarz Samavati
(University of Calgary)
- A Few Good Lines: Suggestive Drawing of 3D Models
-
Mario Costa Sousa,
Przemyslaw Prusinkiewicz
(University of Calgary)
Animation of Fluids and Hair
- Realistic Animation of Fluid with Splash and Foam
-
Tsunemi Takahashi, Hiroko Fujii, Atsushi Kunimatsu, Kazuhiro Hiwada, Takahiro Saito, Ken Tanaka, Heihachi Ueki
- Particle-Based Simulation of Fluids
-
Simon Premoze,
Tolga Tasdizen,
James Bigler,
Aaron Lefohn,
Ross Whitaker
(University of Utah)
- Animating Hair with Loosely Connected Particles
-
Yosuke Bando,
Bing-Yu Chen,
Tomoyuki Nishita
(University of Tokyo)
Image Quantization
- Adaptive Logarithmic Mapping For Displaying High Contrast Scenes
-
Frederic Drago,
Karol Myszkowski,
Norishige Chiba,
Thomas Annen
(Max-Planck-Institut fur Informatik, Germany)
- Image Categorization using Color Blobs in a Mobile Environment
-
David Gavilan Ruiz,
Hiroki Takahashi,
Masayuki Nakajima
(Tokyo Institute of Technology)
Hardware based Graphics
- Shadow Volumes on Programmable Graphics Hardware
-
Stefan Brabec,
Hans-Peter Seidel
(Max-Planck-Institut fur Informatik, Germany)
- Solving Geometric Optimization Problems using Graphics Hardware
- Markus Denny
Textures and BRDFs
- Automatic texture atlas generation from trimmed NURBS models
-
Michael Guthe,
Reinhard Klein
(Institute of Computer Science, Rheinische Friedrich-Wilhelms-Universitat Bonn)
- Interactive rendering of bidirectional texture functions
-
Frank Suykens,
Karl vom Berge,
Ares Lagae,
Philip Dutre
(K.U.Leuven, Belgium)
- Planned Sampling of Spatially Varying BRDFs
-
Hendrik P. A. Lensch,
Jochen Lang,
Asla M. Sa,
Hans-Peter Seidel
(Max-Planck-Institut fur Informatik, Germany)
Meshes
- Multiresolution Editing Without Local Self-Intersections
-
Mario Botsch,
Leif Kobbelt
(RWTH Aachen)
- Progressive Simplification of Tetrahedral Meshes Preserving All Isosurface Topologies
-
Yi-Jen Chiang, Xiang Lu
(Polytechnic University)
- BDAM - Batched Dynamic Adaptive Meshes for High Performance Terrain Visualization
-
Paolo Cignoni,
Fabio Ganovelli,
Enrico Gobbetti,
Fabio Marton,
Federico Ponchio,
Roberto Scopigno
(Italian National Research Council)
Non-Photorealistic Rendering and Painting
-
- Beyond stippling - a method for distributing objects on the plane
-
Oliver Deussen,
Stefan Hiller,
Heino Hellwig
(Dresden University of Technology)
- Interactive Cutaway Illustrations
-
Joachim Diepstraten,
Daniel Weiskopf,
Thomas Ertl
(University Stuttgart)
- Advanced Design for a Realistic Virtual Brush
-
Songhua Xu,
Francis C.M. Lau,
Feng Tang, Yunhe Pan
(The University of Hong Kong)
Photorealism
- Ray Differentials and Multiresolution Geometry Caching for Distribution Ray Tracing in Complex Scenes
-
Per H. Christensen,
David M. Laur, Julian Fong, Wayne L. Wooten, Dana Batali
- Adaptive Ray Tracing of Subdivision Surfaces (tech report)
-
Kerstin Muller,
Torsten Techmann,
Dieter Fellner (Braunschweig University of Technology)
- Hierarchical Higher Order Face Cluster Radiosity for Global Illumination Walkthroughs of Complex Non-Diffuse Environments
-
Enrico Gobbetti,
Leonardo Spano,
Marco Agus
(Center for Advanced Studies, Research and Development in Sardinia)
Practice and Experience
- Image Based Rendering with View Dependent Geometry from an Uncalibrated Mobile Multi-Camera System
-
Jan-Friso Evers-Senne,
Reinhard Koch
- The Stringed Haptic Workbench: a New Haptic Workbench Solution
-
Nicolas Tarrin,
Sabine Coquillart,
Shoichi Hasegawa,
Laroussi Bouguila, Makoto Sato
- Interactive design of bonsai tree models
-
Frederic Boudon,
Przemyslaw Prusinkiewicz,
Pavol Federl (University of Calgary),
Christophe Godin, Radoslaw Karwowski (University of Calgary)
Global Illumination
- A Fast Rendering Method for Refractive and Reflective Caustics Due to Water Surfaces
-
Kei Iwasaki
(University of Tokyo),
Yoshinori Dobashi
(Hokkaido University),
Tomoyuki Nishita
(University of Tokyo)
- Real-Time Caustics
-
Michael Wand,
Wolfgang Straßer
(
University of Tübingen)
- A Scalable Approach to Interactive Global Illumination
-
Carsten Benthin,
Ingo Wald,
Philipp Slusallek
(Saarland University)
Faces and Speech
- Visyllable Based Speech Animation
-
Sumedha Kshirsagar,
Nadia Magnenat-Thalmann
(University of Geneva, Switzerland)
- Reanimating Faces in Images and Video
-
Volker Blanz
(Max-Planck-Institut fur Informatik, Germany),
Curzio Basso,
Tomaso Poggio
(Massachusetts Institute of Technology, Center for Biological and Computational Learning),
Thomas Vetter
- Narrative use of Sign Language by a Virtual Character for the Hearing Impaired
-
Norbert Braun
(Darmstadt University of Technology)
kesen.huang@gmail.com


{% extends 'base.html' %} {% load static%}
{% block content %} {% csrf_token %}Answer the given Questtionaires and Evaluate your health.
India is World Leading Pharmaceutical Developer.Take constructive advantage of it.
For the youngsters who want to be Productive in this Pandemic. For the Future we have something for you.
Clean, Healthy and Quick Vehical. Because we Understand your concern and love for the Patient.
They are Human's with Special Power. Powers to treat you.They are COVID-19 Warriors.
Want to request for a personal pass for Essential or Daily Trans.
Take a moment to understand about the COVID -19. Spent your Value time Educating yourself.
A citizen of a country is an individual recognized under the custom or law as being a legal member of a sovereign nation or allegiance to a government in exchange for its protection, whether at home or abroad. A citizen is one of the dominant pillars of the country.
Want to hve a glance at the Products and Services provided by the MSME's in India. To Checkout click on Select
Application Developed by: Nilesh Ohol.
{% endblock %}


You'll never endure the fire of Orcs!


Suppose we implement gather (see also Section Gather on page Gather ) as a spanning tree implemented on top of point-to-point routines. Since the receive buffer is only valid on the root process, one will need to allocate some temporary space for receiving data on intermediate nodes. However, the datatype extent cannot be used as an estimate of the amount of space that needs to be allocated, if the user has modified the extent using the MPI_UB and MPI_LB values. A function is provided which returns the true extent of the datatype.
| MPI_TYPE_GET_TRUE_EXTENT(datatype, true_lb, true_extent) | |
| IN datatype | datatype to get information on (handle) |
| OUT true_lb | true lower bound of datatype (integer) |
| OUT true_extent | true size of datatype (integer) |
int MPI_Type_get_true_extent(MPI_Datatype datatype, MPI_Aint *true_lb, MPI_Aint *true_extent)
MPI_TYPE_GET_TRUE_EXTENT(DATATYPE, TRUE_LB, TRUE_EXTENT, IERROR)
INTEGER DATATYPE, IERROR
INTEGER(KIND = MPI_ADDRESS_KIND) TRUE_LB, TRUE_EXTENT
{ void MPI::Datatype::Get_true_extent(MPI::Aint& true_lb, MPI::Aint& true_extent) const (binding deprecated, see Section Deprecated since MPI-2.2
) }
true_lb returns the offset of the lowest unit of store which
is addressed by the datatype, i.e., the lower bound of the
corresponding typemap, ignoring MPI_LB markers.
true_extent returns the
true size of
the datatype, i.e., the extent of the corresponding typemap, ignoring
MPI_LB and MPI_UB markers, and performing no
rounding for alignment. If the typemap associated with
datatype is
Typemap = { (type0, disp0), ... , (typen-1, dispn-1)}
Then
and
true_extent (Typemap) = true_ub(Typemap) - true_lb(typemap).
(Readers should compare this with the definitions in
Section Lower-Bound and Upper-Bound Markers
on page Lower-Bound and Upper-Bound Markers
and
Section Extent and Bounds of Datatypes
on page Extent and Bounds of Datatypes
,
which describe
the function
MPI_TYPE_GET_EXTENT.)
The true_extent is the minimum number of bytes of
memory necessary to hold a datatype, uncompressed.
Up: Derived Datatypes
Next: Commit and Free
Previous: Extent and Bounds of Datatypes
Return to MPI-2.2 Standard Index
Return to MPI Forum Home Page
(Unofficial) MPI-2.2 of September 4, 2009
HTML Generated on September 10, 2009


I am currently a sophomore at Western Reserve Academy. At Reserve, I play for the football team I like to play and watch sport. I watch a lot of Youtube and Netflix during my sparetime.
Home Page


Picture-In-Picture For YouTube ™
Controls
Auto-Hide
Full Screen
Modest Branding
Show-Info
Auto-Play
Save


Status: 2 test(s) failed
Timing: began Thu, 02 Feb 2012 20:05:13 -0500 and completed in 2.55 seconds
* /answers [DEBUG]: Issuing request http://api.stackexchange.com/2.0/answers?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /answers/{IDs} [DEBUG]: Issuing request http://api.stackexchange.com/2.0/answers/2;10?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /answers/{IDs}/comments [DEBUG]: Issuing request http://api.stackexchange.com/2.0/answers/2;10/comments?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /badges [DEBUG]: Issuing request http://api.stackexchange.com/2.0/badges?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /badges/{IDs} [DEBUG]: Issuing request http://api.stackexchange.com/2.0/badges/1;2?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /badges/name [DEBUG]: Issuing request http://api.stackexchange.com/2.0/badges/name?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /badges/recipients [DEBUG]: Issuing request http://api.stackexchange.com/2.0/badges/recipients?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /badges/{IDs}/recipients [DEBUG]: Issuing request http://api.stackexchange.com/2.0/badges/1/recipients?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /badges/tags [DEBUG]: Issuing request http://api.stackexchange.com/2.0/badges/tags?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /comments [DEBUG]: Issuing request http://api.stackexchange.com/2.0/comments?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /comments/{IDs} [DEBUG]: Issuing request http://api.stackexchange.com/2.0/comments/54321;9498;32219?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1 * /errors [DEBUG]: Issuing request http://api.stackexchange.com/2.0/errors?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=askubuntu&page=1
An API error has occurred.
[no output]
Cache: could not find driver
[DEBUG]: Issuing request http://api.stackexchange.com/2.0/filters/create?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&unsafe=false [DEBUG]: Pausing for 0.010 seconds... [DEBUG]: Issuing request http://api.stackexchange.com/2.0/answers?filter=%21mVhfQDLPO%2A&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=stackoverflow&page=1 [DEBUG]: Pausing for 0.001 seconds... [DEBUG]: Issuing request http://api.stackexchange.com/2.0/filters/!mVhfQDLPO*?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28
[DEBUG]: Issuing request http://api.stackexchange.com/2.0/sites?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&page=1 [DEBUG]: Issuing request http://api.stackexchange.com/2.0/sites?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&page=2 [DEBUG]: Issuing request http://api.stackexchange.com/2.0/sites?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&page=3 [DEBUG]: Issuing request http://api.stackexchange.com/2.0/sites?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&page=4 [DEBUG]: Issuing request http://api.stackexchange.com/2.0/sites?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&page=5 [DEBUG]: Issuing request http://api.stackexchange.com/2.0/sites?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&page=6 [DEBUG]: Issuing request http://api.stackexchange.com/2.0/users/1/associated?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&page=1
[DEBUG]: Issuing request http://api.stackexchange.com/2.0/questions/no-answers?filter=%21DnBO_&key=ABqBaKNdubSh1TTyhKC35w%28%28&site=stackapps.com&sort=votes&min=8&page=1
[no output]
[no output]


I recently got fed up with intermittent test failures piling up in our rails app and decided to do something about it. If you’ve been writing tests using CI for long enough you’re bound to have encountered the problem of intermittent test failures. We’ve all been there, you push up your code to CI and find that your changes have broken the build. Upon investigation you find that it was a test that has nothing to do with your changes.
It’s easy to consider them an annoyance–rebuild the build and see if it passes this time. Flaky tests are worse than a small annoyance though, and when not addressed in a timely way can lead to plunging productivity and morale problems. In this post I’d like to motivate why eliminating intermittent test failures is important and arm the reader with the tools to do so.
Upon finishing this, you should feel empowered by gaining a very particular set of skills
Why are flaky tests a problem?
This seems obvious. Of course flaky tests are bad—they keep breaking my build! That’s so annoying!
But I think we can do better than that. We live with small annoyances all the time and that by itself isn’t necessarily a reason to put engineering resources towards something. But is that all it really is?
In fact flaky tests in fact pose more serious problems if left unaddressed for too long:
Team morale
It doesn’t just cost us a few seconds of time when we hit rebuild on that failing test suite, it also just feels crappy. You were excited about getting to deploy your thing but now you need to wait for the build to pass (or you cheat and push it anyway). At Canvas we take pride in our work. We engage in rigorous code reviews and perform refactorings based on thoughtful feedback. We write tests. We ship high-quality code. Hitting a flaky test failure is a reminder that we’re not holding ourselves to that same high standard.
Slow Feedback Loops
Let’s face it, it really doesn’t take that much time to hit the “rebuild” button in Travis. That’s why we do it. But let’s look at what else happens when you hit that button. Maybe you were making small commits to Travis to see that each of your changes keeps the tests passing (as Carrick recommended a few weeks ago). Well, now you’re going to have to wait another 20 minutes to get that feedback. In that 20 minutes, you could get out of the flow of what you’re doing, be forced to switch to another task or find yourself reading some weird question that you saw a link to on StackExchange. Keeping developer productivity high is not just about preserving engineering time but also about preserving focus.
Lack of Trust in tests
In a test suite free of flaky tests, your first thought upon seeing a test failure is “hey, looks like something’s broken—we should fix it right away!”. Flaky tests erode that trust and replace it with the assumption that if a test is failing it’s probably just a flake. This starts to subtly change your perception of what those red and green colors mean. See something merged to master that’s got a failing test?  Our minds are always trying to sort signal from noise and flaky tests make it so that test failures become noise rather than signal—and that’s a dangerous outcome in the long run.
Vicious Cycle
To top it all off flaky tests beget flaky tests. Once you have some tests that you’ve gotten used to just rebuilding the build for when they come up, you’ll start doing that with more tests, and it will become increasingly difficult to address them.
Think of a flaky test as a dirty plate in your kitchen. Just one plate doesn’t really make that much of a difference or take up that much space. It can be worked around. But by having one, it’s easy to add more, and then the job of cleaning up keeps getting harder and nobody wants to do it, and before you know it, it starts to be disheartening to look around and realize you live in a messy house.
The solution? When you see something, say something. And better yet, clean the plate yourself.
So how do you do that? By knowing the kinds of things that cause flaky tests you can make it both less likely that you write them in the first place and make it so that you yourself can fix flaky tests when they come up, rather than waiting for someone else to fix a bunch of them. That makes it easier to do and more likely to get done. It’s worth the effort, and it’ll never be easier to do than it is today.
What causes flaky tests
The internet has some great ruby and rails specific examples that I’ll link to at the end. But aside from specific cases, I think it’s instructive to think about what the sources of test failures are in general. And it all boils down to one source.
Shared state.
Let’s take a very simple function and what that functions tests might look like. Imagine the following function:
def double(num)
num * 2
end
double(3) => 6
If we ran this function a million times would it ever return something different than 6 when given 3 as an argument? Of course not. To make it return something different than 6 we’re either going to have to give it different arguments, or, more likely, we’re going to have to have it refer to something outside itself.
If you’ve ever heard functional programming advocates talk about “referential integrity” this is the basic concept we’re dealing with. A function is said to have referential integrity if every time you call it with the same arguments you get the same return value. Imagine if we changed this function to reference something outside of itself:
def double(num)
@num ||= num
@num *= 2
end
Now the first time we call double it’ll double the number. But the next time, it’ll double whatever the last number you input was regardless of what argument you supply this time).
We would say that this function does not have referential integrity, because you can call it with the same arguments repeatedly and you will get a different answer each time. Now if that seems too contrived consider a function like the following:
def create_car
create(:car)
Car.count
end
The first time we call this it will create a car and return one. But the second time it will create a car and return 2
and so forth. In fact this will be the case with pretty much anything that has side effects…and a lot of our code has side effects.
What these have in common is that all of them refer to global state. Generally if you have a flaky test it has to do with a failure to clean up global state in some way. Whether it’s arguments being passed in differently each time based on the state or whether a function with side effects having different state inside it each time.
Some common sources of state in rails apps
- Postgres
- Redis
- Time
For each of these we have some basic way of isolating, stubbing out or otherwise removing the variability so that they’ll always do the same thing. So if a test fails intermittently for one of these reasons it will either be that the cleanup was not done properly or that it has failed for some reason.
- Postgres: database cleaner
- Reids: Fake Redis
- Time: Timecop
What can we do about it?
-
“If you see something, say something”: Don’t just rebuild without looking. Take note of the test that failed and the seed. The seed is very important for this next bit. Even if you’re not going to fix the flaky test, reporting it to the rest of the team gives someone the ability to look into it, and ensures that we have to put up with the flaky test for as little as possible.
-
Rspec’s bisect option: This is a game changer. Basically what this does is you run it once with the seed from the test and then it’ll keep running tests until it can find the quickest way to reproduce the failures with that seed. It will give you this super long command that you can put in a file and then run repeatedly to get your test failures to show up. Now you can finally get those pesky flaky tests to show up locally.
# where 1234 is the seed that you copied from CI. This part will take a while
$ rspec spec --bisect --seed 1234 > tmp/flaky_tests
# Now you've got a temporary file that contains the commands needed to reproduce your flaky specs
# All you need to do now is make it executable and run
$ chmod +x tmp/flaky_tests
$ ./tmp/flaky_tests
See the docs --bisect
for more details
- Test your assumptions about state: Remember that the flaky test failure probably has to do with some kind of global state. Check your assumptions for how things should be at the start of the test and at the end and see if those assumptions hold.
Case study: failing database cleaner
The particular issue that I ran into that prompted me to write this post had to do with records created in the test database failing to be cleaned up between test runs. This meant that depending on which tests you ran and the order you ran them in, you could get failures based on records violating uniqueness constraints or similar.
The way this is supposed to work when using RSpec with a Rails app is that you configure a strategy around isolating the test database, such that it gets cleaned up in between runs. The way that we’d been doing this had to do with running each test case in its own postgres transaction. The problem is…we also had a lot of the code that was being tested create its own transaction. This meant that without realizing it our tests were running with nested transactions, which meant that in some cases transactions weren’t being rolled back and we were persisting test data within runs. I discovered this by identifying where I was expecting the database to get cleaned up and then verifying that this was in fact not happening.
The lesson here is that if you already know that your culprit for flaky tests is likely some kind of shared state (postgres in this case) you can narrow down your search and hone in what that shared state might be (which can save you some amount of throwing your hands up saying “What on earth is happening here!”)
What can we do about it?
- “If you see something, say something”: Report flaky tests to the rest of the team, so that at least we know about them. Report the test that failed and the seed. The seed is very important for this next bit. Even if you’re not going to fix the flaky test, reporting it to the rest of the team gives someone the ability to look into it, and ensures that we have to put up with the flaky test for as little as possible.
- Rspec’s bisect option: This is a game changer if you’re in rails-land and I’d encourage others to see if there are equivalents. Basically what this does is you run it once with the seed from the test and then it’ll keep running tests until it can find the quickest way to reproduce the failures with that seed. Now you have a way to (hopefully) have a consistent way to see if your fixes work.
- Test the state: Remember the advice above—the flaky test failure probably has to do with some kind of global state. Check your assumptions for how things should be at the start of the test and at the end and do some debugging to see if that’s true.
Conclusions?
￼ ￼
- It’s a team effort. Get in the habit of reporting failures early and involve more people on your team in fixing them. Make it everyone’s responsibility. The closer you fix a failing test to when it’s introduced the easier it will be.
- rspec bisect is your friend:
rspec spec --bisect --seed 1234
- avoid nesting transactions at all costs
Notes / Resources
This one has a good list of anti-patterns including many related to flaky tests
The particular problem I ran into at work had to do with test database setup and tear down, here’s some resources I found helpful in dealing with that (this probably deserves its own post)
- Understanding database cleaning strategies in tests - makandra dev
- Configuring database_cleaner with Rails, RSpec, Capybara, and Selenium
- GitHub - DatabaseCleaner/database_cleaner: Strategies for cleaning databases in Ruby


--- layout: about title: About ---
Hey, nice to meet you, this is jeremy's blog, you can visit the page https://github.com/jeremycheong to get more detail.


Startup Idea Every Day #10:Gym Friend Finder
This is the tenth post in my series "A new startup idea every day".
Going to the gym blows...
I better not say, that I might get fired. (I work at a health-based startup)
But seriously, going to the gym is intimidating, and once your there it can be hard to push yourself. Sure you could hire a personal trainer, and there are now a million apps that will allow you to chat with one, but what if you want someone you know to train with you? Well the goal of this idea is to be able to enter in your height and weight, as well as your training goals, and you would be paired up with someone in your network who has also entered in similar stats, all the while keeping user data confidential.
This idea rocks, because training with someone in significantly better or worse shape sucks.
Getting money from the fitness industry easy. Selling fitness products within an established user base is like selling coffee in Seattle. As long as the product was free, and people felt like they could use it without feeling insecure or threatened, you could definitely build a user base.
On top of the monetization mentioned, you could also become a promoter for fitness events, personal trainers, and even gyms. There is huge money in the health space, you barely even have to look for it.


This is a sort of jotter pad. At the same time a typing practice lession (i have been up till now a strictly two finger/staring at the key board typist) it is the only way to record anything I read that I want to share with anyone else. Rongorongo script will be decyphered long before my hand writting ever will.
To Steel or not to Steal ? I want to build everything from the ground up and know that learning the fundamentals will be vital to my progress but whilst I feel that copy-pasting is cheating, I can't help thinking that grabbing advanced technology and retro-engineering it can help.
I love the idea of the entire group of stakeholders owning responsibility for, and benefiting from the actions of the enterprise. No boss as such but rather an agile, spoke-like structure where members work flexibly on multiple projects and are rewarded for contributions to the undertaking commensurately.
How "Sapiens" could, or will evolve in relation to advanced information/intelligence technology. Jess and Joseph this sounds like your bag. Should we be scared or excited ? Some organisms have been growing, competing and flourishing alongside new differently adapted competition for quite sometime; Some have fallen by the wayside.
Or have I just turned into "that guy" that I thought i would never be? Can 1993 really be "The end of history and the last man" I mean "Enter the Wu-Tang (36 chambers)" of course not that silly Fukuyama business.

Instead of occupying Wall st. can we really just create our own new one. Can distributed verifiable transparent and free records of everything lead to mass emancipation from wage slavery and usher in a new era of holacracy? If so do we all want it? or will system justification theorists continue to rule the roost?
What it says on the tin. I'll see what I bump into this coming week. ooh and maybe try to organise comments .. can't be too hard right ?


Overview
When I started my PhD I was really interested ethical AI and through exploring the intersection between people and technology I began to focus my work on interpretable AI. Despite it becoming a buzzword in the past few years, there is still so much work to be done in this space: even figuring out what we really mean by explainable . I am particularly interested in bridging the disconnect between computer science and the social sciences in interpretable AI.
The past year has also demonstrated an urgent need for research within health based AI. AI has proven it has massive potential, but there is no point in having all these fancy methods if they cant be used in practice. We have also seen an explosion of biomedical data that is highly complex, describing systems along multiple dimensions. My research explores the ways in which we can harness this data through AI systems that are inherently interpretable and useful to the humans using them.


An NPM module for mocking a connection to a PostgreSQL database.
The module mocks a pg module
connection to a PostgreSQL database. Both the pg.Client
and pg.Pool
classes have a query
method, therefore the mock connection can be
used to simulate an instance of either class.
Live documentation: here
To (re)generate documentation: npm run docs
Installation via npm
.
npm i --dev-save pgmock2
The idea is to simulate a connection to a database. To enable that
simulation, we need to first add
data.
// Simple type checking validation.
const PgMock2 = require('./pgmock2').default;
const client = new PgMock2();
client.add('SELECT * FROM employees where id=$1', ['number'], {
rowCount: 1,
rows: [
{ id: 1, name: 'John Smith', position: 'application developer' }
]
});
import PgMock2 from 'pgmock2';
const pg = new PgMock2();
pg.add('SELECT * FROM employees where id=$1', ['number'], {
rowCount: 1,
rows: [
{ id: 1, name: 'John Smith', position: 'application developer' }
]
});
(async function() {
const clinet = async pg.connect();
})();
The first parameter of the add
method is the query we add to the mock DB.
Later, we can use a mock connection to retrieve a response to this query. Internally, the query is normalized (disregards whitespace and is made case insensitive).
The second parameter is an array used to validate any values passed
with the query. In the example above, the $1
requires a value. In the
validation array, we pass the string number
.
Since the validation criterion is a string, the only valid values that
can be used at query time must be typeof
"number
". Functions can
also be used to validate values (described later).
If a query does not require values, simply pass an empty array.
// Quering without passing values.
client.add('SELECT * FROM employees', [], {
rowCount: 10,
rows: [
{ id: 1, name: 'John Smith', position: 'application developer' },
{ id: 2, name: 'Jane Doe', position: 'test engineer' }
// ... more employees omitted ...
]
});
The thrid parameter is the response returned if the values supplied to
to the query
method were determined to be valid.
The response MUST have the same interface as a pg.QueryResponse
.
Now we can create a mock connection and query for data.
// Get a mock db connection.
client.connect();
client.query('select * from employees where id=$1;', [1])
.then((data) => console.log(data))
.catch((err) => console.log(err.message));
Since the query is valid and the values passed are correct in number and type, we should see the expected output.
{ rowCount: 1,
rows:
[ { id: 1, name: 'John Smith', position: 'application developer' } ] }
For more advanced query value validation (beyond just simple type validation) we can use functions.
Let's say that our employee IDs must be whole numbers greater than 0. We can use a validation function like this:
// Advanced validation with functions.
const pgmock = require('pgmock2');
const pg = new pgmock();
const validateId = (id) => {
return (
typeof(id) === 'number'
&& isFinite(id)
&& id > 0
&& id === Number(id.toFixed(0)
);
}
pg.add('SELECT * FROM employees WHERE id = $1', [validateId], {
rowCount: 1,
rows: [
{ id: 1, name: 'John Smith', position: 'application developer' }
]
});
To mock a pg
Pool/PoolClient workflow.
import pgmock, { getPool } from 'pgmock2';
...
// Using pg instance from above examples.
const pool = getPool(pg);
(async function() {
const client = await pool.connect();
const res = await client.query('select * from employees');
console.log(res.rows);
client.release();
})();
Tests are found in the test
directory. To execute them, run:
npm run test
To run the tests in a docker environment:
npm run test:docker
Generated using TypeDoc


 Shankle beef ribs tail ball tip corned beef cupim pig. Sausage beef ribs hamburger cow tongue. Ground round pastrami beef ribs sirloin capicola, burgdoggen meatball short ribs rump ham frankfurter jowl.
Salami flank shankle, biltong chuck cupim burgdoggen ball tip rump leberkas jerky. Short loin pork loin turkey meatball tri-tip tenderloin capicola flank tongue. Pastrami frankfurter ground round ham hock. Drumstick alcatra sirloin, boudin ribeye salami capicola.
Shankle pancetta chicken, ham sausage corned beef drumstick tri-tip spare ribs.  Filet mignon chuck tenderloin turkey biltong drumstick.
Food enthusiast, photography fan. Add a pinch of raw foodism and that's pretty much who I am.


A short ride from Pondicherry Airport, discover a paradise hideaway where luxurious seclusion meets exotic natural beauty. This verdant, beach-fringed island offers sophisticated pleasures on land and water - from genuine French therapies in the spa to splashing, sailing or diving in the jewel-like Indian Ocean and Pondi's most pristine lagoon.
Each villa boasts a luxurious whirlpool good for two persons with an indoor garden setting while the Pool Villas have their own private pool amenity with its own landscaped garden. The Family Villa have two bedrooms each and a living room with a whirlpool good for four persons, while the luxurious Presidential Villa has a colonial tub plus an outdoor spa. All villas feature either king or twin beds, high thread count sheets, spacious outdoor bathroom with vanity, a complete array of bathroom amenities and towels, mini-bar, coffee and tea making facilities, safety deposit box, hair dryer, a compendium, IDD telephone access with two extensions, flat screen television with cable, DVD player and iPod speaker. All pool villas have LCD screens."


WITNESS LIST
Higher Education Committee
February 11, 2016 - 9:00 AM
Baccalaureate degree offerings and student pathways
On:
Brown, Dennis (Texas Association of Community Colleges)
Hellyer, Brenda (Texas Association of Community Colleges)
Maldonado, Dr. Cesar (Houston Community College System)
May, Joe (Dallas County Community College District)
Moore, Richard (Texas Community College Teachers Association)
Paredes, Raymund (Texas Higher Education Coordinating Board)
Peebles, Rex (Texas Higher Education Coordinating Board)
Reed, Shirley (Soutsh texas college)
Russell, James henry (Self; Texas association of community colleges and Texarkana College)
Serrata, William (Texas Student Success Council)
Thielemann, Charles (Self)
Zolnierek, Cindy (Self; Texas nurses association)
Registering, but not testifying:
On:
Black, George (Galveston Community College District)
Hernandez, Demetrio (Legislative Budget Board)
Lewis, Raymond (CCATT)
Matkin, Neil (Collin Colege)
Service and taxing districts, governance structure, and reporting
On:
De Leon, Marcos (LULAC District 12, austun TX)
Eklund, Julie (Texas Higher Education Coordinating Board)
Elliott, Verma (State Auditor's Office)
Fraire, Jacob (Texas Association of Community Colleges)
Garza, Jr., Isidro (Cesar Chavez Legacy and Educational Foundation)
Hensley, Dr. Mary (Blinn College)
Hernandez, Demetrio (Legislative Budget Board)
McCrohan, Betty (Texas Association of Community Colleges)
Paredes, Raymund (Texas Higher Education Coordinating Board)
Peebles, Rex (Texas Higher Education Coordinating Board)
Poole, Greg (Self; Barbers Hill isd)
Thielemann, Charles (Self)
Wallace, Dr. Brent (Self; Texas Association of Community Colleges)
Registering, but not testifying:
On:
Deardorff, Emily (Legislative Budget Board)
1


Play current media
Pause current media
Toggle playback
Set volume (0)
Set volume (0.5)
Set volume (1)


---
layout: post
title: How I would change netbook hardware
tags:
- EEE PC
- Personal Opinion
status: publish
type: post
published: true
meta:
_edit_last: '451289'
---
I've been using my ASUS EEPC 1000H for 10 months now and there are some obvious changes that could improve the form factor which no one seems to be implementing. So here is my $200 worth
- Remove the speakers -- it's hard to get decent sound anyway. I'm mobile so I don't want disturb others and I always use headphones. Use the space for something else
- Use a trackpoint instead of a trackpad. Takes up a lot less space and is harder to accidentally hit when typing
- Try and make the screen a little taller so that it can display 1024x768. There are just enough applications that don't work at 1024x600 to make this important
- Improve video playback -- the form factor makes a great mini-TV but sometimes... Would this be a simple matter of improving the graphics card?
- Ship with 2Gb already!
- Oh .. and don't bother with fingerprint scanners, there are more important things.
I'm happy enough with my EEEPC that it's my main computer (but I have a big screen and keyboard to use with it, and I don't use tools like Eclipse)


thProtocol
The thProtocol parameter sets the default protocol to apply to generated URIs.
It is often not necessary to set this value as the protocol to apply in a given template can usually be deduced by examining the current document. Deliberately setting this parameter will override the derived value.
The default value for this parameter is "file:///" which is a good choice for file-system based developments.
Using "http://" may be appropriate for Thymol-enabled Thymeleaf templates that are loaded from a web server.


[ht::head {Data Icons} ] :navtop :p +callout-info If any entry that is also a data entry is being displayed in the IMDV map then the marker shown in the map can display the most recent data for the entry. This includes individual Entry glyphs, entries added under a Multi-Entry and any entryies under a Group glyph. -callout :heading Showing Data Icons For example, the Purple Air sensors can show the PM2.5 measurements and a color coded circle. [ht::screenshot images/purpleair.png] NWS station data shows temperature, wind speed and pressure: [ht::screenshot images/nws.png] CR1000 data logger entries show either temperature or relative humidity: [ht::screenshot images/cr1000.png] To enable data icon displays bring up the Properties dialog for the relevant glyph (this may be a Multi-Entry, an Entry Marker or a Group) in the legend: [ht::screenshot images/multientrylegend.png] Under the Data Icons tab select "yes" for "Show data as icons" and press OK. Your map should now show the sensor data. [ht::screenshot images/multientryprops.png] You should have a map that looks like below. From the top-level File menu select Save. [ht::cimg images/multientrymap1.png {} {width=600px}] The "Show data as icons" can be "yes", "no" or "inherited". If "inherited" is selected then if the glyph is under a Group then the data icon settings for the Group are used. The "Use the default data icon specification for the entry" and "Use parent group's or the below if defined" toggle specify whether to use the default data icon for the Entry (like in the Purple Air example) or to use a custom data icon. Using the parent group's data icon specification allows one to have a group of data icon glyphs in a map that all have the same representation. :heading Adding a Field Select Menu You can add a pull down menu at the top of the page that allows the user to select which field is displayed. To do this you will first need to know what are the field identifiers for the data entry. Navigate to one of the data entrys you will be displaying, e.g., the Purple Air sensor and view the Metadata page (from the entry's popup menu) to show the metadata. Note the fields you want to use. For Purple Air we are going to use pm1.0, pm2.5 and pm10.0. [ht::screenshot images/metadata.png] Now, back to the IDMV map, bring up the properties dialog for the multi-entry. Under the Menu Fields add the fields you want to use. Optionally you can specify an initial field and a menu label. You can specify an alternative label to show in the menu as below by specifying a label=... property in the Menu Fields: [ht::screenshot images/multientryprops2.png] You should now have a menu shown that allows you to select the field to display: [ht::cimg images/multientrymap2.png {} {width=600px}] :heading Different Data Types The data icons can be used with a group of entry glyphs where the entries have different data, e.g., CR1000 Data Logger, Purple Air, NWS ASOS data, etc. The menu fields can have a pattern for the field ID. For example, below the first menu row matches on any field that is "temperature" or "atmos_temp". The second row just is pm2.5.
temperature|atmos_temp,label=TemperatureX,unit=C pm2.5,label=PM 2.5To have all of the data icons be the same format select "Set Defaults", this will override the default display of the data icons. The Icon Specification is the same as used for the wiki canvas display. Now, with the above settings if the PM2.5 field is selected in the field menu then only those glyphs that have a data field that matches the selected PM2.5 field will be shown. [ht::screenshot images/multientryprops4.png]


Arrays in JSON are almost the same as arrays in JavaScript.
In JSON, array values must be of type string, number, object, array, boolean or null.
In JavaScript, array values can be all of the above, plus any other valid JavaScript expression, including functions, dates, and undefined.
Arrays can be values of an object property. You access the array values by using the index number:
Looping through an array using a for in loop:
Loopin through an array using a for loop:
Values in an array can also be another array, or even another JSON object. To access arrays inside arrays, use a for-in loop for each array:
How to modify an array value of a JSON object.
How to delete properties of an array.


modes = gtmlmode(net, data)
modes = gtmlmode(net, data)
takes a GTM
structure net
, and computes the modes of the responsibility
distributions for each data point in data
. These will always lie
at one of the latent space sample points net.X
.
gtm
, gtmpost
, gtmlmean
Copyright (c) Ian T Nabney (1996-9)