I’ve deployed an experimental version on https://echoip.slatecave.net
This one has a main menu using the HTML popover API and should translate to German based on your browser settings.
Let me know if you find any bugs!
I’ve deployed an experimental version on https://echoip.slatecave.net
This one has a main menu using the HTML popover API and should translate to German based on your browser settings.
Let me know if you find any bugs!
After cooking for 72h 4m there is now a new index for unobtanium.rocks with way less instances of tokens sticking to each other. ![]()
Remember that unfriendly crawler from Facebook?
It has switched IP-Addresses:
ip6 saddr 2a03:2880:f800::/48 counter reject;
ip6 saddr 2a03:2880:f814::/48 counter reject;
ip saddr {57.141.20.0/24, 57.141.0.0/24} counter reject;
2a03:2880:f800::/48 and 57.141.20.0/24 are new and the old ones seem to be no longer in use, but I’m not not trusting that company a plank length on that.
Not requesting proposals for banknotes with birds on the front and european culture motives on the back was a missed opportunity.
Just imagine having a piece of art in your pocket with a flying stork in the front and a people filled library on the back that you can exchange for a couple of meals. :drgn_happy_blep:
I think unobtanium needs some long term memory database thingy, that keeps track of site health, crawling rejections and change frequencies
And lib-humus now has experimental support for the available templates being defined outside the application in a configuration file that comes with the templates. Need to add an RSS feed? plain text version? SVG visualization? No need to touch the application it just needs extra templates and some configuration.
It also has experimental (reading mediatype parameters isn’t supported yet) support for reading the Accept header which was overdue!
I’ll also add user-agent based defaults before the release so one can configure things like HTML by default unless curl and other command line friends are asking.
The documentation is definitely lacking right now and the checking on the configuration file is not yet implemented, but that is an issue for tomorrow me. :drgn_flat_sleep:
Localization for lib-humus is going well:
Accept-Language headerCan some rustlang fluent creature help me with an axum problem?
I want to write some middleware that reads a cookie, a header does some value choosing that it needs some configuration for and attached the result to the request.
Currently this is implemented using an axum middleware function with state that is passed through axum::middleware::from_fn_with_state to turn it into a layer, but I want to turn it into a Layer struct, but I keep running into type problems.
async fn middleware(
State(arc_state): State>,
cookie_header: Option>,
mut req: Request,
next: Next,
) -> Response {
[…]
}
Kennt hier jemand ein Logistikunternehmen aus dem Raum Dresden (Kreis Dresden-Land) das vom Branding her Weiß als Grundfarbe hat und dann seine Schriftzüge mit TextmarkerNeonOrange und schwarz schmückt und die groß auf die Zugmaschinen druckt? (Konnte leider nur noch lesen, dass irgendwas mit “Logis” draufsteht)
Ich würde denen gerne einen Dankesbrief schicken, dass mir genug Zeit zum Ausweichen gegeben wurde und in einem Stück heimradeln durfte /s.