[译] Pinterest 架构解密
导读:管理一个复杂的微服务系统离不开分布式跟踪技术,它对于了解系统运行状况及发现系统瓶颈非常有帮助,正如下图所说,分布式跟踪体系是微服务中最被忽视的一个组件,通过本文我们可以进一步了解其架构,本文由高可用架构翻译。文章最后还有若干精选岗位推荐。...
View ArticlePrimitive types are not your friends
Really. Stop (ab)using just strings and integers. Yes, they're the building blocks of whatever you do. But if you abuse them, you're not taking full advantage of your Object Oriented programming...
View ArticlePandas Surprise
Summary Part of learning how to use any tool is exploring its strengths and weaknesses. I’m just starting to use the python library Pandas , and my nave use of it exposed a weakness that surprised me....
View ArticleHow to Create User Sign Up View
In this tutorial I will cover a few strategies to create Django user sign up/registration. Usually I implement it from scratch. You will see it’s very straightforward. For the examples I will use an...
View Article7 款 Python 数据图表工具的比较
7 款 python 数据图表工具的比较 一点号复旦大数据4小时前 复旦大数据 Python 的科学栈相当成熟,各种应用场景都有相关的模块,包括机器学习和数据分析。数据可视化是发现数据和展示结果的重要一环,只不过过去以来,相对于 R 这样的工具,发展还是落后一些。 幸运的是,过去几年出现了很多新的Python数据可视化库,弥补了一些这方面的差距。matplotlib...
View ArticleChoosing a Stack for Your Side Project
Selecting a stack is the first technology decision in a side project. Unfortunately, it is also one of the biggest factors in determining whether or not your project launches. This is not because there...
View ArticlePython变量的作用域和命名空间
作者:杨冬 欢迎转载,也请保留这段声明。谢谢! 出处: https://andyyoung01.github.io/ 或 http://andyyoung01.16mb.com/ python中的 命名空间(namespace) 是标识符到对象的映射,通常以字典的形式表现出来。变量的 作用域(scope) 是Python程序的文本区域,在该区域某个命名空间中的名字可以被直接引用。...
View ArticleHow to testing Django Signals like a pro
Django Signals are extremely useful for decoupling modules. They allow a low-level Django app to send events for other apps to handle without creating a direct dependency. Signals are easy to set up,...
View Article印象笔记 Python SDK 踩坑记
于我而言,一个笔记工具最重要的两个功能就是信息采集和提取。 人脑是用来思考而非用来记忆的,因此我们需要一个外部系统来存储个人化的信息。这一点的体现就在于,我们能随时随地方便地将看到的有价值的信息保存起来。网上的各种博客文章和微信公众号是我的主要信息来源,我的印象笔记配合上剪藏插件就能完美地解决我信息采集的问题。...
View ArticleTensorFlow 兼容 Spark;Python 迁移到 GitHub 等 | AI 研习社周刊
TensorFlow 兼容 Spark;python 迁移到 GitHub 等 | AI 研习社周刊 一点号雷锋网昨天 2 月 13 日~ 2 月 19 日,AI 开发者圈子里发生的那些事儿:php?url=0FfyCWlQbW" alt="TensorFlow 兼容 Spark;Python 迁移到 GitHub 等 | AI 研习社周刊" />在本月 15 日揭幕的 TensorFlow...
View ArticleNicola Iarocci: Python Workload pulled off Visual Studio 2017 RC3
So how do you install the awesome python Development Tools on the latest Visual Studio 2017 RC? That might seem a stupid question considering that the Data Science and Python Development workload has...
View Articletkui - Python GUI maker that simulaneously edits the GUI and its editor
tkui - a visual introspective GUI maker with live editing of the GUI and its editor at the same time Installation and running pip install requirements.txt which installs the depnedencies uielem and...
View Articlepython实战-Adaboost
AdaBoost 优点:泛化错误率低,易编码,可以应用在大部分分类器上,无参数调整。 缺点:对离群点敏感。 适用数据类型:数值型和标称型数据。 1.基于单层决策树构建弱分类器 单层决策树(decision stump)是一种简单的决策树,仅基于单个特征做决策。由于这棵树实际上只有一次分裂过程,因此实际上就是一个树桩。 单层决策树生成函数:...
View ArticleDynamic Programming in Python: Bayesian Blocks
Of all the programming styles I have learned, dynamic programming is perhaps the most beautiful. It can take problems that, at first glance, look ugly and intractable, and solve the problem with...
View ArticleHow to handle user authentication in Python Django
In this tutorial, I’ll show how to do user login, logout and signup in Django. All the code that I describe here is in this GitHub repository . This tutorial will be using python 2.7 and Django 1.9....
View Articlepython实现及其解释器应用:实现语法支持
python实现及其解释器应用:实现语法支持 23分钟前来源:CSDN博客 第九部分开始了对语言特性的支持,根据语言定义BNF: program→compound_statement DOT compound_statement→BEGIN statement_list END statement_list→statement | statement SEMI statement_list...
View ArticlePython Decorator 的一些小细节/坑
Decorator 的本质是什么? decorator 本质就是一个接收 对象 的 对象 (对,是个对象,而不是大多数人认为的函数),更多的资料可以参照 理解python的装饰器 | Darkof final_func = decorator(wrapped_function) # 与注释部分的实质是一致的。 @decorator defwrapped_func(*args, **kwargs):...
View ArticleJump Start into Python and Apache Spark with Learning PySpark
For the last few years, I have had the opportunity to work on some of the coolest Apache Sparkcommitters, contributors, and projects. As luck would have it, I got the opportunity to meet my co-author...
View Article5 个Python 库,照亮你的机器学习之路
这些 python 库帮助你加速数据传输,通过 AWS Lambda 对大型计算工作做碎片化处理,并使用略低于 TensorFlow 的模型工作。 机器学习令人兴奋,但具体工作复杂而困难。通常它涉及很多手动提升――汇总工作流及传输渠道,设置数据源,以及在内部部署和云部署的资源之间来回分流。 用来提高工作效率的手头工具越多越好。庆幸的是,Python...
View ArticleIcons, Python, and Ubuntu
Originally posted on indeliblebluepen.com . In my free time (yes, I actually managed to scrape some together!), I've started work on a project I've been planning for quite some time - building the...
View Article