Pentium.Labs

System全家桶:https://zhuanlan.zhihu.com/c_1238468913098731520

导航

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页

2019年5月20日 #

TiKV集群配置记录

摘要: 环境:两台ubuntu 18.04 pc tidb / pd: 192.168.1.150 tikv: 192.1681.1.151 主要参考https://pingcap.com/docs-cn/dev/how-to/deploy/orchestrated/ansible/ 有几点补充: 1. 配 阅读全文

posted @ 2019-05-20 11:05 Pentium.Labs 阅读(545) 评论(0) 推荐(0) 编辑

2019年4月10日 #

python实现异步调用函数

摘要: https://www.jianshu.com/p/b9b3d66aa0be https://blog.csdn.net/sinat_34461756/article/details/83866300 https://cloud.tencent.com/developer/article/11874 阅读全文

posted @ 2019-04-10 18:01 Pentium.Labs 阅读(1527) 评论(0) 推荐(0) 编辑

2019年3月22日 #

Notes on Operating System

摘要: 阅读全文

posted @ 2019-03-22 10:48 Pentium.Labs 阅读(297) 评论(0) 推荐(0) 编辑

2019年3月19日 #

openmp入门总结

摘要: Ref: https://wdxtub.com/2016/03/20/openmp-guide/ 简介 这门课作为 ECE 中少有的跟计算机科学相关的课,自然是必上不可。不过无论是 OpenMP 还是 CUDA,对于平时极少接触并行编程的我来说,都是十分吃力的,第一次作业的 OpenMP 编程已经让 阅读全文

posted @ 2019-03-19 15:35 Pentium.Labs 阅读(2044) 评论(0) 推荐(0) 编辑

2019年1月27日 #

二叉树/DFS总结

摘要: • 二叉树(Binary Tree)问题的考点剖析 • 第一类考察形态:求值,求路径类二叉树问题 • 第二类考察形态:结构变化类二叉树问题 • 第三类考察形态:二叉查找树(Binary Search Tree)类问题 • 非递归(Iteration)版本的中序遍历(Inorder Traversal 阅读全文

posted @ 2019-01-27 11:57 Pentium.Labs 阅读(545) 评论(0) 推荐(0) 编辑

2019年1月24日 #

Stanford CS20学习笔记

摘要: Lecture Note 2 Tensorboard P3 Data Structures P4 Math Operations P6 Data Types P7 tf native && python native tensorflow && numpy P9 Variables P10-14 v 阅读全文

posted @ 2019-01-24 20:55 Pentium.Labs 阅读(379) 评论(0) 推荐(0) 编辑

双指针总结

摘要: ps 狗家很喜欢考dp...... 同向双指针 同向双指针的问题,是指两根指针都从头出发,朝着同一个方向前进 O(N) eg: http://www.lintcode.com/problem/remove-duplicate-numbers-in-array/ http://www.lintcode 阅读全文

posted @ 2019-01-24 20:54 Pentium.Labs 阅读(329) 评论(0) 推荐(0) 编辑

2018年11月21日 #

推荐系统实践 读书笔记

摘要: 目录 Ch1 简介 1.1 实验方法 1.2 评价指标 1.2.1 用户满意度 1.2.2 预测准确率 Ch2 协同过滤(CF):通过分析用户的行为来推荐 (购买本商品的用户还购买了……) 2.1 基于用户的CF (UserCF) 对于用户U,找与其相似的用户A,把A喜欢的推荐给U 2.1.1 计算 阅读全文

posted @ 2018-11-21 15:02 Pentium.Labs 阅读(244) 评论(0) 推荐(0) 编辑

2018年8月26日 #

UnionFind问题总结

摘要: UnionFind就是acm中常用的并查集... 并查集常用操作 另外补充一下STL常用操作 相关问题: 547. Friend Circles 纯裸题噢... 1 class Solution { 2 public: 3 int root[210]; 4 bool v[210]; 5 6 void 阅读全文

posted @ 2018-08-26 12:54 Pentium.Labs 阅读(234) 评论(0) 推荐(0) 编辑

2018年8月8日 #

k-th smallest 问题总结

摘要: k-th smallest/biggest 问题大约有这几道: 可以看出,其实373 719 786是同一题,378 668是同一题 这种题大致有两种思路: 1. 用heap 关于堆的介绍网上有一大把......这里只划重点 堆是一种是一种特殊的完全二叉树,其中每个根节点一定比它的左、右儿子节点都大 阅读全文

posted @ 2018-08-08 01:22 Pentium.Labs 阅读(853) 评论(0) 推荐(0) 编辑

2017年1月24日 #

CUDA[4] sample program: matrix-vector multiplication

摘要: Use Compressed Sparse Row Format (CSR) to represent matrix 1 #include "cuda_runtime.h" 2 #include "device_launch_parameters.h" 3 #include "gputimer.h" 阅读全文

posted @ 2017-01-24 11:27 Pentium.Labs 阅读(303) 评论(0) 推荐(0) 编辑

2017年1月23日 #

CUDA[3] Samples for accessing shared/global memory

摘要: memory model: programming model: Source: Udacity Class CS344 阅读全文

posted @ 2017-01-23 18:25 Pentium.Labs 阅读(162) 评论(0) 推荐(0) 编辑

2017年1月18日 #

using python read/write HBase data

摘要: A. operations on Server side 1. ensure hadoop and hbase are working properly 2. install thrift: apt-get install thrift 3. download hbase source code p 阅读全文

posted @ 2017-01-18 10:45 Pentium.Labs 阅读(254) 评论(0) 推荐(0) 编辑

2017年1月7日 #

install docker on xubuntu

摘要: ref: https://docs.docker.com/engine/installation/linux/ubuntulinux/#/install-the-latest-version ps: if you want to use proxy in bash, type ref: http:/ 阅读全文

posted @ 2017-01-07 20:19 Pentium.Labs 阅读(164) 评论(0) 推荐(0) 编辑

2017年1月6日 #

install hadoop on xubuntu

摘要: 0. install xubuntu we recommend to set username as "hadoop" after installation, set user "hadoop" as administrator 打开/etc/sudoers文件 sudo gedit /etc/su 阅读全文

posted @ 2017-01-06 17:06 Pentium.Labs 阅读(267) 评论(0) 推荐(0) 编辑

2016年11月23日 #

install scrapy-redis on centos

摘要: wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm -ivh epel-release-6-8.noarch.rpm -replacefiles yum install redis -y 阅读全文

posted @ 2016-11-23 15:03 Pentium.Labs 阅读(191) 评论(0) 推荐(0) 编辑

2016年7月24日 #

源码编译安装postgresql

摘要: 依赖的库:libreadline-dev,zlib1g-dev 安装:下载解压源码包,然后 ./configure,make,make install即可。。 注意不能在root账户下跑server,要新建一个 ref:http://mingxinglai.com/cn/2014/03/compil 阅读全文

posted @ 2016-07-24 19:08 Pentium.Labs 阅读(196) 评论(0) 推荐(0) 编辑

2016年5月24日 #

[转]数据科学家能力发展路线图

摘要: 一个Data Mad Scientist的技能树:左手是system,右手是statistic statistic估计要到ms才有机会系统学习一遍,目前只能先补左手了。。。 Source:人大经济论坛 阅读全文

posted @ 2016-05-24 11:31 Pentium.Labs 阅读(812) 评论(0) 推荐(0) 编辑

2016年4月27日 #

[个人论文]一种基于GPU并行计算的MD5密码解密方法

摘要: 求轻喷。。。 【顺便get一份LaTeX论文模板。。。。还是XeLaTex好用。珍爱生命远离CJK http://files.cnblogs.com/files/pdev/paper.zip 阅读全文

posted @ 2016-04-27 21:48 Pentium.Labs 阅读(346) 评论(0) 推荐(0) 编辑

2016年4月14日 #

CUDA[2] Hello,World

摘要: Section 0:Hello,World 这次我们亲自尝试一下如何用粗(CU)大(DA)写程序 CUDA最新版本是7.5,然而即使是最新版本也不兼容VS2015 。。。推荐使用VS2012 进入VS2012,新建工程,选择NVIDIA--CUDA Runtime 我们来写一个简单的向量加法程序:[ 阅读全文

posted @ 2016-04-14 13:41 Pentium.Labs 阅读(405) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 ··· 12 下一页



Pentium.Lab Since 1998