Coding4Fun As a remote worker I'm always looking to find better ways to work with the team that don't involve actually going to Seattle. As much as I love/hate Microsoft, I'm not moving. However, this always puts me at a disadvantage. There's only so many places (and only so far) i can go as a remote worker. When Phil and I made the "HanselPortal," essentially a persistent always-on Skype Chat, that gave folks a place to drop by and chat (at least those two lazy to just call me via Office Communicator) but there's already two people in Phil's office, I can't move (I'm a desktop computer) and my field of view is very small. I stumbled upon the Embodied Social Proxies project at Microsoft Research and got a tour from their team. The Idea While the name "Embodied Social Proxy" is very PHDy and very Researchy, the idea is that you want a physical stand-in for yourself. The Problems The researches have done many iterations and discovered many things. Security is important also. The General Solution
python interview questions| Top & Most Asked | Intellipaat 1. Compare Java & Python 2. Python is a high-level, interpreted, interactive and object-oriented scripting language. 3. PYTHONPATH − It has a role similar to PATH. 4. PYTHONSTARTUP − It contains the path of an initialization file containing Python source code. PYTHONCASEOK − It is used in Windows to instruct Python to find the first case-insensitive match in an import statement. PYTHONHOME − It is an alternative module search path. 5. Python has five standard data types − NumbersStringListTupleDictionary 6. Become Python Certified in 24 hrs. 7. Python memory is managed by Python private heap space. 8. Inheritance allows One class to gain all the members(say attributes and methods) of another class. They are different types of inheritance supported by Python: 9. 10. The built-in datatypes in Python is called dictionary. Let’s take an example: The following example contains some keys. print dict[Country] 11. Let us first write a multiple line solution and then convert it to one liner code. 12.
20 free, awesome social media monitoring tools Take the pulse of the social Web by hitting these rich targets Target audience: Nonprofits, cause organizations, brands, businesses, NGOs, educators, independent publishers, individuals. In this social media monitoring series: • Guide to monitoring social media conversations • 10 paid social media monitoring services for nonprofits • How to build & manage a monitoring dashboard Ready for a listening program? There are a wealth of free monitoring tools to choose from. 10 social media monitoring tools: a downloadable flyer Free monitoring tools may fill your needs if you work for a small nonprofit or your business has no need for more sophisticated services (coming tomorrow). And a word of advice: Don’t begin with the tools. Yesterday we covered why monitoring is essential to your organization. Here is our Guide to Free Social Media Monitoring Tools. Monitor social campaigns Wildfire: How is your brand performing in social? Monitor social networks & blogs Social Mention: Widgets & social search
Java Shop Politics Once, I was at a company that was considering (and eventually did so) moving its infrastructure over to Java, and there was a discussion about the danger of “Java Shop Politics”. It would seem strange to any non-programmer that a company’s choice of programming language would alter the political environment– these languages are just tools, right? Well, no. When Unix and C were developed, they were designed by people who had already experienced firsthand the evils of Big Software, or monolithic systems comprising of hundreds of thousands of lines of code without attention paid to modularity, that had often swelled to the point where no one understood the whole system. I adhere to this small-program mentality. Many software managers, unfortunately, like Big Projects. Beginning around 1990 was a pernicious attempt by software managers to commoditize programming talent. It’s not that C++ or Java, as languages, are evil. What’s wrong with Big Project development? Like this: Like Loading...
Machine Learning Machine learning is the science of getting computers to act without being explicitly programmed. In the past decade, machine learning has given us self-driving cars, practical speech recognition, effective web search, and a vastly improved understanding of the human genome. Machine learning is so pervasive today that you probably use it dozens of times a day without knowing it. Many researchers also think it is the best way to make progress towards human-level AI. This course provides a broad introduction to machine learning, datamining, and statistical pattern recognition. PythonBooks - Learn Python the easy way ! Become a Programmer, Motherfucker If you don't know how to code, then you can learn even if you think you can't. Thousands of people have learned programming from these fine books: Learn Python The Hard Way Learn Ruby The Hard Way Learn Code The Hard Way I'm also working on a whole series of programming education books at learncodethehardway.org. Learn C The Hard Way Learn SQL The Hard Way Graphics Programming Language Agnostic NerdDinner Walkthrough Assembly Language Bash Clojure Clojure Programming ColdFusion CFML In 100 Minutes Delphi / Pascal Django Djangobook.com Erlang Learn You Some Erlang For Great Good Flex Getting started with Adobe Flex (PDF) Forth Git Grails Getting Start with Grails Haskell Java JavaScript JavaScript (Node.js specific) Latex The Not So Short Introduction to LATEX (perfect for beginners) Linux Advanced Linux Programming Lisp Lua Programming In Lua (for v5 but still largely relevant)Lua Programming Gems (not entirely free, but has a lot of free chapters and accompanying code) Maven Mercurial Nemerle Nemerle NoSQL Oberon Objective-C
School of Engineering - Stanford Engineering Everywhere This course is designed to introduce students to the fundamental concepts and ideas in natural language processing (NLP), and to get them up to speed with current research in the area. It develops an in-depth understanding of both the algorithms available for the processing of linguistic information and the underlying computational properties of natural languages. Wordlevel, syntactic, and semantic processing from both a linguistic and an algorithmic perspective are considered. The focus is on modern quantitative techniques in NLP: using large corpora, statistical models for acquisition, disambiguation, and parsing. Due to copyright issues, video downloads and lecture slides are not available for Natural Language Processing. View Lectures and Materials Complete Course Material Downloads: Course Handouts: The ZIP file below contains all of the course handouts for this course.
Define Python String Replace Method with Examples A simple yet powerful way to replace a string in Python is by using the Python string replace() method. In one of our earlier Python tutorials, we did discuss the concept of strings in Python at great length. Perhaps you should read this tutorial if you wish to learn Python strings at a micro level. Nowadays Python is also becoming popular for using in the data analytics applications. Define Python String Replace() Method with Examples. 1- How to replace a string in Python. Often you’ll get a <string (str object)> so that you could change its contents by replacing a part of texts with another. 1- Use it with the <str> object.2- Use directly from the string module. 2- Signature of the Python string replace() method. The <string.replace()> method has the following syntax. str.replace(s, old, new[, replacefreq]) Here is a summary of the parameters passed to the method. 3- Examples of using the Python string replace() method. The above Python code will produce the following output. Final Word.
Supercharge Your Python Developers After a recent reorganization at work, I became the technical lead on a project to rewrite an existing PHP application that consisted of tens of thousands of lines of code. My team of five decided that Python and Flask would be a good implementation choice as it would allow us to see results quickly. The group ranged from complete Python novices to Python journeymen. They quickly became rockstars. How did this happen? Enabling Your Developers Continuous integration with deep integration with Python testing and static analysis tools, along with simple scripts to aid developers has been the key to the amazing productivity of the team. Why did I put so much emphasis on the build process and developer tools? The Legacy System The legacy system was so difficult to develop against that even small changes took three times as long as they should have. There was no build process or continuous integration for the old project. The codebase was also horribly confusing. The Setup Design For Simplicity
Automata theory An example of an automaton. The study of the mathematical properties of such automata is automata theory. Automata theory is the study of abstract machines and automata, as well as the computational problems that can be solved using them. It is a theory in theoretical computer science, under Discrete mathematics (a section of Mathematics and also of Computer Science). Automata theory is also closely related to formal language theory. Automata play a major role in theory of computation, compiler design, artificial intelligence, parsing and formal verification. Automata[edit] Following is an introductory definition of one type of automaton, which attempts to help one grasp the essential concepts involved in automata theory(s). Informal description[edit] In short, an automaton is a mathematical object that takes a word as input and decides either to accept it or reject it. Formal definition[edit] Automaton Input word Run Accepting word A word w ∈ Σ* is accepted by the automaton if qn ∈ F. Input .
Памятка по virtualenv и изолированным проектам на Python Поскольку все новые скрипты я теперь пишу на Python, а опыт использования этого языка у меня довольно скромный, время от времени я узнаю занятные вещи, которые многим другим программистам и так давно известны. Так, например, недавно я научился пользоваться virtualenv и virtualenvwrapper. И на случай, если я вдруг подзабуду, как это делается, решил вот написать эту небольшую шпаргалку. Примечание: Даже если вы не особо интересуетесь программированием на Python, вы можете столкнуться с необходимостью использования сторонних проектов, написанных на этом языке. Примечание: В Python 3.3 появилась схожая по функционалу утилита pyenv, которая в Python 3.4 даже научилась устанавливать pip, тем самым став полноценной заменой virtualenv. Какую проблему решает virtualenv? Так вот, virtualenv — это инструмент, позволяющий создавать виртуальные окружения с пакетами. Установка virtualenv и virtualenvwrapper, предоставляющего чуть более удобный интерфейс к virtualenv: В ~/.bashrc дописываем:
Abstract machine An abstract machine, also called an abstract computer, is a theoretical model of a computer hardware or software system used in automata theory. Abstraction of computing processes is used in both the computer science and computer engineering disciplines and usually assumes discrete time paradigm. Information[edit] In the theory of computation, abstract machines are often used in thought experiments regarding computability or to analyze the complexity of algorithms (see computational complexity theory). More complex definitions create abstract machines with full instruction sets, registers and models of memory. Through the use of abstract machines it is possible to compute the amount of resources (time, memory, etc.) necessary to perform a particular operation without having to construct an actual system to do it. Articles concerning Turing-equivalent sequential abstract machine models[edit] Family: Turing-equivalent (TE) abstract machine: Subfamilies: Other abstract machines[edit]
О некоторых горячих клавишах в PyCharm Хочу поделиться с вами горячими клавишами, которыми пользуюсь или к которым пытаюсь привыкнуть в своей повседневной работе. В современных средах их количество может просто зашкаливать, но постепенное добавление новых сочетаний в копилку, способно значительно повысить вашу продуктивноть. Приведенные сочетания относятся к редактированию, навигации, рефакторингу и справедливы только для раскладки Default for XWin (Linux). Ctrl+Alt+Left/Ctrl+Alt+Right На одном из лидирующих позиций (в моем рейтинге) находится перемещение назад и вперед. Ctrl+Shift+Backspace Перемещение к месту последней правки. Ctrl+B Многим известное перемещение к реализации. Двойное нажатие Shift Поиск по индексу, который включает в себя имена файлов, имена классов, их атрубиты и т.д. Ctrl+Shit+[0-9] Именованые метки для быстрого перемещения по "горячим" местам. Выглядит это так Ctrl+W Выделение кода с учетом синтаксиса. Выглядит это вот так Ctrl+Y Удаление всей строки. Ctrl+D Продублировать текущую строку. Выглядит вот так