Git Product home page Git Product logo

cosx.org's Introduction

本库存放着 COS 主站的所有文章 Markdown 或 R Markdown 源文件。欢迎各位作者投稿,投稿指南参见 https://cosx.org/contribute/

编辑部注意事项

请首先参阅上面的投稿指南,在 R 里安装 blogdown 包。

审稿:

  • 若是新作者(参阅现有作者列表),与作者联系提供照片、个人介绍以及文章摘要。

  • 若作者没有自己在 Github 上发送合并请求(Pull request,简称 PR),就请小编帮忙发一下,然后再开始在线审稿。

    • 注意是否有错字别字
    • 其它文章结构部分跟作者沟通修改

主站:

  • 短链接(YAML 元数据中的 slug 选项):简单明了,无须逐字翻译文章标题。
  • 分类(categories 选项):根据相关情况,最多选择三个分类,按照跟文章的相关程度从大到小排列(即:第一分类是最能体现文章所属栏目的)。标签(tags 选项):多多益善。在 RStudio 中可以使用插件 Update Metadata,然后就可以从下拉框中选择分类和标签,这样避免手工创造不必要的新分类或标签。一般情况下不要创建新分类,但新标签可以视情况自行决定。
  • 注明:作者姓名(author 选项)、审稿以及编辑姓名(meta_extra 选项)。

关于 YAML 元数据的设置,可以参见这篇文章示例

当 PR 被合并之后,文章会自动发表(通常在两分钟左右)。等首页能看到文章之后,按照这里的指示到 COS 论坛上发帖,并将帖子的 ID 插入文章的 forum_id 选项中。

微信:

  • 文章标记原创
  • 注意字体格式
  • 注明作者、审稿人、编辑
  • 文末加版权说明
  • 阅读原文加主站链接
  • 编辑好之后发原作者和审稿人沟通
  • 主站与微信保持同步发送
  • 微信公式部分用清晰截图表示

cosx.org's People

Contributors

autumnthinker avatar chengjunhou avatar cyrusyip avatar dubuyh avatar feng-jings avatar fyears avatar huimincheng2015 avatar lchiffon avatar lingrenkong avatar melodyren1998 avatar mikelyx avatar nanxstats avatar perfectizer avatar qinwf avatar robinchan524 avatar rockyanshi avatar ryanna-github avatar stevenboys avatar szcf-weiya avatar taiyun avatar tcgriffith avatar tomatoiscoding avatar xiangyunhuang avatar xiaopchao avatar yangggshuyi avatar yaris2012 avatar yihui avatar yixuan avatar yufree avatar zhangyet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cosx.org's Issues

![](URL "标题") 替换为 ![标题](URL)

麻烦 @fyears 再作一下替换吧,如:

![](https://cos.name/wp-content/uploads/2011/03/image.jpg "统计词话配图")

替换为

![统计词话配图](https://cos.name/wp-content/uploads/2011/03/image.jpg)

文章内容、格式清理

对每个文章进行整容:

  1. 确认分类信息:请按照分类表中“分类”对应
  2. 确认标签信息:添加关键词信息,多多益善,在参考历史标签的基础上,确保概括全文主要信息
  3. 确认作者信息:作者+审稿+编辑,具体参考谢大示例:
    整容前:https://5969a93b424ef2014bfb9cbe--cosx.netlify.com/2017/05/random-number-generation/
    整容后:https://cosx.org/2017/05/random-number-generation/
  4. 确认短链接(参考上述链接)
  5. 确认文末版权信息
    ……(待添加)

最新几篇文章的论坛帖子

  1. 给编辑部设置好论坛 COSeditor 的账号
  2. 给最新的几篇主站文章加上论坛链接
  3. 在编辑部的维基中说明以后发表文章的流程

理事会名单

现任名单以及历史名单:https://cosx.org/members/

请点击页面最右上角的编辑本页链接编辑更新它。(对那些有管理员权限的人比如 @taiyun )请发 PR,不要直接提交到 master 分支。

chrome下分类字体大于标题

安卓下chrome浏览,点击 请求切换到桌面版网站 后,会出现分类的字体比标题还大的情况。

怎么办?

image

编辑和作者的个人信息

网页:https://cosx.org/members/

所有人的信息存放在这个文件中,若有问题请编辑它:https://github.com/cosname/cosx.org/blob/master/data/members.yaml

#541 中那些还没提交个人介绍和头像的人,你们还在等轿子来抬咩。


技术问题:

@Lchiffon @tomatoiscoding 关于维护这个文件,我需要你们帮个忙,因为这里面有个超大的 Hugo 坑。Hugo 读这个文件时,不能保证这个列表的顺序,所以我加了一个 weight 项来硬指定顺序。问题是,当以后我们加新人时,这些 weight 值可能需要全体变动。我给的 weight 值是按照姓名拼音排序的,除了前四个人(主编、副主编)。我希望你们写个脚本(比如 R)做到:

  1. 保留前四个人位置不动;

  2. 后面的人按姓名拼音排序;

  3. 有了顺序之后把所有人的 weight 值从 1 到 N 重新赋值。

这样每次加人就可以跑一下脚本,确保顺序。

这个 Hugo 坑我想了两个小时也没想好怎么避免,最后只能用这个笨办法了。

新版页面R会位置不突出

新版页面上R会相关内容只有在页脚处的“会议”,很不明显,会给想进站了解R会内容的用户造成困扰。相比之下,旧站页面上R会议的入口位置就比较醒目。建议可以在右上角加一个R会内容入口。

修正 404

Google 号称看见了一千多个死链接,我们需要修复。要么修正那些错误链接,要么重定向。

清理作者信息

书接 #226

现在所有人员信息都移动到了 https://github.com/cosname/cosx.org/blob/master/data/members.yaml

现在需要清扫一遍所有文章,确保作者信息都汇总到这个 members.yaml 文件中。

有些文章的作者信息缺失,如 https://cosx.org/2017/05/random-number-generation/ 需要补上。

有些作者信息包含在正文中,需要剥离,如 https://cosx.org/2017/01/deep-mining-users-r/

有的作者是统计之都,有的是 COS 编辑部,有的是 cos 编辑部,有的是 COS编辑部。如:https://cosx.org/2017/06/cos-interview-29/ 这些公共名需要统一一下。

合格的文章只是少数,如这两篇是我修订过的:

滚动到文章最底部,会看见作者信息自动生成在那里了,这是因为文章的作者的信息在 members.yaml 文件中可以找到。

一个想法:根目录下维护一个 authors_info.yaml

根目录下维护一个 authors_info.yaml,渲染文章的时候,hugo 自动选取对应的作者信息,并且把文本添加到文章底部“关于作者”的位置(和 tag 并列)。

这样就可以自动生成关于作者等信息,所有文章自动更新作者信息。

电子邮件支持 base64。

(其实就是用静态化信息山寨 wp 对应的功能。)

# authors_info.yaml

John Smith:
    github: john
    description: some nobody
    email: [email protected]

Alex Doe:
    github: alex
    blog: https://www.example.com
    email: YUBleGFtcGxlLmNvbQ==

重定向工作

新建 cos_redirect 库,绑定 netlify.com,添加 static/_redirects 文件。需要重定向 RSS 源、论坛帖子

/feed/     https://cosx.org/index.xml
/cn/topic/*  https://d.cosx.org/d/:splat
/cn/profile/* https://d.cosx.org/u/:splat
/cn/  https://d.cosx.org
/:year/:month:/:slug  https://cosx.org/:year/:month/:slug
/  https://cosx.org
/page/*  https://cosx.org/page/:splat

从Rmd文件发布post

附带的问题有如何处理图片。

向谢大,大为咨询后解决方案如下:

  1. 在Rmd文件起始部分添加如下设定,render成HTML同时,也会保留md文件。直接发布md文件即可。
output: 
  html_document: 
    keep_md: true
  1. 图片目前上传到个人github repository下专门开的issue里。

可以考虑把这几条加入编辑手册。

文章分类整理工作

书接 #6。因为 #6 的任务太大了,所以新开一个事项,先完成它的一个子集:只整理分类信息,先不管标签。

目的

先说分类的最高目的:分类就是我们的子品牌。我们的文章包含哪些子品牌,或者说统计之都涵盖哪些栏目(像报纸一样)。这是整个统计之都的文章品牌建设问题。其次,因为所有的分类名都是可点击的链接,所以读者可以很方便只阅读她关心的栏目。这是为读者提供一个方便的导航。

分类建议

目前的所有分类在:https://cosx.org/categories/ 可以看到它们是一团浆糊:

R (2) Web API (1) cos 访谈 (9) ggimage (1) ggplot2 (1) leaflet (1) ** R 会议 (2) ** R 语言会议 (7) 优化与模拟 (16) 出国留学 (3) 分析与代数 (1) 可视化 (9) 回归分析 (12) 图书出版 (5) 图片 (1) 地图 (1) 地理信息可视化 (1) 多元统计 (3) 抽样调查 (3) 推荐文章 (97) 数学方法 (7) 数据分析 (32) 数据挖掘与机器学习 (47) 新闻通知 (77) 时间序列 (3) 概率论 (9) 模型专题 (7) 每周精选 (23) 沙龙纪要 (4) 生物与医学统计 (17) 经典理论 (27) 统计之都 (196) 统计刊物 (10) 统计图形 (40) 统计推断 (27) 统计计算 (16) 统计软件 (89) 网站导读 (40) 职业事业 (55) 计量经济学 (4) 试验设计 (7) 贝叶斯方法 (6) 软件应用 (60) 金融统计 (4) 随机过程 (5) 非参数统计 (3) 风险精算 (7) 高校课堂 (9)

结合 #6@Huimincheng2015 的建议,我给出我的建议分类供讨论:

  • 统计之都:这个分类是当前被滥用最多的(原因大概是过去作者们不理解这个分类的意思),它应该只被用在跟统计之都这个集体、组织密切相关的文章上,比如统计之都网站的改版、统计之都主办的活动等。我的结论是绝大多数文章的这个标签都应该被去掉。这个分类应该重命名为“新闻动态”,避免将来误导更多作者。可以归并原来的分类:新闻通知、网站导读、每周精选、沙龙纪要。

  • COS访谈:因为有特色

  • R语言:它可以作为所有跟 R 语言相关的文章的分类,在一篇文章分类中的排位取决于这篇文章跟“语言”的相关程度,比如 R 会议跟 R 有关,但 R 会议的文章应该优先使用 R 会议的分类;统计计算的文章如果用了 R,但主要强调计算方法,也不应该用 R 语言作为第一分类;类似 R 包开发、R 的程序特征类的文章用 R 语言的分类才比较合适。

  • R会议:跟新闻动态分类有重叠,但 R 会议是我们重要的牌子,我觉得值得单独列一类。

  • 统计计算:可能可以归并原“统计软件”、“软件应用”分类。

  • 统计图形(诸如可视化、地图等分类都可以归并到这个分类)

  • 统计模型:可归并统计理论

  • 统计应用:可归并数据分析

  • 机器学习:因为它热

  • 职业事业:可以归并出国留学

  • 推荐文章:我们根本没有一个推荐机制,所以这个分类过去其实一直是在胡来,但我觉得这个栏目也有存在的必要。因为现在再回去一篇篇读了投票是否推荐太不现实,所以只能靠整理分类的小编凭良心推荐了。

如前面所说,一篇文章可以有多个分类,但我建议每篇文章不要超过三个。分类需要高度概括,但也不能太抽象,比如“统计学”对统计之都网站来说就不是一个合理的分类,因为读者看到这个分类之后对文章的内容毫无概念(统计之都就是关于统计学的啊)。分类的作用是给读者一个大概概念,比如关心 R 会议的读者一般不会误入职业事业栏目(不能说二者绝对没有交集,但交集肯定是非常小)。

原来存在但这里没有提到的分类就请小编自己机动处理了。我的大体意见是,如果一个分类下面只有寥寥几篇文章,那这个分类可能没有存在的必要。但又有两个可能性让它有存在的必要:一是有些文章忘了使用这些分类名;二是这个分类是我们想建设的品牌,但现在的文章还太少,将来会更着重去约稿。

上面的分类并不是死的,随着时间推移可以再更新,等我们先把一团浆糊理清澈一点了再讨论新分类吧。

技术细节

blogdown 包中有个 find_categories() 函数也许可以帮帮忙,比如查找包含特定分类的文章:

devtools::install_github('rstudio/blogdown')
blogdown::find_categories('R')  # 查找含有 R 分类的文章
blogdown::find_categories(NULL)  # 查找分类完全缺失的文章

# 找到 R 分类下的所有文章并在 RStudio 里自动打开那些 .md 源文件
blogdown::find_categories('R', open = TRUE)

但并没有直接的替换分类的函数,需要小编自己动手丰衣足食。以下是一个示例,原谅我已经没有脑子更详细解释了:

files = list.files('content/post', '[.]md$', full.names = TRUE)
for (f in files) {
  blogdown:::modify_yaml(f, categories = function(old, ...) {
    # old 是当前文章的分类向量,有可能是 NULL
    # 下面对 old 做一些操作,并返回新的分类值
    old[old %in% c('R', 'ggimage', 'leaflet')] = 'R语言'
    unique(old)
  })
}

修改分类时要在 git 里面看看差异,每修改一次看一次,觉得没问题就提交一次,然后再修改再看,这样反复迭代。不然等全改完了再来看差异可能会昏掉。先用自动化方式处理,完了之后再用人眼来一篇篇过。

支持审稿人和编辑

YAML 中增加两项,如

reviewer: 郎大为 边蓓蕾
editor: 吴佳萍

然后用模板自动生成在文章的头部或尾部区域。

原站的图片、资料链接是否需要更新?

目前文章里有很多形如cos.name/wp-content/uploads/的链接,内容是几乎所有文章的图片,以及R会演讲分享出来的资料。

在目前修改文章格式/链接的阶段,是否需要一并修改,还是未来统一脚本做替换?

延迟加载缩略图

因为缩略图其实都不是真正的缩略图,而是原图,所以文件略大。可以用 #577 一样的技术延迟加载之。

批量更新论坛帖子链接

用正则表达式将形如 https://cos.name/bbs/read.php?tid=12064 的链接替换为 https://cos.name/cn/topic/12064

Markdown 编辑工作分配及进度

使用指南

在开始编辑工作之前,请参考维基页面学习相关的操作方法与规范。


任务分配

以下是临时分配方案,根据各人的进度可以将任务重新移动到其他人头上。

郎大为

  • 2008-11-23-cos-restructured.md
  • 2008-11-24-how-to-learn-statistics-by-jthu.md
  • 2008-11-24-how-to-work-with-cos-2.md
  • 2008-11-24-r-conference-notice.md
  • 2008-11-25-domain-of-statistics-by-yihui.md
  • 2008-11-26-how-to-work-with-cos.md
  • 2008-11-26-lowess-to-explore-bivariate-correlation-by-yihui.md
  • 2008-11-26-probability-theory-origin-development-application.md
  • 2008-11-26-statistics-history-and-today.md
  • 2008-11-27-an-introduction-to-econometrics.md
  • 2008-11-27-experiment-design.md
  • 2008-11-27-subprimestat.md
  • 2008-11-29-how-to-search-for-statistics-resources.md
  • 2008-11-29-outlook-on-statistical-methods.md
  • 2008-11-30-cos-navigation-1.md
  • 2008-11-30-which-statistical-software-should-we-use.md
  • 2008-12-03-decision-and-risk.md
  • 2008-12-03-eclipse-statet-for-r-editor.md
  • 2008-12-03-my-experience-with-statistics-by-chongjie-liu.md
  • 2008-12-03-rcmdr-looks-like-spss.md
  • 2008-12-04-degrees-of-freedom.md
  • 2008-12-07-cos-navigation-2.md
  • 2008-12-07-p-value.md
  • 2008-12-08-p-value-notes.md
  • 2008-12-08-statistical-analysis-and-winbugs-part-1.md
  • 2008-12-15-cos-navigation-3.md
  • 2008-12-16-1st-chinese-r-conference-summary.md
  • 2008-12-18-statistical-analysis-and-winbugs-part-2.md
  • 2008-12-21-cos-navigation-4.md
  • 2008-12-25-measure-classification-model-performance-confusion-matrix.md
  • 2008-12-28-cos-navigation-5.md
  • 2008-12-31-measure-classification-model-performance-roc-auc.md
  • 2009-01-04-cos-navigation-6.md
  • 2009-01-04-regression-with-graphics.md
  • 2009-01-05-intro-to-gretl.md
  • 2009-01-11-cos-navigation-7.md
  • 2009-01-13-r-and-sas-new-york-times.md
  • 2009-02-11-statistical-analysis-and-winbugs-part-3.md
  • 2009-02-13-google-visualization-api-and-data-analysis-online.md
  • 2009-02-18-measure-classification-model-performance-lift-gain.md
  • 2009-02-20-create-r-packages-under-windows.md
  • 2009-02-22-cos-navigation-8.md
  • 2009-03-11-parallel-coordinates-and-andrews-curve.md
  • 2009-03-13-correlation-matrix-visualization.md
  • 2009-03-15-cos-navigation-9.md
  • 2009-03-15-stat-blog-guide-rocket-cart-nnet.md
  • 2009-03-16-meaning-of-failure-to-reject-h0.md
  • 2009-03-17-data-analysis-of-cos-en-members.md
  • 2009-03-18-ruc-math-stat-course.md
  • 2009-03-19-ruc-stat-literature-research-course.md
  • 2009-03-20-scatterplot-matrix-visualization.md
  • 2009-03-21-running-r-in-batch-mode.md
  • 2009-03-22-cos-navigation-10.md
  • 2009-03-28-ruc-stat-grad-stat-models.md
  • 2009-03-29-cos-navigation-11.md
  • 2009-03-29-hilbert.md
  • 2009-04-27-from-proportion-to-conclusion.md
  • 2009-05-08-how-to-design-an-experiment.md
  • 2009-06-01-why-ratio-estimation-is-more-accurate-in-sampling.md
  • 2009-06-11-correlation-and-regression.md
  • 2009-06-17-stat-blog-guide-ahmadinejad-votes.md
  • 2009-06-22-ruc-statistical-coursework-abstract-1.md
  • 2009-06-23-ruc-statistical-coursework-abstract-2.md
  • 2009-06-24-ruc-statistical-coursework-abstract-3.md
  • 2009-06-25-ruc-statistical-coursework-abstract-4.md
  • 2009-06-25-ruc-statistical-coursework-abstract-5.md
  • 2009-06-29-statistical-analysis-and-winbugs-part-4.md
  • 2009-07-02-drawing-china-map-using-r.md
  • 2009-07-04-studying-notes-on-oop-in-r.md
  • 2009-07-19-maximum-likelihood-estimation-in-r.md
  • 2009-08-09-econ-software-sas.md
  • 2009-09-01-guide-to-hlm.md
  • 2009-09-12-introduction-and-application-of-gert.md
  • 2009-09-20-relationships-among-variables-in-large-scale-systems.md
  • 2009-09-29-an-introduction-to-var-in-risk-evaluation.md
  • 2009-11-13-a-brief-talk-on-buffon-throwing-needle-problems.md
  • 2009-11-27-a-tutorial-on-package-actuar-1.md
  • 2009-12-14-improve-r-computation-efficiency.md
  • 2009-12-20-2nd-chinese-r-conference-summary.md

彭晨昱(原地待命)

张源源(原地待命)

杨舒仪

  • 2010-01-07-generalization-to-buffons-needle.md
  • 2010-03-08-monte-carlo-method-to-compute-integration.md
  • 2010-04-11-kernel-density-estimation-with-unbounded-region.md
  • 2010-04-14-var-risk-measure-in-gold-futures-market-based-on-historical-simulation-method.md
  • 2010-04-18-think-sas-1.md
  • 2010-05-09-from-clt-simulation-to-normal-distribution.md
  • 2010-06-23-3rd-china-r-beijing-summary.md
  • 2010-08-28-poisson-count-data-modeling-problem-of-low-variance.md
  • 2010-09-05-3rd-bbf.md
  • 2010-09-18-a-tutorial-on-package-actuar-2.md
  • 2010-10-08-lda_topic_model.md
  • 2010-10-13-cantor-set-and-slln.md
  • 2010-11-05-reproducible-research-in-statistics.md
  • 2010-11-14-hypotheses-testing.md
  • 2010-11-22-3rd-china-r-shanghai-summary.md
  • 2010-12-30-think-sas-2.md

覃文锋

  • 2011-01-03-cache-objects-in-sweave-stat-computation-and-graphics.md
  • 2011-01-12-the-application-of-r-in-actual-science-with-case-study.md
  • 2011-01-15-publishing-promotion-and-collaboration-in-statistics.md
  • 2011-01-18-how-does-glm-generalize-lm-assumption.md
  • 2011-01-22-different-ways-to-solve-a-tossing-problem.md
  • 2011-01-31-how-does-glm-generalize-lm-fit-and-test.md
  • 2011-02-13-an-tutorial-of-package-actuar.md
  • 2011-03-04-statistics-in-chinese-song-poem-1.md
  • 2011-03-20-1st-data-mining-competetion-for-college-students.md
  • 2011-04-02-orthogonal-experiments-and-multiple-factor-anova.md
  • 2011-04-23-an-introduction-to-lars.md
  • 2011-04-25-modified-lars-and-lasso.md
  • 2011-04-27-group-least-angle-regression-algorithm.md
  • 2011-04-28-chinar-2011.md
  • 2011-04-28-exploring-renren-social-network.md
  • 2011-05-12-a-letter-to-yihui-xie-and-cos.md
  • 2011-05-16-summary-of-the-1st-data-mining-competetion.md
  • 2011-05-29-write-r-packages-like-a-ninja.md
  • 2011-05-31-4th-china-r-beijing-summary.md
  • 2011-06-01-glm-for-insurance-data-in-r.md
  • 2011-06-30-quality-courses-series-applied-stochastic-process.md

李宇轩

  • 2011-07-13-we-never-know-randomness.md
  • 2011-08-05-fire-weibo-with-r.md
  • 2011-08-12-meaning-of-traveling.md
  • 2011-09-12-layer-graphics-device.md
  • 2011-09-14-chinar-2011-sh.md
  • 2011-09-16-evaluation-of-classifiers.md
  • 2011-09-26-coauthorship-network-of-china-stat.md
  • 2011-11-03-apply-for-study-abroad-from-another-perspective.md
  • 2011-11-09-introduction-ofcomputer-experiment.md
  • 2011-11-10-group-testing-and-bingroup.md
  • 2011-11-16-4th-china-r-shanghai-summary.md
  • 2011-12-14-stories-about-statistical-learning.md

闫晗

  • 2012-02-13-valentines-gift-by-using-r.md
  • 2012-02-21-what-is-the-stat-dept-25-years-from-now.md
  • 2012-03-03-how-to-vote.md
  • 2012-03-11-find-right-one.md
  • 2012-03-21-statistics-in-chinese-song-poem-2.md
  • 2012-03-26-causality1-simpson-paradox.md
  • 2012-03-28-causality2-rcm.md
  • 2012-03-30-causality3-fisher-and-neyman.md
  • 2012-04-01-causality4-observational-study-ignorability-and-propensity-score.md
  • 2012-04-15-the-training-of-the-main-courses-about-probability-theory.md
  • 2012-04-16-chinar-2012.md
  • 2012-05-03-calendarheatmap.md
  • 2012-05-05-r-you-ready.md
  • 2012-05-26-chase-after-eb.md
  • 2012-05-31-5th-china-r-beijing-summary.md
  • 2012-06-11-reproducible-research-with-knitr.md
  • 2012-06-25-cos-salon-review-1.md
  • 2012-07-10-higgs-boson-and-5-sigma.md
  • 2012-07-23-shanghair-july-2012-mindshare.md
  • 2012-07-24-mcmc-case-study.md
  • 2012-08-01-cos-salon-review-2.md
  • 2012-08-12-compound-poisson.md
  • 2012-08-22-persi-diaconis-1.md
  • 2012-08-28-cos-salon-review-4.md
  • 2012-09-09-persi-diaconis2.md
  • 2012-09-11-5th-r-salon-in-shenzhen.md
  • 2012-10-11-china-r-shanghai-2012.md
  • 2012-10-15-shanghair-oct-2012-iresearch.md
  • 2012-10-25-causality5-causal-diagram.md
  • 2012-11-08-5th-china-r-shanghai-summary.md
  • 2012-11-25-the-rise-of-data-scientists.md
  • 2012-12-11-the-odyssey-of-stat-frequentist-or-bayesian.md
  • 2012-12-13-cos-5th-salon.md
  • 2012-12-18-new-names-for-statistical-terms.md
  • 2012-12-30-time-series-and-spatial-distribution-with-r-dynamically.md

王佳

  • 2013-01-07-dynamic-bubble-plot-in-r.md
  • 2013-01-11-drawing-map-in-r-era.md
  • 2013-01-13-analysis-of-weibo.md
  • 2013-01-13-lda-math-gamma-function.md
  • 2013-01-14-lda-math-beta-dirichlet.md
  • 2013-01-17-lda-math-mcmc-and-gibbs-sampling.md
  • 2013-01-21-shanghair-salon-jan-2013.md
  • 2013-01-28-story-of-normal-distribution-1.md
  • 2013-01-28-story-of-normal-distribution-2.md
  • 2013-02-03-the-most-poisoned-baby-name.md
  • 2013-02-05-jinyong-fiction-mining.md
  • 2013-02-11-remove-significance-stars.md
  • 2013-02-16-how-to-find-a-job-for-sas-programming.md
  • 2013-02-16-integrating-sas-with-r.md
  • 2013-02-17-association-rules-with-r-and-sas.md
  • 2013-02-17-dangers-everywhere-in-random-experiment.md
  • 2013-02-19-webgl-instead-of-html5.md
  • 2013-02-23-chinar-beijing-2013.md
  • 2013-02-24-sas-blog-rank-2012.md
  • 2013-02-25-rise-of-the-machine.md
  • 2013-03-04-first-bioconductor-mirror-in-china.md
  • 2013-03-06-jss-paper-sci.md
  • 2013-03-07-lda-math-lda-text-modeling.md
  • 2013-03-07-lda-math-text-modeling.md
  • 2013-03-09-interview-of-xiaolinglu.md
  • 2013-03-11-storytelling-with-data.md
  • 2013-03-19-gadfly-ggplot2-in-julia.md
  • 2013-03-19-r-in-action.md

于嘉傲

  • 2013-03-20-6th-chiner-conference-register.md
  • 2013-03-24-rhadoop1-hadoop.md
  • 2013-03-24-rhadoop2-rhadoop.md
  • 2013-03-25-garden-of-ditributions-of-r.md
  • 2013-04-01-an-debate-with-the-past.md
  • 2013-04-02-weibo-influence-hindex.md
  • 2013-04-08-human-eye-vs-machine-learning.md
  • 2013-04-09-rhadoop3-rhadoop-mapreduce.md
  • 2013-04-12-rhadoop4-rhbase.md
  • 2013-04-15-nosql1-rmongodb.md
  • 2013-04-15-super-mario-and-machine-learning.md
  • 2013-04-18-nosql-r-redis.md
  • 2013-04-24-the-threat-from-data-science.md
  • 2013-05-14-chinar-2013-beijing-schedule.md
  • 2013-05-14-shanghai-r-salon-may-2013.md
  • 2013-05-15-ggplot2.md
  • 2013-05-23-the-art-r-programming.md
  • 2013-05-27-6th-china-r-beijing-summary.md
  • 2013-05-29-relationship-big-data-statistics.md
  • 2013-06-02-weibo-fans-map-visualization.md
  • 2013-06-17-interviewof-jeff-leek.md

翟晋

  • 2013-07-01-guangzhou-cos-salon10.md
  • 2013-07-02-beijing-cos-salon-june-2013.md
  • 2013-07-18-r-nosql-cassandra.md
  • 2013-07-22-interview-of-yidanhui.md
  • 2013-07-28-r-nosql-hive.md
  • 2013-08-04-beijing-cos-salon-jul-2013.md
  • 2013-08-08-cos-series-use-r-for-fun-game.md
  • 2013-08-10-cos-series-use-r-for-fun-application.md
  • 2013-08-12-r-rserve-java.md
  • 2013-08-13-cos-series-inverse-function-of-strsplit.md
  • 2013-08-14-r-rjava-java.md
  • 2013-08-15-biostats-series.md
  • 2013-08-20-use-r-to-do-portfolio-optimization.md
  • 2013-08-22-interview_of_xie_liang.md
  • 2013-08-22-something_about_weibo.md
  • 2013-08-22-something_else_about_weibo.md
  • 2013-08-23-biostats-series1-origin.md
  • 2013-08-26-regression-of-large-dataset-in-r.md
  • 2013-08-28-causality6-instrumental-variable.md
  • 2013-08-29-beijing-cos-salon-aug-2013.md
  • 2013-08-31-data-sciences-interview_of_huangshuai.md
  • 2013-09-01-cos-series-use-r-for-fun-image.md
  • 2013-09-03-voyager1-cross-hp.md
  • 2013-09-07-data-sciencs-series-interview-of-zhangjian.md
  • 2013-09-09-causality7-lord-paradox.md
  • 2013-09-12-data-sciencs-series-interview-of-scott-iverson.md
  • 2013-09-15-manual-genetic-algorithm.md

雷博文

  • 2013-09-17-casuality8-smoke-and-lung-cancer.md
  • 2013-09-26-data-sciencs-series-interview-of-wanghansheng.md
  • 2013-09-29-a-conversation-with-hadley-wickham.md
  • 2013-10-05-2013-china-r-conference-shanghai-notice.md
  • 2013-10-07-gossip-r-gpu.md
  • 2013-10-13-21-century-bayesian-thm.md
  • 2013-10-16-beijing-cos-salon-sep-2013.md
  • 2013-10-20-sna-visual.md
  • 2013-10-29-simply-statistics-of-gmm.md
  • 2013-10-30-data-sciencs-series-interview-of-zibao-and-shouwu.md
  • 2013-11-03-teaching-le-to-a-child.md
  • 2013-11-05-interview-of-binyu.md
  • 2013-11-09-6th-china-r-shanghai-summary.md
  • 2013-11-10-cos-salon-15th-guangzhou.md
  • 2013-11-14-cos-interview-wilson.md
  • 2013-11-14-terry-speed.md
  • 2013-11-18-salon-beijing-16th.md
  • 2013-11-18-status-of-statistic-assistant-or-leader.md
  • 2013-11-21-building-r-packages-easily.md
  • 2013-12-02-how-to-steal-my-book.md
  • 2013-12-05-bayes-meeting-1st.md
  • 2013-12-07-rcpp-introduction.md
  • 2013-12-08-national-debt-treasury-bonds-return-rate.md
  • 2013-12-09-north-america-blockbuster-lnt-law.md
  • 2013-12-10-google-trend-stock-market.md
  • 2013-12-16-interview-junni-zhang.md
  • 2013-12-17-probability-of-diabetesone-minus-not.md
  • 2013-12-31-the-250th-anniversary-of-bayes-theorem-1st-bayesian-statistics-meeting.md

边蓓蕾

  • 2014-01-03-data2value.md
  • 2014-01-06-showtext-interesting-fonts-and-graphs.md
  • 2014-01-23-svm-series-maximum-margin-classifier.md
  • 2014-01-25-svm-series-2-support-vector.md
  • 2014-02-03-cos-interview-rob-j-hyndman.md
  • 2014-02-03-nobel-prizes-of-statistics.md
  • 2014-02-09-svd-and-image-compression.md
  • 2014-02-13-knitr-again.md
  • 2014-02-17-svm-series-3-kernel.md
  • 2014-02-20-personal-feelings.md
  • 2014-02-22-svm-series-4-support-vector.md
  • 2014-02-26-recommenderlab-packages.md
  • 2014-03-06-svm-series-5-support-vector.md
  • 2014-03-13-lets-talk-about-money.md
  • 2014-03-19-svm-series-add-1-duality.md
  • 2014-04-07-7th-r-conference-beijing.md
  • 2014-04-12-inspiration-aspiration-ambition.md
  • 2014-04-12-search-rescue-plane-statistical-data-analysis.md
  • 2014-04-19-lmmandme.md
  • 2014-04-24-use-pipeline-operators-in-r.md
  • 2014-05-08-svm-series-add-2-kernel-ii.md
  • 2014-05-14-embracing-statistical-challenges-in-the-information-technology-age.md
  • 2014-05-28-from-math-to-app-stat.md
  • 2014-06-07-7th-china-r-beijing-summary.md
  • 2014-06-28-teaching-with-heart.md

范超

  • 2014-07-01-gamma-function-1.md
  • 2014-07-01-gamma-function-2.md
  • 2014-07-03-rlist-package.md
  • 2014-07-17-cos-interview-16-chih-ling-tsai.md
  • 2014-07-29-ims-a-cross-continent-human-network.md
  • 2014-08-06-a-visual-explanation-of-markov-chains.md
  • 2014-08-10-lingzi-lu-memorial-award.md
  • 2014-08-14-r-maps-for-china.md
  • 2014-09-15-let-us-own-data-science.md
  • 2014-09-23-visualizing-flights-data.md
  • 2014-10-15-7th-r-conference-guangzhou.md
  • 2014-10-20-22salon.md
  • 2014-10-26-the-news-about-statistics.md
  • 2014-11-02-statistics-courier.md
  • 2014-11-04-7th-r-conference-hangzhou.md
  • 2014-11-09-statistics-courier-2.md
  • 2014-11-10-7th-r-conference-shanghai.md
  • 2014-11-15-jiebar-text-segmentation.md
  • 2014-11-16-machine-learning.md
  • 2014-11-23-visualization-of-pm2-5.md
  • 2014-11-24-23salon.md
  • 2014-11-24-7th-china-r-guangzhou-summary.md
  • 2014-11-30-various-data-visualization.md
  • 2014-12-05-7th-chinar-hangzhou-openning-remarks-alibaba.md
  • 2014-12-07-introduction-of-deep-learning.md
  • 2014-12-15-24salon.md
  • 2014-12-15-25salon.md
  • 2014-12-15-2rd-bayesian-statistics-meeting.md
  • 2014-12-21-the-visualization-of-weibo.md
  • 2014-12-22-a-data-scientist-is-changing-peoples-vision-to-city.md
  • 2014-12-28-the-story-about-measure-theory.md

闫施

  • 2015-01-04-talking-about-data-scientist.md
  • 2015-01-05-ebola-in-the-big-data-era.md
  • 2015-01-08-second_china_bayesian_statistics_conference_2014_review.md
  • 2015-01-11-the-material-of-data-science-for-the-vacation.md
  • 2015-01-19-the-story-about-algorithm.md
  • 2015-01-25-the-story-about-a-business-student-to-be-a-data-analyst.md
  • 2015-02-01-the-story-about-statistics.md
  • 2015-02-09-talking-about-p-value-again.md
  • 2015-02-15-the-application-of-statistics-in-love.md
  • 2015-02-24-lucky-money.md
  • 2015-03-04-xgboost.md
  • 2015-03-16-the-bulb-measurement-with-r.md
  • 2015-03-19-26salon.md
  • 2015-03-21-using-r-to-search-for-your-partner.md
  • 2015-03-22-the-big-data-of-medicine1.md
  • 2015-03-23-the-big-data-of-medicine2.md

邓金涛

  • 2015-03-26-song-poem-1.md
  • 2015-03-29-let-us-talk-about-statistics.md
  • 2015-04-07-8th-r-conference-guangzhou.md
  • 2015-04-09-8th-r-conference-xian.md
  • 2015-04-10-interview-of-chutingjin.md
  • 2015-04-13-27salon.md
  • 2015-04-15-talking-about-r-software.md
  • 2015-04-22-spark-beginner-1.md
  • 2015-05-12-28salon.md
  • 2015-05-12-data-verb.md
  • 2015-05-17-a-statistical-view-of-deep-learning-i-recursive-glms.md
  • 2015-05-17-talking-about-chinese-stock-market-in-the-view-of-the-data.md
  • 2015-05-21-the-data-wisdom-for-data-science.md
  • 2015-05-24-a-statistical-view-of-deep-learning-ii-auto-encoders-and-free-energy.md
  • 2015-06-03-china-r-guangzhou.md
  • 2015-06-09-generating-normal-distr-variates.md
  • 2015-06-15-8th-china-r-beijing-summary.md
  • 2015-06-25-a-statistical-view-of-deep-learning-iii-memory-and-kernels.md
  • 2015-06-28-interview-of-tianqi.md

成慧敏

  • 2015-07-20-years-as-a-data-scientist.md
  • 2015-07-28-29salon.md
  • 2015-08-03-top-10-data-mining-algorithms.md
  • 2015-08-25-a-brief-description-of-the-method-and-the-algorithm-of-the-lfda-package.md
  • 2015-08-31-some-basic-ideas-and-methods-of-model-selection.md
  • 2015-08-31-why-do-we-do-research.md
  • 2015-09-11-tips-for-presenting-your-work.md
  • 2015-09-13-wind_in_chinese_stat.md
  • 2015-09-17-2015nanchangr.md
  • 2015-09-21-hadley-wickham-the-man-who-revolutionized-r.md
  • 2015-09-23-20150920salon.md
  • 2015-09-29-interview-of-zhangzhihua.md
  • 2015-10-02-choice-of-statistical-development-direction.md
  • 2015-10-14-one-of-bear-reportsocial-network-data-analysis-and-application.md
  • 2015-10-15-8th-r-conference-wuhan.md
  • 2015-11-04-flooding-and-deletions-personal-credit-vs-credit-scoring-error-assessment.md
  • 2015-11-06-20151031salon.md
  • 2015-11-09-2015shanghair.md
  • 2015-11-10-20151108salon.md
  • 2015-11-24-ggfortify-visualization-in-one-line-of-code.md
  • 2015-11-29-8th-china-r-nanchang-summary.md
  • 2015-11-30-to-achieve-the-visualization-and-annotation-of-evolutionary-tree-using-ggtree.md
  • 2015-12-16-20151212salon.md
  • 2015-12-16-8th-china-r-shanghai-summary.md
  • 2015-12-20-20151219salon.md
  • 2015-12-25-8th-china-r-wuhan-summary.md

吴佳萍(原地待命)

闫施

  • 2016-01-03-interview-of-xieyihui.md
  • 2016-01-07-intro-to-chinese-nlp.md
  • 2016-01-10-seamless-r-and-c-integration-with-rcpp.md
  • 2016-01-20-20160110salon.md
  • 2016-01-23-20160109salon.md
  • 2016-01-30-fast-normal-cdf.md
  • 2016-02-05-cos-interview-21-jianjun-shi.md
  • 2016-03-08-asa-statement-on-p-value.md
  • 2016-04-03-deep-learning.md
  • 2016-04-07-mxnet-r.md
  • 2016-04-17-famous-sayings.md

李宇轩

  • 2016-05-01-weekly-digest-machine-learning.md
  • 2016-05-03-20160417salon.md
  • 2016-05-09-seminar-on-biomedical-data-analysis-methods.md
  • 2016-05-12-china-r-bj2016.md
  • 2016-05-19-sem-data-optimization-strategy.md
  • 2016-05-22-machine-learning-user-high-figure.md
  • 2016-05-23-analysis-of-a-smart-phone-application-listed-new-marketing-strategies.md
  • 2016-05-24-cos10-anniversery-yihui.md

王佳

  • 2016-05-24-credit-scoring-model-in-internet-credit-reporting.md
  • 2016-05-24-driving-action-date-ubi-model.md
  • 2016-05-24-talking-about-ugly-picture-1.md
  • 2016-05-24-weather-driven-industry-sales-big-data.md
  • 2016-05-26-e-commerce-customer-reviews-hot-topic-analysis.md
  • 2016-05-27-search-sequence-see-high-end-business-cars.md
  • 2016-05-31-value-of-the-reputation-from-the-data.md
  • 2016-06-04-five-useful-regression-models.md
  • 2016-06-05-using-r-for-interactive-data-visualization.md
  • 2016-06-10-9th-china-r-beijing-summary.md
  • 2016-06-14-2016-big-data-workshop.md
  • 2016-06-16-use-shiny-fleetly-set-up-visual-prototype-system.md
  • 2016-06-18-zhang-wuji.md
  • 2016-06-23-machine-learning-statistics-and-computation.md
  • 2016-06-24-discussion-of-sparse-coding-in-deep-learning.md
  • 2016-06-29-introduction-to-remap.md (郎大为认领)

王小宁(原地待命)

侯澄钧

  • 2016-07-02-statistics-on-article-titles.md
  • 2016-07-03-investing-returns-on-s-and-p-500.md
  • 2016-07-08-r-symbol-calculate.md
  • 2016-07-25-rong360.md
  • 2016-07-26-ten_simple.md
  • 2016-07-30-9th-r-conference-chengdu.md
  • 2016-08-01-data-science-in-itfin.md
  • 2016-08-04-chinese-medicine-western-medicine-statistics.md

郎大为

  • 2016-08-10-wordcloud2.md (郎大为认领)
  • 2016-08-17-9th-r-conference-hangzhou.md
  • 2016-08-18-the-ambassadors.md
  • 2016-09-01-why-im-not-a-fan-of-r-squared.md
  • 2016-09-05-9th-r-conference-xiamen.md
  • 2016-09-08-r-and-parallel-computing.md
  • 2016-10-06-python-seven-weapons.md
  • 2016-10-10-data-mining-1-lasso.md (侯澄钧认领)
  • 2016-10-23-9th-r-conference-guangzhou.md
  • 2016-11-03-china-r-2016guizhou.md
  • 2016-11-07-cos-salon-bj-39.md
  • 2016-11-09-china-r-2016wuhan.md
  • 2016-11-13-interview-j-j-allaire.md
  • 2016-11-21-interview-feng-li.md
  • 2016-11-23-conjugate-gradient-for-regression.md
  • 2016-11-25-interview-jianxin-yin.md
  • 2016-11-28-discussion-about-ratio-metric.md

雷博文

  • 2016-12-02-a-conversaton-with-leo-breiman.md
  • 2016-12-05-three-pictures-date-value.md
  • 2016-12-13-cos-interview-24-shaojun-guo.md
  • 2016-12-18-20161210salon.md
  • 2016-12-19-cos-interview-25-dong-li.md
  • 2016-12-30-portfolio-optimization-1.md
  • 2017-01-11-cos-interview-26-kouqiang.md
  • 2017-01-13-deep-mining-users-r.md
  • 2017-01-16-learning-to-rank.md
  • 2017-02-13-a-new-r-markdown-ppt-tool.md
  • 2017-03-15-air-quality-visualization.md (郎大为认领)

张晔

  • about.md
  • books.md
  • chinar.md
  • donate.md
  • salon.md
  • training.md
  • videos.md
  • videos/chinar-4th-bj-lijian-r-in-enterprise.md
  • videos/chinar-4th-bj-wuxizhi.md
  • videos/intro-2-r.md
  • videos/intro-to-rhadoop-1.md
  • videos/intro-to-rhadoop-2-mapreduce.md
  • videos/intro-to-rhadoop-3-demo.md
  • videos/intro-to-rhadoop-4-discuss.md
  • videos/intro-to-rhadoop.md
  • videos/r101-data-access.md
  • videos/r101-data-visualization-with-r.md
  • videos/r101-plyr.md
  • videos/r101-regression.md
  • training/open-data.md
  • training/r.md
  • training/tableau.md
  • chinar/chinar-2008.md
  • chinar/chinar-2009.md
  • chinar/chinar-2010.md
  • chinar/chinar-2011.md
  • chinar/chinar-2012.md
  • chinar/chinar-2013.md

去掉链接中的域名部分

例如 https://cos.name/2008/12/p-value/ 可以批量替换为 /2008/12/p-value/。这样网页就不会受限于特定域名,搬到任何域名下都可用(包括本地 127.0.0.1 预览)。

首页各文章标题展开样式优化

现在的情况是,长标题用了省略号,把鼠标移动上去时候自动展开。问题在于,展开的幅度很小,页面微微地摇晃,给人(我)带来晕船的微妙摇晃感觉。

强烈请求优化这个问题。。

issue 作以记录。

添加文章评论链接

因为多说垮掉了,Disqus 墙掉了,我们计划把主站文章评论引入到论坛。轩哥已经做好了数据库和论坛准备工作,现在主站方面就差一个地方插入评论链接(可以是个大按钮),链到论坛帖子上。在具体实现上,我想就用一个 YAML 变量吧,比如 comment_id: 12345,Hugo 模板里用 {{ with .Params.comment_id }}https://d.cosx.org/d/{{ . }}{{ end }} 写出链接。

搜索方案

一个可能的办法是以 Github 为中间人,在客户端浏览器中发送 GET 请求:

https://developer.github.com/v3/search/#search-code

例:

$.getJSON('https://api.github.com/search/code?q=微博+in:file+language:md+repo:cosname/cosx.org')

得到所有 Markdown 文件路径,把这些路径转换为 cosx.org 的 URL 显示出来。

不过只能用 $.ajax() 而不能用 $.getJSON(),因为需要设置一个头字段 Accept: application/vnd.github.v3.text-match+json 才能返回文本结果(如何设置)。

没有验证的 API 请求的限制是一分钟最多10次(按 IP 计算),差不多应该也够了。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.