自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(2)
  • 资源 (39)
  • 收藏
  • 关注

原创 [convex hall] ZOJ 1518 This Sentence is False

<br /><br />题目是说有n个句子(编号为1-n),每句格式为Sentence x is true(false).<br />然后判断这些句子是否是一致的,如果不一致,输出Inconsistent<br />否则输出为句子为真的最大个数<br /><br />做法(参考呆滞的慢板的提示)是若第x句为Sentence y is true则x,y之间连同色边<br />否则连异色边<br />n句都读完后,对顶点dfs着色,如果xy之间连同色边,则x,y着同色,否则异色<br />如果着色发

2010-10-23 20:02:00 476

原创 [cut point] ZOJ 1119 SPF

<br />求割点及其分割的连通图数目<br /> <br />#include<cstdio>#include<vector>#include<memory>using namespace std;const int MaxN = 500;const int root = 1;vector<int>v[MaxN];int a[MaxN];int D[MaxN];int cut[MaxN];int c[MaxN];void dfs(int k, int

2010-06-20 00:47:00 399

Linux命令行大全

Linux命令行大全 第一部分 学习shell 第1章 shell是什么 3 1.1 终端仿真器 3 1.2 第一次键盘输入 4 1.2.1 命令历史记录 4 1.2.2 光标移动 4 1.3 几个简单的命令 5 1.4 结束终端会话 6 第2章 导航 7 2.1 理解文件系统树 7 2.2 当前工作目录 8 2.3 列出目录内容 9 2.4 更改当前工作目录 9 2.4.1 绝对路径名 9 2.4.2 相对路径名 9 2.4.3 一些有用的快捷方式 10 第3章 linux系统 13 3.1 ls命令的乐趣 13 3.1.1 选项和参数 14 .3.1.2 进一步了解长列表格式 15 3.2 使用file命令确定文件类型 16 3.3 使用less命令查看文件内容 16 3.4 快速浏览 18 3.5 符号链接 20 第4章 操作文件与目录 23 4.1 通配符 24 4.2 mkdir——创建目录 26 4.3 cp——复制文件和目录 26 4.4 mv——移除和重命名文件 27 4.5 rm——删除文件和目录 28 4.6 ln——创建链接 29 4.6.1 硬链接 29 4.6.2 符号链接 30 4.7 实战演练 30 4.7.1 创建目录 30 4.7.2 复制文件 31 4.7.3 移动和重命名文件 31 4.7.4 创建硬链接 32 4.7.5 创建符号链接 33 4.7.6 移除文件和目录 34 4.8 本章结尾语 35 第5章 命令的使用 37 5.1 究竟什么是命令 38 5.2 识别命令 38 5.2.1 type——显示命令的类型 38 5.2.2 which——显示可执行程序的位置 39 5.3 获得命令文档 39 5.3.1 help——获得shell内置命令的帮助文档 39 5.3.2 help——显示命令的使用信息 40 5.3.3 man——显示程序的手册页 40 5.3.4 apropos——显示合适的命令 41 5.3.5 whatis——显示命令的简要描述 42 5.3.6 info——显示程序的info条目 42 5.3.7 readme和其他程序文档文件 43 5.4 使用别名创建自己的命令 43 5.5 温故以求新 45 第6章 重定向 47 6.1 标准输入、标准输出和标准错误 48 6.1.1 标准输出重定向 48 6.1.2 标准错误重定向 50 6.1.3 将标准输出和标准错误重定向到同一个文件 50 6.1.4 处理不想要的输出 51 6.1.5 标准输入重定向 51 6.2 管道 53 6.2.1 过滤器 53 6.2.2 uniq——报告或忽略文件中重复的行 54 6.2.3 wc——打印行数、字数和字节数 54 6.2.4 grep——打印匹配行 54 6.2.5 head/tail——输出文件的开头部分/结尾部分 55 6.2.6 tee——从stdin读取数据,并同时输出到stdout和文件 56 6.3 本章结尾语 57 第7章 透过shell看世界 59 7.1 扩展 59 7.1.1 路径名扩展 60 7.1.2 波浪线扩展 61 7.1.3 算术扩展 61 7.1.4 花括号扩展 62 7.1.5 参数扩展 63 7.1.6 命令替换 64 7.2 引用 65 7.2.1 双引号 65 7.2.2 单引号 67 7.2.3 转义字符 67 7.3 本章结尾语 68 第8章 高级键盘技巧 69 8.1 编辑命令行 69 8.1.1 光标移动 70 8.1.2 修改文本 70 8.1.3 剪切和粘贴(killing and yanking)文本 71 8.2 自动补齐功能 71 8.3 使用历史命令 73 8.3.1 搜索历史命令 73 8.3.2 历史记录扩展 75 8.4 本章结尾语 76 第9章 权限 77 9.1 所有者、组成员和其他所有用户 78 9.2 读取、写入和执行 79 9.2.1 chmod——更改文件模式 81 9.2.2 采用gui设置文件模式 84 9.2.3 umask——设置默认权限 85 9.3 更改身份 87 9.3.1 su——以其他用户和组id的身份来运行shell 88 9.3.2 sudo——以另一个用户的身份执行命令 89 9.3.3 chown——更改文件所有者和所属群组 90 9.3.4 chgrp——更改文件所属群组 91 9.4 权限的使用 91 9.5 更改用户密码 93 第10章 进程 95 10.1 进程如何工作 96 10.1.1 使用ps命令查看进程信息 96 10.1.2 使用top命令动态查看进程信息 98 10.2 控制进程 100 10.2.1 中断进程 100 10.2.2 使进程在后台运行 101 10.2.3 使进程回到前台运行 101 10.2.4 停止(暂停)进程 102 10.3 信号 102 10.3.1 使用kill命令发送信号到进程 103 10.3.2 使用killall命令发送信号给多个进程 105 10.4 更多与进程相关的命令 105 第二部分 配置与环境 第11章 环境 109 11.1 环境中存储的是什么 109 11.1.1 检查环境 110 11.1.2 一些有趣的变量 111 11.2 环境是如何建立的 112 11.2.1 login和non-login shell 112 11.2.2 启动文件中有什么 113 11.3 修改环境 114 11.3.1 用户应当修改哪些文件 114 11.3.2 文本编辑器 115 11.3.3 使用文本编辑器 115 11.3.4 激活我们的修改 117 11.4 本章结尾语 118 第12章 vi简介 119 12.1 为什么要学习vi 119 12.2 vi背景 120 12.3 启动和退出vi 120 12.4 编辑模式 121 12.4.1 进入插入模式 122 12.4.2 保存工作 122 12.5 移动光标 123 12.6 基本编辑 124 12.6.1 添加文本 124 12.6.2 插入一行 125 12.6.3 删除文本 126 12.6.4 剪切、复制和粘贴文本 127 12.6.5 合并行 128 12.7 查找和替换 128 12.7.1 行内搜索 128 12.7.2 搜索整个文件 129 12.7.3 全局搜索和替换 129 12.8 编辑多个文件 130 12.8.1 切换文件 131 12.8.2 载入更多的文件 132 12.8.3 文件之间的内容复制 132 12.8.4 插入整个文件 133 12.9 保存工作 134 第13章 定制提示符 135 13.1 提示符的分解 135 13.2 尝试设计提示符 137 13.3 添加颜色 138 13.4 移动光标 140 13.5 保存提示符 141 13.6 本章结尾语 141 第三部分 常见任务和主要工具 第14章 软件包管理 145 14.1 软件包系统 146 14.2 软件包系统工作方式 146 14.2.1 软件包文件 146 14.2.2 库 147 14.2.3 依赖关系 147 14.2.4 高级和低级软件包工具 147 14.3 常见软件包管理任务 148 14.3.1 在库里面查找软件包 148 14.3.2 安装库中的软件包 148 14.3.3 安装软件包文件中的软件包 149 14.3.4 删除软件包 149 14.3.5 更新库中的软件包 150 14.3.6 更新软件包文件中的软件包 150 14.3.7 列出已安装的软件包列表 150 14.3.8 判断软件包是否安装 151 14.3.9 显示已安装软件包的相关信息 151 14.3.10 查看某具体文件由哪个软件包安装得到 151 14.4 本章结尾语 152 第15章 存储介质 155 15.1 挂载、卸载存储设备 156 15.1.1 查看已挂载的文件系统列表 157 15.1.2 确定设备名称 160 15.2 创建新的文件系统 162 15.2.1 用fdisk命令进行磁盘分区 162 15.2.2 用mkfs命令创建新的文件系统 164 15.3 测试、修复文件系统 165 15.4 格式化软盘 166 15.5 直接从/向设备转移数据 166 15.6 创建cd-rom映像 167 15.6.1 创建一个cd-rom文件映像副本 167 15.6.2 从文件集合中创建映像文件 168 15.7 向cd-rom写入映像文件 168 15.7.1 直接挂载iso映像文件 168 15.7.2 擦除可读写cd-rom 169 15.7.3 写入映像文件 169 15.8 附加认证 169 第16章 网络 171 16.1 检查、监测网络 172 16.1.1 ping——向网络主机发送特殊数据包 172 16.1.2 traceroute——跟踪网络数据包的传输路径 173 16.1.3 netstat——检查网络设置及相关统计数据 174 16.2 通过网络传输文件 175 16.2.1 ftp——采用ftp(文件传输协议)传输文件 175 16.2.2 lftp——更好的ftp(文件传输协议) 177 16.2.3 wget——非交互式网络下载工具 177 16.3 与远程主机的安全通信 178 16.3.1 ssh——安全登录远程计算机 178 16.3.2 scp和sftp——安全传输文件 181 第17章 文件搜索 183 17.1 locate——较简单的方式查找文件 184 17.2 find——较复杂的方式查找文件 185 17.2.1 test选项 186 17.2.2 action选项 190 17.2.3 返回到playground文件夹 194 17.2.4 option选项 196 第18章 归档和备份 197 18.1 文件压缩 198 18.1.1 gzip——文件压缩与解压缩 198 18.1.2 bzip2——牺牲速度以换取高质量的数据压缩 200 18.2 文件归档 201 18.2.1 tar——磁带归档工具 201 18.2.2 zip——打包压缩文件 205 18.3 同步文件和目录 207 18.3.1 rsync——远程文件、目录的同步 207 18.3.2 在网络上使用rsync命令 209 第19章 正则表达式 211 19.1 什么是正则表达式 211 19.2 grep——文本搜索 212 19.3 元字符和文字 213 19.4 任意字符 214 19.5 锚 214 19.6 中括号表达式和字符类 215 19.6.1 否定 216 19.6.2 传统字符范围 216 19.6.3 posix字符类 217 19.7  posix基本正则表达式和扩展正则表达式的比较 220 19.8 或选项 221 19.9 限定符 222 19.9.1 ?——匹配某元素0次或1次 222 19.9.2 *——匹配某元素多次或零次 222 19.9.3 +——匹配某元素一次或多次 223 19.9.4 {}——以指定次数匹配某元素 223 19.10 正则表达式的应用 224 19.10.1 用grep命令验证号码簿 224 19.10.2 用find查找奇怪文件名的文件 225 19.10.3 用locate查找文件 226 19.10.4 利用less和vim命令搜索文本 226 19.11 本章结尾语 227 第20章 文本处理 229 20.1 文本应用程序 230 20.1.1 文件 230 20.1.2 网页 230 20.1.3 电子邮件 230 20.1.4 打印机输出 231 20.1.5 程序源代码 231 20.2 温故以求新 231 20.2.1 cat——进行文件之间的拼接并且输出到标准输出 231 20.2.2 sort——对文本行进行排序 232 20.2.3 uniq——通知或省略重复的行 238 20.3 切片和切块 239 20.3.1 cut——删除文本行中的部分内容 239 20.3.2 paste——合并文本行 242 20.3.3 join——连接两文件中具有相同字段的行 243 20.4 文本比较 245 20.4.1 comm——逐行比较两个已排序文件 245 20.4.2 diff——逐行比较文件 246 20.4.3 patch——对原文件进行diff操作 248 20.5 非交互式文本编辑 249 20.5.1 tr——替换或删除字符 249 20.5.2 sed——用于文本过滤和转换的流编辑器 251 20.5.3 aspell——交互式拼写检查工具 258 20.6 本章结尾语 260 20.7 附加项 261 第21章 格式化输出 263 21.1 简单的格式化工具 264 21.1.1 nl——对行进行标号 264 21.1.2 fold——将文本中的行长度设定为指定长度 266 21.1.3 fmt——简单的文本格式化工具 267 21.1.4 pr——格式化打印文本 270 21.1.5 printf——格式化并打印数据 270 21.2 文档格式化系统 273 21.2.1 roff和tex家族 274 21.2.2 groff——文档格式化系统 274 21.3 本章结尾语 279 第22章 打印 281 22.1 打印操作简史 282 22.1.1 灰暗时期的打印 282 22.1.2 基于字符的打印机 282 22.1.3 图形化打印机 283 22.2 linux方式的打印 284 22.3 准备打印文件 284 22.3.1 pr——将文本文件转换为打印文件 285 22.4 向打印机发送打印任务 285 22.4.1 lpr——打印文件(berkeley类型) 286 22.4.2 lp——打印文件(system v类型) 287 22.4.3 另外一个参数选项:a2ps 287 22.5 监测和控制打印任务 290 22.5.1 lpstat——显示打印系统状态 290 22.5.2 lpq——显示打印队列状态 291 22.5.3 lprm与cancel——删除打印任务 291 第23章 编译程序 293 23.1 什么是编译 294 23.2 是不是所有的程序都需要编译 295 23.3 编译一个c程序 295 23.3.1 获取源代码 296 23.3.2 检查源代码树 297 23.3.3 生成程序 298 23.3.4 安装程序 302 23.4 本章结尾语 302 第四部分 编写shell脚本 第24章 编写第一个shell脚本 305 24.1 什么是shell脚本 305 24.2 怎样写shell脚本 306 24.2.1 脚本文件的格式 306 24.2.2 可执行权限 307 24.2.3 脚本文件的位置 307 24.2.4 脚本的理想位置 308 24.3 更多的格式诀窍 309 24.3.1 长选项名 309 24.3.2 缩进和行连接 309 24.5 本章结尾语 310 第25章 启动一个项目 311 25.1 第一阶段:最小的文档 311 25.2 第二阶段:加入一点数据 313 25.3 变量和常量 314 25.3.1 创建变量和常量 314 25.3.2 为变量和常量赋值 316 25.4  here文档 317 25.5 本章结尾语 319 第26章 自顶向下设计 321 26.1 shell函数 322 26.2 局部变量 325 26.3 保持脚本的运行 326 26.4 本章结尾语 328 第27章 流控制:if分支语句 329 27.1 使用if 330 27.2 退出状态 330 27.3 使用test命令 332 27.3.1 文件表达式 332 27.3.2 字符串表达式 334 27.3.3 整数表达式 335 27.4 更现代的test命令版本 336 27.5 (( ))——为整数设计 338 27.6 组合表达式 339 27.7 控制运算符:另一种方式的分支 341 27.8 本章结尾语 342 第28章 读取键盘输入 343 28.1 read——从标准输入读取输入值 344 28.1.1 选项 346 28.1.2 使用ifs间隔输入字段 347 28.2 验证输入 349 28.3 菜单 350 28.4 本章结尾语 351 28.5 附加项 352 第29章 流控制:while和until循环 353 29.1 循环 353 29.2 while 354 29.3 跳出循环 356 29.4 until 357 29.5 使用循环读取文件 358 29.6 本章结尾语 358 第30章 故障诊断 359 30.1 语法错误 359 30.1.1 引号缺失 360 30.1.2 符号缺失冗余 360 30.1.3 非预期的展开 361 30.2 逻辑错误 362 30.2.1 防御编程 363 30.2.2 输入值验证 364 30.3 测试 364 30.3.1 桩 365 30.3.2 测试用例 365 30.4 调试 366 30.4.1 找到问题域 366 30.4.2 追踪 366 30.4.3 运行过程中变量的检验 368 30.5 本章结尾语 369 第31章 流控制:case分支 371 31.1 case 371 31.1.1 模式 373 31.1.2 多个模式的组合 374 31.2 本章结尾语 375 第32章 位置参数 377 32.1 访问命令行 377 32.1.1 确定实参的数目 378 32.1.2 shift——处理大量的实参 379 32.1.3 简单的应用程序 380 32.1.4 在shell函数中使用位置参数 381 32.2 处理多个位置参数 381 32.3 更完整的应用程序 383 32.4 本章结尾语 386 第33章 流控制:for循环 389 33.1 for:传统shell形式 389 33.2 for:c语言形式 392 33.3 本章结尾语 393 第34章 字符串和数字 395 34.1 参数扩展(parameter expansion) 395 34.1.1 基本参数 396 34.1.2 空变量扩展的管理 396 34.1.3 返回变量名的扩展 397 34.1.4 字符串操作 398 34.2 算术计算和扩展 400 34.2.1 数字进制 401 34.2.2 一元运算符 401 34.2.3 简单算术 401 34.2.4 赋值 402 34.2.5 位操作 404 34.2.6 逻辑操作 405 34.3 bc:一种任意精度计算语言 407 34.3.1 bc的使用 407 34.3.2 脚本例子 408 34.4 本章结尾语 409 34.5 附加项 409 第35章 数组 411 35.1 什么是数组 411 35.2 创建一个数组 412 35.3 数组赋值 412 35.4 访问数组元素 413 35.5 数组操作 414 35.5.1 输出数组的所有内容 415 35.5.2 确定数组元素的数目 415 35.5.3 查找数组中使用的下标 416 35.5.4 在数组的结尾增加元素 416 35.5.5 数组排序操作 416 35.5.6 数组的删除 417 35.6 本章结尾语 418 第36章 其他命令 419 36.1 组命令和子shell 419 36.1.1 执行重定向 420 36.1.2 进程替换 420 36.2 trap 422 36.3 异步执行 425 36.4 命名管道 426 36.4.1 设置命名管道 427 36.4.2 使用命名管道 427 36.5 本章结尾语 428

2014-10-17

Algorithms -- A Functional Programming Approach 2nd Edition

函数式编程实现通用算法。本书使用Haskell来做例子。 涉及基本的数据结构如队列,栈,堆等,及基本的排序,图,动态规划算法。

2014-10-14

Pearls-of-Functional-Algorithm-Design

Pearls of Functional Algorithm Design 使用函数式编程思想如何去思考和设计算法

2014-10-14

计算机程序设计艺术.第4卷.第4册.(双语版)生成所有树组合生成和历史

计算机程序设计艺术.第4卷.第4册.(双语版)生成所有树组合生成和历史

2014-10-02

计算机程序设计艺术.第4卷·第2册(双语版)-生成所有元组和排列

计算机程序设计艺术.第4卷·第2册(双语版)-生成所有元组和排列

2014-10-02

计算机程序设计艺术:第4卷.第0册(双语版)组合算法与布尔函数概论

计算机程序设计艺术:第4卷.第0册(双语版)组合算法与布尔函数概论

2014-10-02

LaTeX入门 电子工业出版社

LaTeX 已经成为国际上数学、物理、计算机等科技领域专业排版的实际标准,其他领域(化学、生物、工程、语言学等)也有大量用户。本书内容取材广泛,涵盖了正文组织、自动化工具、数学公式、图表制作、幻灯片演示、错误处理等方面。考虑到LaTeX 也是不断进化的,本书从数以千计的LaTeX 工具宏包中进行甄选,选择较新而且实用的版本来讲解排版技巧。">LaTeX 已经成为国际上数学、物理、计算机等科技领域专业排版的实际标准,其他领域(化学、生物、工程、语言学等)也有大量用户。本书内容取材广泛,涵盖了正文组织、自动化工具、数学公式、图表制作、幻灯片演示、错误 [更多]

2014-10-01

Just For Fun(中文版)

本书是Linux之父Linus Torvalds的自传。 Linux之父Linus Torvalds的自传,也是Linus唯一一本书。Linus以调侃的语气讲述了自己的成长经历,在他看来,一切都是为了好玩儿,兴趣引发革命。书中内容共分为五章,一部分是Linus自己写的,一部分是合著者David Diamond的评论。

2014-09-27

An Introduction to Programming with Mathematica

An Introduction to Programming with Mathematica

2014-09-27

Algorithms, 4th edition

Algorithms, 4th edition, 英文版 pdf。

2014-09-22

The Way to Go

The Way to Go 英文版pdf。关于golang的不错的书籍。

2014-09-05

The Haskell Road to Logic Maths and Programming

The Haskell Road to Logic Maths and Programming英文版pdf。主要阐述如何使用Haskell的特性去实现数学和逻辑的一些命题的推导证明。

2014-09-05

Real World Haskell

real world haskell英文版pdf,也可以到http://book.realworldhaskell.org/在线浏览。和LYAHFGG一样都是很好的haskell资源。

2014-09-05

Purely Functional Data Structures

Purely Functional Data Structures.作者后来进行扩展后的版本,最后添加了Haskell源码。

2014-09-05

ACM/ICPC World Final 2011

ICPC/ACM world final试题。 本次比赛ArcOfDream@ZJU夺冠。

2011-06-07

Heros in my heart

北大的作品 喜欢数学的不喜欢数学的都应该读一读

2010-07-16

ms-dos命令大全

虽然Windows已占据了我们的现在,但dos仍有他的强大优势,用命令行的形式可以更快的,更深入的操作。

2010-03-05

Clean Architecture A Craftsman's Guide to Software Structure and Design

Practical Software Architecture Solutions from the Legendary Robert C. Martin (“Uncle Bob”) By applying universal rules of software architecture, you can dramatically improve developer productivity throughout the life of any software system. Now, building upon the success of his best-selling books Clean Code and The Clean Coder, legendary software craftsman Robert C. Martin (“Uncle Bob”) reveals those rules and helps you apply them. Martin’s Clean Architecture doesn’t merely present options. Drawing on over a half-century of experience in software environments of every imaginable type, Martin tells you what choices to make and why they are critical to your success. As you’ve come to expect from Uncle Bob, this book is packed with direct, no-nonsense solutions for the real challenges you’ll face—the ones that will make or break your projects. Learn what software architects need to achieve—and core disciplines and practices for achieving it Master essential software design principles for addressing function, component separation, and data management See how programming paradigms impose discipline by restricting what developers can do Understand what’s critically important and what’s merely a “detail” Implement optimal, high-level structures for web, database, thick-client, console, and embedded applications Define appropriate boundaries and layers, and organize components and services See why designs and architectures go wrong, and how to prevent (or fix) these failures Clean Architecture is essential reading for every current or aspiring software architect, systems analyst, system designer, and software manager—and for every programmer who must execute someone else’s designs. Register your product at informit.com/register for convenient access to downloads, updates, and/or corrections as they become available.

2017-12-18

Designing Data-Intensive Applications

Data is at the center of many challenges in system design today. Difficult issues need to be figured out, such as scalability, consistency, reliability, efficiency, and maintainability. In addition, we have an overwhelming variety of tools, including relational databases, NoSQL datastores, stream or batch processors, and message brokers. What are the right choices for your application? How do you make sense of all these buzzwords?, In this practical and comprehensive guide, author Martin Kleppmann helps you navigate this diverse landscape by examining the pros and cons of various technologies for processing and storing data. Software keeps changing, but the fundamental principles remain the same. With this book, software engineers and architects will learn how to apply those ideas in practice, and how to make full use of data in modern applications., Peer under the hood of the systems you already use, and learn how to use and operate them more effectively, Make informed decisions by identifying the strengths and weaknesses of different tools, Navigate the trade-offs around consistency, scalability, fault tolerance, and complexity, Understand the distributed systems research upon which modern databases are built, Peek behind the scenes of major online services, and learn from their architectures

2017-12-18

From Mathematics to Generic Programming

这是一本内容丰富而又通俗易懂的书籍,由优秀的软件设计师 Alexander A. Stepanov 与其同事 Daniel E. Rose 所撰写。作者在书中解释泛型编程的原则及其所依据的抽象数学概念,以帮助你写出简洁而强大的代码。

2017-12-01

Programmer's Guide to NCURSES

Programming the console in UNIX Here's just what you need. First, you'll get a no-nonsense tutorial guide to the nCurses version 5.5 library, taking you from basic to advanced functions step by step. Then you'll find an A-to-Z reference of more than 175 nCurses functions, cross-referenced and illustrated with examples. With this all-purpose nCurses reference, you?ll: Learn techniques that can be used to program Linux®, FreeBSD®, Mac OS® X, or any other UNIX-based OS. Program, control, and manipulate text on the terminal screen. Control interactive I/O, organize content into windows on the screen, and use color to highlight text and organize information. Use a mouse to further refine input. Create nCurses programs using your choice of editors. Find hundreds of quick, easy-to-understand programming examples. Author Dan Gookin is known for making technology make sense. Buy this book and you'll see why.

2017-03-16

lisp in small pieces pdf

This is a comprehensive account of the semantics and the implementation of the whole Lisp family of languages, namely Lisp, Scheme and related dialects. It describes 11 interpreters and 2 compilers, including very recent techniques of interpretation and compilation. The book is in two parts. The first starts from a simple evaluation function and enriches it with multiple name spaces, continuations and side-effects with commented variants, while at the same time the language used to define these features is reduced to a simple lambda-calculus. Denotational semantics is then naturally introduced. The second part focuses more on implementation techniques and discusses precompilation for fast interpretation: threaded code or bytecode; compilation towards C. Some extensions are also described such as dynamic evaluation, reflection, macros and objects. This will become the new standard reference for people wanting to know more about the Lisp family of languages: how they work, how they are implemented, what their variants are and why such variants exist. The full code is supplied (and also available over the Net). A large bibliography is given as well as a considerable number of exercises. Thus it may also be used by students to accompany second courses on Lisp or Scheme.

2015-11-06

algorithms on strings.pdf

This text and reference on string processes and pattern matching presents examples related to the automatic processing of natural language, to the analysis of molecular sequences and to the management of textual databases. Algorithms are described in a C-like language, with correctness proofs and complexity analysis, to make them ready to implement. The book will be an important resource for students and researchers in theoretical computer science, computational linguistics, computational biology, and software engineering.

2015-07-02

Jewels.of.Stringology.PDF

The term "stringology" is a popular nickname for text algorithms, or algorithms on strings. This book deals with the most basic algorithms in the area. Most of them can be viewed as "algorithmic jewels" and deserve reader-friendly presentation. One of the main aims of the book is to present several of the most celebrated algorithms in a simple way by omitting obscuring details and separating algorithmic structure from combinatorial theoretical background. The book reflects the relationships between applications of text-algorithmic techniques and the classification of algorithms according to the measures of complexity considered. The text can be viewed as a parade of algorithms in which the main purpose is to discuss the foundations of the algorithms and their interconnections. One can partition the algorithmic problems discussed into practical and theoretical problems. Certainly, string matching and data compression are in the former class, while most problems related to symmetries and repetitions in texts are in the latter. However, all the problems are interesting from an algorithmic point of view and enable the reader to appreciate the importance of combinatorics on words as a tool in the design of efficient text algorithms.In most textbooks on algorithms and data structures, the presentation of efficient algorithms on words is quite short as compared to issues in graph theory, sorting, searching, and some other areas. At the same time, there are many presentations of interesting algorithms on words accessible only in journals and in a form directed mainly at specialists. This book fills the gap in the book literature on algorithms on words, and brings together the many resultspresently dispersed in the masses of journal articles. The presentation is reader-friendly; many examples and about two hundred figures illustrate nicely the behaviour of otherwise very complex algorithms.

2015-07-02

Jewels of Stringology

The term "stringology" is a popular nickname for text algorithms, or algorithms on strings. This book deals with the most basic algorithms in the area. Most of them can be viewed as "algorithmic jewels" and deserve reader-friendly presentation. One of the main aims of the book is to present several of the most celebrated algorithms in a simple way by omitting obscuring details and separating algorithmic structure from combinatorial theoretical background. The book reflects the relationships between applications of text-algorithmic techniques and the classification of algorithms according to the measures of complexity considered. The text can be viewed as a parade of algorithms in which the main purpose is to discuss the foundations of the algorithms and their interconnections. One can partition the algorithmic problems discussed into practical and theoretical problems. Certainly, string matching and data compression are in the former class, while most problems related to symmetries and repetitions in texts are in the latter. However, all the problems are interesting from an algorithmic point of view and enable the reader to appreciate the importance of combinatorics on words as a tool in the design of efficient text algorithms.In most textbooks on algorithms and data structures, the presentation of efficient algorithms on words is quite short as compared to issues in graph theory, sorting, searching, and some other areas. At the same time, there are many presentations of interesting algorithms on words accessible only in journals and in a form directed mainly at specialists. This book fills the gap in the book literature on algorithms on words, and brings together the many resultspresently dispersed in the masses of journal articles. The presentation is reader-friendly; many examples and about two hundred figures illustrate nicely the behaviour of otherwise very complex algorithms.

2015-07-02

Diestel Reinhard, Graph Theory, 4th edition

Diestel Reinhard, Graph Theory, Fourth Edition (Not 2012 Corrections)(4th Electronic Edition), Graduate Texts in Mathematics, Springer 2010 file format: djvu

2015-06-07

Getting started with Julia Programming Language

Getting_started_with_Julia_Programming_Language

2015-06-03

Getting_started_with_Julia_Programming_Language

Getting_started_with_Julia_Programming_Language julia lang

2015-06-03

haskell the craft of functional programming

haskell the craft of functional programming epub 格式 英文

2015-05-10

Git权威指南

Git权威指南,内容如标题 epub格式,适合移动端阅读

2015-03-28

ruby元编程第二版英文版

Dig under the surface and explore Ruby’s most advanced feature: a collection of techniques and tricks known as metaprogramming. In this book, you’ll learn metaprogramming as an essential component of Ruby and discover the deep, non-obvious details of the language. Once you understand the tenets of Ruby, including the object model, scopes, and singleton classes, you’re on your way to applying metaprogramming both in your daily work assignments and in your fun, after-hours projects.

2015-03-19

泛型编程与STL中文版

《泛型编程与STL》阐述了泛型编程的中心思想:concepts、modeling、refinement,并为你展示这些思想如何导出STL的基础概念:iterators、containers、functionobjects.循此路线,你可以把STL想像为一个由concepts组成的程序库。你将学习真正式结构并因此获得其潜在威力所带来的完整优势。

2014-11-27

Haskell 2010 Language Report

Haskell 2010 Language Report, Haskell2010的官方报告

2014-10-22

A Gentle Introduction to Haskell 98

A Gentle Introduction to Haskell 98 Haskell官网读物

2014-10-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除