Giter Site home page Giter Site logo

palfrey / kitling Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 314 KB

Moving Kittens As A Service

Home Page: https://tevps.net/blog/2015/10/29/kitten-videos-an-engineering-approach/

License: GNU Affero General Public License v3.0

Python 48.23% Shell 0.76% Rust 47.35% Dockerfile 3.65%
kittens rust

kitling's Introduction

kitling

ci

Docker Cloud Build Status Docker Cloud Build Status Docker Cloud Build Status

Kitling aka “Moving Kittens as a Service”. It’s a horribly over engineered approach to noticing moving kittens (or any other video feeds you want to hand it).

It consists of a bunch of Docker containers (see the "frontend", "comparer" and "imager" folders) tied together to select the kittens that move the most. Read https://tevps.net/blog/2015/10/29/kitten-videos-an-engineering-approach/ for further information.

kitling's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar palfrey avatar pyup-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

fossabot

kitling's Issues

Feed motion offset

Some feeds do auto-motion, others you want more often, etc, etc and so having an offset to add/remove from the motion value for a feed would be good

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

Cope with broken web clients

Sometimes the internal mutex gets horribly broken, and that needs fixing

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: "PoisonError { inner: .. }"', ../src/libcore/result.rs:746
stack backtrace:
   1:     0x7ff4676738c0 - std::sys::backtrace::tracing::imp::write::h4c73fcd3363076f5
   2:     0x7ff4676784cb - std::panicking::default_hook::_$u7b$$u7b$closure$u7d$$u7d$::h0422dbb3077e6747
   3:     0x7ff467678153 - std::panicking::default_hook::haac48fa641db8fa2
   4:     0x7ff46766474f - std::sys_common::unwind::begin_unwind_inner::h39d40f52add53ef7
   5:     0x7ff467665f78 - std::sys_common::unwind::begin_unwind_fmt::h64c0ff793199cc1b
   6:     0x7ff467672b11 - rust_begin_unwind
   7:     0x7ff4676ae66f - core::panicking::panic_fmt::h73bf9d7e8e891a73
   8:     0x7ff46708ed39 - core::result::unwrap_failed::h6c8199caa816074c
                        at ../src/libcore/macros.rs:29
   9:     0x7ff46708e979 - _<core..result..Result<T, E>>::unwrap::he8f0f16950e32eaa
                        at ../src/libcore/result.rs:687
  10:     0x7ff46708e86c - _<nickel..Request<'a, 'b, D> as chromedriver..WebdriverRequestExtensions>::webdriver::ha6f324d6e20daeb4
                        at src/chromedriver.rs:207
  11:     0x7ff46707ffd8 - kitling_imager::streams::h8e67ee5e45503d51
                        at src/main.rs:140
  12:     0x7ff467166b22 - fn(&mut nickel..Request<'_, '_>, nickel..Response<'_>) .> core..result..Result<nickel..Action<nickel..Response<'_>, nickel..Response<'_, (), hyper..net..Streaming>>, nickel..NickelError<'_>> $u7b$streams..$LT$$LP$$RP$$GT$$u7d$::fn_pointer_shim.22235::hc7897858f91d9912
  13:     0x7ff46707f2b5 - _<T as nickel..Middleware<D>>::invoke::h08b72096852c3597
                        at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/nickel-0.8.1/src/middleware.rs:27
  14:     0x7ff467167f92 - _<nickel..Router<D> as nickel..Middleware<D>>::invoke::h90d742e0efcc7643
                        at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/nickel-0.8.1/src/router/router.rs:114
  15:     0x7ff46717f671 - _<nickel..middleware..MiddlewareStack<D>>::invoke::hd542798cc1b893a4
                        at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/nickel-0.8.1/src/middleware.rs:57
  16:     0x7ff46717f04b - _<nickel..server..ArcServer<D> as hyper..server..Handler>::handle::h4e3dc4209a1d6950
                        at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/nickel-0.8.1/src/server.rs:31
  17:     0x7ff4671780ab - _<hyper..server..Worker<H>>::keep_alive_loop::h200b81f5d5fc7475
                        at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/hyper-0.8.1/src/server/mod.rs:356
  18:     0x7ff4671749ce - _<hyper..server..Worker<H>>::handle_connection::h6196d3650726c43e
                        at /root/.cargo/registry/src/github.com-88ac128001ac3a9a/hyper-0.8.1/src/server/mod.rs:293
  19:     0x7ff467173c97 - hyper::server::handle::_$u7b$$u7b$closure$u7d$$u7d$::he7be59856c4b9d10
  20:     0x7ff46718b579 - hyper::server::listener::spawn_with::_$u7b$$u7b$closure$u7d$$u7d$::hdf37a26a8cfb6ab9
  21:     0x7ff46718aecd - std::thread::Builder::spawn::_$u7b$$u7b$closure$u7d$$u7d$::_$u7b$$u7b$closure$u7d$$u7d$::h6be3116d37c0ea9d
  22:     0x7ff46718ae69 - std::sys_common::unwind::try::try_fn::hd4a9dd98f1a0340e
                        at ../src/libstd/sys/common/unwind/mod.rs:127
  23:     0x7ff467672a9b - __rust_try
  24:     0x7ff467672a2d - std::sys_common::unwind::inner_try::h9eebd8dc83f388a6
  25:     0x7ff46718add2 - std::sys_common::unwind::try::h568b44b7f21d6b96
                        at ../src/libstd/sys/common/unwind/mod.rs:123
  26:     0x7ff46718ac36 - std::thread::Builder::spawn::_$u7b$$u7b$closure$u7d$$u7d$::hc791917054669cfc
  27:     0x7ff46718b9f8 - _<F as std..boxed..FnBox<A>>::call_box::h879a393d2abd153f
                        at ../src/liballoc/boxed.rs:541
  28:     0x7ff467676c44 - std::sys::thread::Thread::new::thread_start::h471ad90789353b5b
  29:     0x7ff465c2c0a3 - start_thread
  30:     0x7ff466a8a87c - clone
  31:                0x0 - <unknown>

Initial Update

The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.

"disable feed"

Option to mark a feed as disabled. Possibly also a "and here's why" comment field

Add channels to a feed

Right now we can add the individual videos, but not the channels. Also the videos are by their Youtube URLs not their names

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.