Daily Shaarli

All links of one day in a single page.

October 1, 2024

Pitbike | Minibike | Supermoto | Scooter | Sportbikes(bis 300ccm) - Training auf dem Vogelsbergring mit eigenen Bikes und Leih-Pitbikes — Ride2Slide
thumbnail
GitHub - wakemaster39/fastbin: Performance orientated extensions to pycasbin
thumbnail

Fastbin is a drop in replacement of pycasbin the python implementation of the great authorization management casbin.

Fastbin is designed to address the primary concern when working with large sets of rules; Performance.

The root cause of working with large rule sets is the following: casbin/core_enforcer.py#L238

Iterating over 10,000 rules to get a yes or no answer takes time, there really isn't a way around the fact. This limitation comes from the generalization that casbin attempts to support. Independent on the format of your request, or policy definition casbin if able to support your authorization mechanism.

Fastbin makes a minimal set of assumptions to allow efficient filtering of the model so that the number of rules you are iterating over to get a result is much smaller and performance can be maintained. Using Fastbin when working with rule sets of any size, it is possible to keep resolution of enforcement sub millisecond.

jsonschema 4.23.0 documentation

jsonschema is an implementation of the JSON Schema specification for Python.

pytest documentation (stable)

The pytest framework makes it easy to write small, readable tests, and can scale to support complex functional testing for applications and libraries.

pytest requires: Python 3.8+ or PyPy3.

PyPI package name: pytest

pip install pytest

pytest.org

Cloud Cost vs. On-Premises Cost | Die wunderbare Welt von Isotopp
thumbnail

Ich wurde gefragt:

Hast Du eine Idee, wie ich seriös die Kosten für Cloud, reguläres und 
selbst Hosting vergleichen kann?

Seriös nicht, weil das ein Problem mit mehreren Schichten ist und keine dieser Schichten irgendwie schön ist.
Rahmenbedingungen

Der Haupttreiber bei der ganzen Sache ist die simple Tatsache, dass wir immer mehr Transistoren auf einen Chip bekommen. Der Chip wird zwar nicht mehr schneller, weil bei circa 3 GHz Takt Dauerleistung Schluss ist, aber weil die Strukturen immer noch kleiner werden bekommen wir immer mehr Cores und Cache.

isotopp

Die wunderbare Welt von Isotopp | Die wunderbare Welt von Isotopp
thumbnail

This is an attempt to revive the blog with Hugo. Initially it was running on Github Pages with the default build, using Jekyll. With that, it takes around 120 seconds to build the blog. Using Hugo, we are done in under 10 seconds.

Hugo and Jekyll are static page generators. The blog is written in Markdown, and then transformed by Hugo into HTML. This is being published.

isotopp