Tutorial by Topics: on

Here in Stack Overflow we often see duplicates talking about the same errors: "ImportError: No module named '??????', SyntaxError: invalid syntax or NameError: name '???' is not defined. This is an effort to reduce them and to have some documentation to link to.
A using declaration introduces a single name into the current scope that was previously declared elsewhere. using typename(opt) nested-name-specifier unqualified-id; using :: unqualified-id; A using-declaration is distinct from a using directive, which tells the compiler to look in a p...
Optical Character Recognition is converting images of text into actual text. In these examples find ways of using OCR in python.
Asynchronous is a programming pattern which provides the feature of non-blocking code i.e do not stop or do not depend on another function / process to execute a particular line of code. Asynchronous is great in terms of performance, resource utilization and system throughput. But there are some...
A summary of some of the basic touch/motion-handling systems in the Android API. ListenerDetailsonTouchListenerHandles single touches for buttons, surfaces and moreonTouchEventA listener that can be found in surfaces(e.g. SurfaceView). Does not need to be set like other listeners(e,g. onTouchLi...
I'm going to begin this with the process in Ubuntu, then in OS X and finally in Windows. I haven't tested it on all perl versions, but it should be a similar process. Use Perlbrew if you like to switch easily beween different versions of Perl. I want to state that this tutorial is about Perl in it...
This topic focuses on the use of the nltk.FreqDist() class.
Functions are pieces of code that can be executed by other functions of your program. Your program always starts with the main function. See also asynchronous functions. Methods are exactly the same as function, but they act on an object instance.
accumarray allows to aggregate items of an array in various ways, potentially applying some function to the items in the process. accumarray can be thought of as a lightweight reducer (see also: Introduction to MapReduce ). This topic will contain common scenarios where accumarray is especially use...
ActiveRecord Transactions are protective blocks where sequence of active record queries are only permanent if they can all succeed as one atomic action.
This class allows you to define programmatically a set of constraints to be used with ConstraintLayout. It lets you create and save constraints, and apply them to an existing ConstraintLayout.
Once your project is done, you are left to wonder how will you upload those load of a 100 HTML imports on your web server and even if you do that, how much hours your site is going to take to load for a single client. In this topic, you'll see how to convert the development mess into refined single...
Generally a command takes inputs from terminal and outputs back to terminal. Normally a command reads input from keyboard and outputs result to the screen. Here is the importance of Input/Output Redirection [fd]<file [fd]<&fd [fd]<&- [fd]>file [fd]>&fd [fd]>&...
There are many ways of visualizing the convolutional layers, but they share same components: fetching the values of a part of the convolutional neural networks, and visualizing those values. Note those visualizations should not and can not display on the TensorBoard.
In many applications, records from MongoDB need to be serialized in JSON format. If your records have fields of type date, datetime, objectId, binary, code, etc. you will encounter TypeError: not JSON serializable exceptions when using json.dumps. This topic shows how to overcome this.
Mongoose is a Node.JS driver for MongoDB. It provides certain benefits over the default MongoDB driver, such as adding types to Schemas. One difference is that some Mongoose queries may differ from their MongoDB equivalents.
Often times we have to create some components which perform some actions/operations on data and we require that in the parent component. Most of the times vuex would be a better solution, but in cases where the child component's behavior has nothing to do with application state, for instance: A rang...
Convert Map to List in java 8 using stream api
Laravel provides a simple way to authorise user actions on specific resources. With Authorization, you can selectively allow users access to certain resources while denying access to others. Laravel provides a simple API for managing user authorizations by using Gates and Policies. Gates provide a s...

Page 100 of 121