background preloader


Facebook Twitter

GitHub - daluu/plrobotremoteserver: Moved my project here due to Google Code's demise. Frontier. Frontier::Daemon - receive Frontier XML RPC requests use Frontier::Daemon; Frontier::Daemon->new(methods => { 'rpcName' => \&sub_name, ... }); Frontier::Daemon is an HTTP/1.1 server that listens on a socket for incoming requests containing Frontier XML RPC2 method calls.


Frontier::Daemon is a subclass of HTTP::Daemon, which is a subclass of IO::Socket::INET. Frontier::Daemon takes a `methods' parameter, a hash that maps an incoming RPC method name to reference to a subroutine. Frontier::Daemon takes a `use_objects' parameter that if set to a non-zero value will convert incoming <int>, <i4>, <float>, and <string> values to objects instead of scalars. GitHub - Chetic/robotframework-async: Generic Robot Framework library for asynchronous keyword execution. Python - Meaning of @classmethod and @staticmethod for beginner? Understanding Python's "with" statement.

Fredrik Lundh | October 2006 | Originally posted to Judging from comp.lang.python and other forums, Python 2.5’s new with statement (dead link) seems to be a bit confusing even for experienced Python programmers.

Understanding Python's "with" statement

As most other things in Python, the with statement is actually very simple, once you understand the problem it’s trying to solve. Consider this piece of code: set things up try: do something finally: tear things down. Understanding Python's "with" statement. A guide to Python's function decorators. 跳出面向对象思想(二) 多态 - Casa Taloyum. Django templates · Django Girls Tutorial. Time to display some data!

Django templates · Django Girls Tutorial

Django gives us some helpful built-in template tags for that. You see, in HTML, you can't really write Python code, because browsers don't understand it. They know only HTML. We know that HTML is rather static, while Python is much more dynamic. Django template tags allow us to transfer Python-like things into HTML, so you can build dynamic websites faster and easier.

Example: Software Architecture Document. A description of the logical view of the architecture.

Example: Software Architecture Document

Describes the most important classes, their organization in service packages and subsystems, and the organization of these subsystems into layers. Also describes the most important use-case realizations, for example, the dynamic aspects of the architecture. Espymetrics/DESIGN.rst at master · mahmoud/espymetrics. jTopo Demo. $(document).ready(function(){ var canvas = document.getElementById('canvas'); var stage = new JTopo.Stage(canvas); showJTopoToobar(stage); var scene = new JTopo.Scene(); scene.background = '.

jTopo Demo

/img/bg.jpg'; function node(x, y, img, name){ var node = new JTopo.Node(name); node.setImage('. $(document).ready(function(){ var canvas = document.getElementById('canvas'); var stage = new JTopo.Stage(canvas); //显示工具栏 showJTopoToobar(stage); var scene = new JTopo.Scene(); scene.background = '. /img/bg.jpg'; function node(x, y, img, name){ var node = new JTopo.Node(name); node.setImage('. Leetcode/ at master · bonfy/leetcode. Data_Structures_Algorithms_In_Python/ at master · anubhavshrimal/Data_Structures_Algorithms_In_Python. Design Patterns in Python. Proceedings of the 6th International Python Conference Vespe Savikko Software Systems Laboratory Tampere University of Technology FIN-33101 Tampere, Finland Abstract The choice of implementation language affects the use of design patterns.

Design Patterns in Python

Naturally some languages are better applicable for different tasks than others. In software engineering the term pattern describes a proven solution to a common problem in a specific context. GOF is divided into three parts and each part describes the patterns related to the theme of the part. Microservices: The Essential Practices. Before we jump and try to explore the practices we must master in order to successfully implement microservices architecture, let us briefly refresh our understanding of monolithic applications.

Microservices: The Essential Practices

Monolithic application is built as a single unit that, with time, increases its size. While the increase in features is bound to result in increase of the system’s complexity, monolithic architecture tends to exponentially multiply that complexity. The reason behind that is partly due to layering approach that tends to be enforced to all use cases. You start with a design that has, let’s say, four layers; API, business layer (BL), data access layer (DAL) and database itself. Once that is established, you make a rule that all new features should be developed in a way that all the layers are used.

Microservices - Full Stack Python. Microservices are an application architecture style where independent, self-contained programs with a single purpose each can communicate with each other over a network.

Microservices - Full Stack Python

Typically, these microservices are able to be deployed independently because they have strong separation of responsibilities via a well-defined specification with significant backwards compatibility to avoid sudden dependency breakage. Microservices follow in a long trend of software architecture patterns that become all the rage. Previously, CORBA and (mostly XML-based) service-oriented architectures (SOA) were the hip buzzword among ivory tower architects. However, microservices have more substance because they are typically based on RESTful APIs that are far easier for actual software developers to use compared with the previous complicated XML-based schemas thrown around by enterprise software companies. Microservice resources What's next after learning about microservices? The Netflix Simian Army. We’ve talked a bit in the past about our move to the cloud and John shared some of our lessons learned in going through that transition in a previous post.

The Netflix Simian Army

Recently, we’ve been focusing on ways to improve availability and reliability and wanted to share some of our progress and thinking. The cloud is all about redundancy and fault-tolerance. Since no single component can guarantee 100% uptime (and even the most expensive hardware eventually fails), we have to design a cloud architecture where individual components can fail without affecting the availability of the entire system. In effect, we have to be stronger than our weakest link. We can use techniques like graceful degradation on dependency failures, as well as node-, rack-, datacenter/availability-zone and even regionally-redundant deployments. Imagine getting a flat tire. Adrian Cockcroft presentations. Cloud Native Architecture at Netflix by Adrian Cockcroft - YOW! 2013.

CS140: Operating Systems. CS352 Prerequisites. Throughout the course, I will make certain assumptions about your knowledge.

CS352 Prerequisites

In particular, I will assume the following: You have taken an undergraduate course in operating systems and understand basic operating system concepts such as processes, threads, file system implementation, mutual exclusion, process synchronization, and process scheduling. You can program proficiently in the C or C++ programming language as well as Java.

If you know one, you can learn the other without too much grief. A tutorial that seems pretty good (on casual inspection) on C can be found at I learned C eons ago via Kernighan and Ritchie's text (it was the thinnest book I could find). If you are unfamiliar with any of these items, it should not necessarily deter you from taking the course (most are easy to learn) but you may wish to speak with me. Assignments — Operating Systems. Written assignments must be handed in to the handin bin by 10pm on the given due date. Programs must be handed in by 11:59pm on the given due date For all the Weenix related projects, we will not be posting individual assignment pdfs. Please instead see the docs/ folder in the weenix sources. A copy of the pdf will be posted here for your convenience.

Traveling Notes: 2011 所得稅心得: ESPP,RSU,與 Turbo tax 初體驗. 又到了麻煩的報稅季節。 Getting Started. RegExr: Learn, Build, & Test RegEx. Electrical Engineering and Computer Science. Electrical Engineering and Computer Science. 思科认证网络工程师. 思科认证网络工程师(英语:CCNA, Cisco Certified Network Associate)認證是由思科系統所頒發的,是現時大多數從事資訊科技或有志投身此行業的人士常考取的專業證書之一。 其考試範圍及內容著重於現今流行的網絡技術及思科系統的路由器、交換器等產品的設定、調校及故障排除。 CISCO強調持有CCNA認證的考生應具有相應技術,為了確保思科證書的認受性,以及雇主會以思科認證作為評核員工才能的標準,CISCO將在它的很多考試中增加模擬操作題,這更能正確地衡量出考生的真實水準,也能增加雇主對思科證書的重視,CISCO相信這樣對CISCO持有思科證書的人以及雇主,長遠來說都是有利的。 CCNA证书的有效期为3年,3年之后需要参加再认证(Recertification)的考试,如果你在这3年时间内考取了更高级别的Cisco认证,则CCNA认证的有效期自动更新。 CCNA的再认证考试有效期满之后必须参加640-822 ICND的考试,或者参加任何一科CCNP系列的考试,再或者参加Cisco专业认证(Cisco Qualified Specialist)中任何一科前缀为642-XXX的考试。 如需重新认证,必须通过现有的CCNA考试,或者通过ICND考试,或者通过642系/300系专业等级或思科合格专家考试(不包括销售专家考试)中的任何一项,或通过现有的CCIE笔试。

現時CCNA系列考試皆由Pearson VUE提供。 歷史[编辑] 自1998年思科系統第一次啟用CCNA認證 自2007年8月1日開始,思科系統啟用新版CCNA認證 自2008年10月1日開始,思科增加了3個CCNA認證系列: LeetCode Online Judge. Workday. 操作系统原理 Operating Systems. 课程曾在 Coursera 上开课,传送门 >> 任何计算机都必须在加载相应的操作系统之后,才能构成一个可以运转的、完整的计算机系统。 Linux文件共享服务器Samba的概念和配置详解_技术文档_组装电脑之家. 在Linux(Unix)主机之间可以使用NFS服务实现文件共享。 而且是现实来也十分方便,在Windows主机之间使用Windows文件共享同样可以实现包括网络文件在内的系统资源的共享。 Practical tips for using Git with large Subversion repositories. So you want to use Git with Subversion? That’s a great idea! If the Subversion repository is small, you should not have too big problems. If on the other hand the repository is relatively large, you may have quite a few issues. What is large?

Let’s define large as: cloning the trunk takes more than 4 hours. Before you embark on this road and start using Git as your Subversion client, here are some warnings up front: Running Kore in production behind nginx proxy - Andreas Pfohl. As written in the last post my primary interrest is writing web applications in C with Kore. The post shows how to create a small application and run it in development mode.

In production there are two methods to run Kore. The first is to run Kore standalone. That means Kore is directly bound to a port on a public IP address. Job Description - Senior Software Engineer (1500032050) Are you interested in pioneering the next generation of personalization that blends physical and virtual worlds leveraging the richest map data in existence? Do you want to use multiple digital channels, social networks, and real-time predictive analytics at scale to create an in-the-moment location experience that enriches people’s lives?

HERE is the leader in the Location Cloud business – the map for the 21st century. Using cloud infrastructure we are delivering mobile apps and services that help people to solve daily challenges and to make their lives more rewarding. It is our goal to help people live delightful, safer, more fruitful, and more sustainable lives while respecting their privacy by providing the right map, and the right experience, for every moment. Our global reach is unmatched. Linux下面的C語言使用getopt parse command line參數 « 國王的耳朵是驢耳朵. 在Linux下面的C語言可以透過getopt去parse從command line傳過來的參數 使用方式基本上就是重複讀取getopt回傳option字元直到回傳-1。 請注意:這只是蓋略說明,很多細節仍然需要參考manpage,例如哪些是Gnu的特別功能還有一些細節的參數操作等。 進一步細節如下: 大綱 參數以及變數說明. Simplest Spring MVC Hello World Example / Tutorial - Spring Model - View - Controller Tips. 海量数据处理算法—Bit-Map - guisu,程序人生。 逆水行舟,不进则退。 Page from Begin Programming: Build Your First Mobile Game - University of Reading. Writing web software in C with Kore.

Do things differently. Among this statement I was looking for something new for developing websites. Over the last years I used a few languages for doing web development, including ruby and erlang. All these languages have in common that they are abstracted to a point where the user can focus on creating things instead of fiddling around with the language itself. Untitled. 10 sFTP Command Examples to Transfer Files on Remote Servers in Linux. File Transfer Protocol (FTP) was widely used protocol to transfer files or data remotely in unencrypted format which is not secure way to communicate.

How do I become a data scientist? 应用python编写简单新浪微博应用(一) — 小倩☆惜取花开时. Scraping data from Sina Weibo using Python. How to use the APIs to collect data from Sina Weibo. The Open Source Data Science Masters. CS341: Project in Mining Massive Data Sets (Spring 2014) Project in Mining Massive Data Sets. Learn Data Science - Quora. Thamnett/PDS-2013. Kaushikreddy/PDS. PDS/ClassTwoNotes at master · lin1988/PDS. PDS/ at master · lin1988/PDS. PDS/ at master · joehooper/PDS. Thamnett/PDS-2013. Big Data and Mobile Payments.

CentOSにpython 2.7.3をインストールする手順 - CentOS 6.3にPython 2.7.3をインストールしてひと通りの環境を整える手順を書きます。 Install Numpy, Schipy, Matplotlib and etc. on Amazon Linux AWS-ec2 for Python3. LJamesHu/Practical-Data-Science-Homework. Practical Data Science, Fall 2012. Exporting mysql table to .txt or .doc file using PHP. Building beautiful websites with Bootstrap: A case study. Mining in R.pdf. Algorithm - Classifying Text Based on Groups of Keywords? 一种根据关键字进行分类的文本分类算法 - lucene爱好者 - ITeye群组. Information Modelling and Knowledge Bases XX. Text%20Mining%20in%20R.pdf. 6. Learning to Classify Text.

The Elements of Statistical Learning by Jerome Friedman, Trevor Hastie, and Robert Tibshirani. Authors/G_M/Hastie/WriteUp/weatherwax_epstein_hastie_solutions_manual.pdf. Static/ESL-Solutions.pdf. 落园 » 统计学习精要(The Elements of Statistical Learning)课堂笔记系列. Ajtulloch/Elements-of-Statistical-Learning. Ajtulloch/Elements-of-Statistical-Learning. Authors/G_M/Hastie/WriteUp/weatherwax_epstein_hastie_solutions_manual.pdf. Chapter 7: Exercise 1. The 4 Universities Data Set. Python 文本挖掘:使用scikit-learn 机器学习包进行文本分类 - rzcoding的日志 - 网易博客. LeetCode OJ. Search engine - Talentbuddy. Programming Basics Course - Programming Fundamentals - Udemy. KJlmfe/-Head-First-JavaScript- Trading Website Community Project - 1 - Introduction. Emcat-mlj99.pdf. Question database structure. Installation — PEER 0.11.0 documentation. Python升级导致yum命令无法使用的解决办法(修改版) - EI__Nino的专栏.

[Tutorial] Deploy Apache + MySQL + Python on AWS EC2 « 無良心筆記. Using Adminer to Manage your Databases - LinuxCareer's Documentation. Install / update to Python 2.7 and latest Pip on EC2 Amazon Linux. Html - Python Scrapy Dynamic Web Sites. Python data scraping with Scrapy. IndeedScraper/indeed/spiders at master · tweinzirl/IndeedScraper. 用scrapy框架爬取js交互式表格数据 - 蒋国宝的IT技术博客. Scrapy 轻松定制网络爬虫 « Free Mind. Crawl a website with scrapy - * Python-webscraper/ at master · dennislzf/python-webscraper. Scrapy-stackoverflows/jobboard/spiders at master · jobboard/scrapy-stackoverflows.

Scrapy-indeed-spider/ at master · octoberman/scrapy-indeed-spider.