Ronja Koistinen
Ronja Koistinen
I need to crawl a large set of hosts, some of which are hosted on a couple of "web hotel" servers. Is there a way that I can configure the...
### Configuration - **Hugo version**: hugo v0.92.0+extended linux/amd64 BuildDate=unknown - **Tranquilpeak version**: 0.5.3-BETA I write my blog mostly in Finnish, but occasionally individual posts in English or other languages. For...
My code starting on line 169: ```rust let es = elastic::client::AsyncClientBuilder::new() .static_nodes(backend_url) .build() .unwrap(); // TODO let timestamp = Utc::now(); let stats = Stats { core: "helsinki.fi".to_string(), status: res.response().status().as_u16(), query_time:...
I have to crawl an intranet site that provides the last modified timestamps of articles in a meta tag like this: `` This is easily handled by `DateFormatTagger`. However, there...
The taggers, filters and splitters all have a class for doing things with the DOM tree. It would be nice to also have a transformer class with DOM element support....
The functions in `libvoikko.rs` do a lot of stuff with `ffi::{CStr, CString}` and use `.unwrap()` while doing it. `.unwrap()` will panic on error, which can cause stack unwinding. Stack unwinding...
I downloaded this test file: https://sampletestfile.com/wp-content/uploads/2023/08/13.5-MB.tif Attempted to open it with: ```rust use std::io::{Error, ErrorKind}; let image = ImageReader::open(&file_path)?.decode().map_err(|e| { tracing::error!("Unable to decode {:?}: {}", &file_path, e); Error::from(ErrorKind::Other) })?; ```...