Mako
mako
Our great sponsors
Mako | mako | |
---|---|---|
7 | 13 | |
176 | 565 | |
- | - | |
7.0 | 0.0 | |
about 2 months ago | over 1 year ago | |
Python | C | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Mako
-
What's the most htmx-ish language for the server side?
https://www.makotemplates.org/ are also nice in that they have a return functionality which lets you exit templates early, which is nicer than big if/else statements in Jinja
-
Marko: An HTML-Based Language
At least in Python, that's kinda what https://www.makotemplates.org is. Although if you're just using a subset of PHP suitable for templating, it's not really clear to me what benefit there is to PHP syntax versus, say, Jinja2 syntax.
-
Task management tool written in Python that does more than taskwarrior
Mako already exists - https://www.makotemplates.org/. Nothing says you can't use the same name, but it will mean you won't be able to publish to pypi and your searchability will be bad
-
Mako – a full Bitcoin implementation in C
Mako is also a fairly popular python template library.
-
Should I use Celery? Learning Redis / Redis Queue for background tasks and caching.
My current tech stack is: Python3 with Mako and CherryPy. NGINX as a reverse proxy
-
Is there an alternative to Jinja when making python websites?
There are alternatives to jinja2, but any of the even vaguely popular alternatives are still going to be templating engines that deliberate aren't just you embedding python. Mako is one such example.
mako
-
Who controls Bitcoin ?
There is a thread about mako, which is a new implementation, in this sub right now.
-
Mako – a full Bitcoin implementation in C
Call me old school, but I like looking at the number of lines of code to get a feel for how big of a project something is. Mako[1] is 265,618 lines of code. The most widely accepted Bitcoin implementation[2] is 639,074 lines of code. The common Bitcoin implementation is 2.5x bigger and written in a slew of languages. Mako looks like a super-impressive amount of work (and by a single person no less).
[1] https://github.com/chjj/mako
[2] https://github.com/bitcoin/bitcoin
[3] How I calculated: find -type f | sed 's/.*/"&"/' | xargs wc -l
It avoids naming collisions, and further down in the function, you'll be able to differentiate the pointer and the value. I find it very useful.
If you write multi-precision integer code in C[1] without this convention, you will end up with an unreadable mess. I certainly wish Torbjörn Granlund were here to testify to this.
I wasn't originally going to look at it but this claim got me intrigued. I'd say compared to a lot of C code I've seen, yeah, you aren't lying, the average cleanliness is so clean it's sick ;) Well done!
Perhaps the GP means the general crypto nature of the project lends to opaqueness. For example, I randomly clicked into https://github.com/chjj/mako/blob/master/src/crypto/chacha20... and one could ask where the magic numbers on lines 41-44 comes from. Maybe it's explained in the references, or just specified without explanation as part of the protocol. I looked at the reference implementation at https://cr.yp.to/streamciphers/timings/estreambench/submissi... which has the equivalent line at L66. After finding the implementation of U8TO32_LITTLE which does some bitwise-or'ing and shifting of the first 4 items ("expa" for either sigma or tau), in Lisp I quickly verified:
(format nil "0x~x"
What are some alternatives?
Jinja2 - A very fast and expressive template engine.
Chameleon - Fast HTML/XML template engine for Python
Template Render Engine - Template Render Engine
tokei - Count your code, quickly.
bcoin - Javascript bitcoin library for node.js and browsers
StratisFullNode
scc - Sloc, Cloc and Code: scc is a very fast accurate code counter with complexity calculations and COCOMO estimates written in pure Go
btcd - An alternative full node bitcoin implementation written in Go (golang)
gui - Bitcoin Core GUI staging repository
NBitcoin - Comprehensive Bitcoin library for the .NET framework.
kryptokrona-kotlin-sdk - Build decentralized private communication/payment systems in Kotlin.
Mako - Tool for making weekly schedules, organizing projects and measuring progress in achieving goals.