Code Monkey home page Code Monkey logo

ascii-star's Introduction

Leo/Janis aka lj

Hi, I'm lj, a os/firmware dev, grown teacher, become pentester and now fed up with the consultancy world :-)

Most of my dev'ing is around tooling and contributing to projects I use/like or stumble upon.

  • Favorite editor: vim, atom, neovim, kak, vi, vscode, vim, emacs I gave up and use vi/vscode/emacs in rotation.
  • OS: fedora Silverblue and ArchLinux
  • Programming Languages: C (most skill), Rust (most awe), Haskell (most passion), Python (most hatred)
  • Interests: Typoesetting (LaTeX, ConTeXt, Typst, roff, Markdown), Automation, Software Verification, Taint Analysis & Code Review, Immutable OS, FIDO & Passkeys, Reverse Engineering, Learning & Teaching, Cryptography, ...
  • Names & Pronouns: lj (they/them, any), Janis (she) or Leo (he)
  • My CLI Shell Usage Graph

My blog is over at https://www.blog.ljrk.org and the place where I cover my bad and worse ideas.

I work at int³ where I do various things but one of our goals is to build a platform to help businesses to do better IT security decisions, leveraging our extensive in that field. Why a platform? Because single consultants don't scale, cost a lot and often don't do good anyway.

ascii-star's People

Contributors

antonhermann avatar aticu avatar jbbgameich avatar ljrk0 avatar man0lis avatar ugniljoz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

jbbgameich

ascii-star's Issues

Feature List

  • Content source support (Plugin-Based; Offset, BPM, etc. to be set by content source URI)
    • Spotify
    • YouTube
    • Soundcloud
    • Local Files
    • Network Server / UPnP
  • Multi-monitor support (Choose displays etc.)
  • Async Communication API
    • Searching for songs
    • Queuing songs by User
    • Look for other people also wanting to sing certain songs, join party?
  • Using Communication API + MultiMonitor: Second Monitor
    • Second-screen for searching/queuing/..., first screen for playing
  • Using Communication API: Network
    • Impl.: Android App
    • Impl.: Web Interface
    • API-Provider
  • CrossPlatform
    • gstreamer dependency evaluation, SDL2?
    • Windows
    • macOS
    • Linux
    • PlayStation
    • XBox
  • GUI
    • Qt/QML?
  • Misc. Feature Parity with ultrastardx
    • ...

Cannot build

Good morning,

In freshly cloned repo, the gstreamer v0.9 crate required by ascii-star does not build for me with neither compiler toolchain:

$ cargo build
… <hundreds of dependencies build sucessfully> …
error[E0596]: cannot borrow `**func` as mutable, as it is behind a `*const` pointer
   --> /home/joz/.cargo/registry/src/github.com-1ecc6299db9ec823/gstreamer-0.9.1/src/iterator.rs:419:8
    |
415 |     let func = func as *const &mut (FnMut(T) -> bool);
    |         ---- help: consider changing this to be a mutable pointer: `*mut &mut dyn std::ops::FnMut(T) -> bool`
...
419 |     if (*func)(value) {
    |        ^^^^^^^ `func` is a `*const` pointer, so the data it refers to cannot be borrowed as mutable

error[E0596]: cannot borrow `**func` as mutable, as it is behind a `*const` pointer
   --> /home/joz/.cargo/registry/src/github.com-1ecc6299db9ec823/gstreamer-0.9.1/src/iterator.rs:435:5
    |
431 |     let func = func as *const &mut (FnMut(T));
    |         ---- help: consider changing this to be a mutable pointer: `*mut &mut dyn std::ops::FnMut(T)`
...
435 |     (*func)(value);
    |     ^^^^^^^ `func` is a `*const` pointer, so the data it refers to cannot be borrowed as mutable

error[E0596]: cannot borrow `**func` as mutable, as it is behind a `*const` pointer
   --> /home/joz/.cargo/registry/src/github.com-1ecc6299db9ec823/gstreamer-0.9.1/src/iterator.rs:453:11
    |
447 |     let func = func as *const &mut (FnMut(U, T) -> Result<U, U>);
    |         ---- help: consider changing this to be a mutable pointer: `*mut &mut dyn std::ops::FnMut(U, T) -> std::result::Result<U, U>`
...
453 |     match (*func)(accum.take().unwrap(), value) {
    |           ^^^^^^^ `func` is a `*const` pointer, so the data it refers to cannot be borrowed as mutable

   Compiling tokio-threadpool v0.1.10
   Compiling tokio-tcp v0.1.3
error: aborting due to 3 previous errors

For more information about this error, try `rustc --explain E0596`.
error: could not compile `gstreamer`.
warning: build failed, waiting for other jobs to finish...
error: build failed

$ rustc -V
rustc 1.42.0 (b8cedc004 2020-03-09)

Updating the gstreamer dependency to v0.15 solves this, but the heavily-changed interface causes ascii-star build to fail nonetheless.

Is there a way around this?

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.