Recently I needed to do some data parsing and decided that it would just be easier to use python. It was.
Tag Archives: syntax
Julialang: where you go?
Not sure how i feel about Julialang these days. Im no longer a Julia fan, because of the issues i keep coming up against. My enthusiasm for Julia has worn off. Nice syntax alone has not been able to keep me a fan. Ive already started to learn rust because i cant turn my juliaContinue reading “Julialang: where you go?”
Rust: It’s not for us
I heard people rave about rust, and many people said the documentation is so fantastic. But others say its pretty bad. Why the polarization? It seemed a mystery. So off i went to learn rust. As advised, i followed the rust book. It was a soso experience. Some things are explained well, some things notContinue reading “Rust: It’s not for us”
Rustlang Gtk-rs: get/set Entry & Textview text
fn set_gtkentry_text(gtkentry: >k::Entry, text: &String){ gtkentry.set_text(text);} fn get_gtkentry_text(gtkentry: >k::Entry) -> String { gtkentry.text().to_string()} fn set_gtktextview_text(gtktextview: >k::TextView, text: &String){ gtktextview.buffer().unwrap().set_text(&text[..]);} fn get_gtktextview_text(gtktextview: >k::TextView) -> String { let buffer = gtktextview.buffer().unwrap(); let (start, end) = buffer.bounds(); buffer.text(&start, &end, true).unwrap().to_string()} Why?I had some trouble finding examples in the documentation, for how to get and set the text forContinue reading “Rustlang Gtk-rs: get/set Entry & Textview text”
ImageMagick: syntax mess
ImageMagick is a CLI tool used to manipulate images without a graphical interface. It has been around for a long long time, and has been extended along the way. But the syntax is now a mess of inconsistent logic and patterns – like English, but not as bad. If we are just doing an imageContinue reading “ImageMagick: syntax mess”
FFMPEG mpdecimate parameters
MPDECIMATE can be used to remove duplicate frames from a video. but expect a significant mental effort before achieving success.