Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
I recently built a small agent-based model using Python and wanted to visualize the model in action. But as much as Python is an ideal tool for scientific computation (numpy, scipy, matplotlib), it's not as good for dynamic visualization (pygame?).
You know what's a very mature and flexible tool for drawing graphics? The DOM! For simple graphics you can use HTML and CSS; for more complicated stuff you can use Canvas, SVG, or WebGL. There are countless frameworks, libraries, and tutorials to help you draw exactly what you need. In my case, this was the animation I wanted:
(Each row represents a "worker" in my model, and each rectangle represents a "task.")
Dr. Mark B. Lundeberg, 2018 August 30
bitcoincash:qqy9myvyt7qffgye5a2mn2vn8ry95qm6asy40ptgx2
Since version 2.1, GnuPG is able to use the very same secp256k1 elliptic curve signature algorithm (ECDSA) as used in bitcoin. Quite soon Bitcoin Cash will add a new script opcode OP_CHECKDATASIG that is able to check signatures not just on the containing transaction, but also on arbitrary data. For fun, let's try to intersect the two signature systems and see what can be done!
/app
├── /Application
| ├── /Exceptions
| ├── /Middlewares
| ├── /Providers
| ├── /Requests
├── /Domain
| ├── /MyDomainA
| | ├── /ContractsDocument for the best design choices you can make for your software.
Terminology
components containing all component files.File Structure
Structuring applications is hard, here are a few resources to help.
| # Generate tile files that can be used with https://www.marzipano.net | |
| # This is a config file for https://krpano.com/tools/kmakemultires/config/ - | |
| flash=false | |
| html=false | |
| xml=false | |
| panotype=autodetect | |
| tilesize=512 |
| // probability that the event with the passed probability will NOT occur | |
| function complement(p) { | |
| return 1 - p; | |
| } | |
| // probability that a and b will happen when neither outcome | |
| // is affected by the other (accepts 1 or more arguments) | |
| function intersectionOfIndependentEvents(a, b) { | |
| var ret = a; | |
| for (var i = 1; i < arguments.length; i++) { |