Reading List - 2018
- Coders at Work
- Release it!
- Game Engine Black Book
- Twelve Steps to a Compassionate Life
- Writing Without Bullshit
- Programming Rust
|# coding: utf-8|
|Cauê Thenório - cauelt(at)gmail.com|
|This snippet makes Django do not create URL languages prefix (i.e. /en/)|
|for the default language (settings.LANGUAGE_CODE).|
|It also provides a middleware that activates the language based only on the URL.|
|This middleware ignores user session data, cookie and 'Accept-Language' HTTP header.|
|License: MIT - https://opensource.org/licenses/MIT|
|ChromeLogger is a protocol which allows sending logging messages to the Browser.|
|This module implements simple support for Django. It consists of two components:|
|* `LoggingMiddleware` which is responsible for sending all log messages|
|associated with the request to the browser.|
|* `ChromeLoggerHandler` a python logging handler which collects all messages.|
The purpose of this document is to make recommendations on how to browse in a privacy and security conscious manner. This information is compiled from a number of sources, which are referenced throughout the document, as well as my own experiences with the described technologies.
I welcome contributions and comments on the information contained. Please see the How to Contribute section for information on contributing your own knowledge.
A type is a collection of possible values. An integer can have values 0, 1, 2, 3, etc.; a boolean can have values true and false. We can imagine any type we like: for example, a HighFive type that allows the values "hi" or 5, but nothing else. It's not a string and it's not an integer; it's its own, separate type.
Statically typed languages constrain variables' types: the programming language might know, for example, that x is an Integer.
In that case, the programmer isn't allowed to say
x = true; that would be an invalid program.
The compiler will refuse to compile it, so we can't even run it.