Search:

Found 952 videos

Sudoku AI solving 16x16 puzzle by Animations
00:56

Sudoku AI solving 16x16 puzzle

Animations   |   1 views   |   2020-06-07

Code: https://gitlab.com/theoden8/sdsolve/ Visualized using matplotlib, to generate frames, and ffmpeg, to combine them.

Sudoku solving 9x9 using Knuth's Algorithm X by Animations
00:18

Sudoku solving 9x9 using Knuth's Algorithm X

Animations   |   10 views   |   2020-06-07

This video does not explain how Algorithm X works, you can learn that through [code](https://github.com/theoden8/sdsolve/blob/89e4d27fded221d8a23568b4dd261536fab58f4c/algx.c) or [paper](https://www.ocf.berkeley.edu/~jchu/publicportal/sudoku/001104...

Variations of sorting algorithms by Animations
02:26

Variations of sorting algorithms

Animations   |   6 views   |   2020-06-07

Sorting algorithms: bubble (cocktail) sort, selection sort, insertion sort, shell sort, heapsort, quicksort, conceptual in-place mergesort, optimized in-place mergesort. Bulk copying is enabled to account for speedups when bigger blocks can be ...

Contact tracing in the background on iOS by Dodgy Coding
05:56

Contact tracing in the background on iOS

Dodgy Coding   |   59 views   |   2020-04-28

A short demonstration of the Australian COVIDSafe app and how its Bluetooth connectivity is affected by putting the app in the background.

Simultaneous open - TCP without a server by Dodgy Coding
13:58

Simultaneous open - TCP without a server

Dodgy Coding   |   64 views   |   2020-04-13

A fun quirk of TCP/IP is that you can create a connection without a listening socket. In this video we briefly review how that works, then write a Rust program to trigger the unusual behaviour on real Linux hosts. Code: [https://github.com/thom...

Async/await server pt.4 - timeouts by Dodgy Coding
07:30

Async/await server pt.4 - timeouts

Dodgy Coding   |   8 views   |   2020-03-21

A gentle exploration of building a identd for Linux using async/await and tokio 0.2. This part demonstrates halting an await after a configurable time limit, both using tokio's timeout() helper and with the select! macro from the futures crate.

Async and its alternatives by Dodgy Coding
14:23

Async and its alternatives

Dodgy Coding   |   7 views   |   2019-10-19

Rust libraries come in a variety of API styles and futures are just one option. In this video we compare and contrast four styles from three crates: 1. Synchronous blocking functions (websocket) 2. Single thread reactor (ws-rs) 3. Non-blockin...

Video_Presentation_FabriqueNumeriqueTerritoire_laFabulerie by LaFabulerie_Events
02:26

Video_Presentation_FabriqueNumeriqueTerritoire_laFabulerie

LaFabulerie_Events   |   5 views   |   2019-10-16

La Fabulerie, fabrique numérique et tiers-lieu culturel fait vivre depuis 2010 des projets innovants qui tentent d’ouvrir la connaissance au plus grand nombre, stimuler les imaginaires et décrypter ce monde en régime numérique, de façon à, notamme...

Cancelling Tokio Intervals by Dodgy Coding
12:03

Cancelling Tokio Intervals

Dodgy Coding   |   11 views   |   2019-09-21

A discussion of how futures are given to an async executor and later dropped. Examples of cancelling an Interval stream by erroring out of for_each, and by selecting against another future.

Type erasure in Rust/C FFI — structs, generics, trait objects by Dodgy Coding
21:20

Type erasure in Rust/C FFI — structs, generics, trait objects

Dodgy Coding   |   22 views   |   2019-08-18

Exploring how to create data structures that are owned by C and pass pointers back to Rust to operate on them. This is easy for a basic struct but when you introduce generics or traits, things get interesting. Content warning: inadvisable C code.

Tokio I/O futures by Dodgy Coding
11:33

Tokio I/O futures

Dodgy Coding   |   12 views   |   2019-07-07

Experiments with tokio’s lines() function, fold(), and a custom multi-stage future with inner futures and the try_ready macro. With this episode, we are now up to four sub-optimal ways to count the number of lines in a file.

Making a leaf future for tokio by Dodgy Coding
14:55

Making a leaf future for tokio

Dodgy Coding   |   16 views   |   2019-06-30

I play around with a standalone future to see how the tokio executor’s polling works in practice. I then adapt a callback-based API to work with futures, including a full implementation of a leaf future that transitions from NotReady to Ready.

Rust Autocomplete and Debugging in VS Code by Dodgy Coding
07:28

Rust Autocomplete and Debugging in VS Code

Dodgy Coding   |   113 views   |   2019-06-23

Visual Studio Code is a convenient cross-platform environment for writing Rust code. By installing and configuring a few extra plugins—Better TOML, RLS and CodeLLDB—it can quickly become a full-fledged IDE. Nightly components status Mac: https...

Soft robot bipedal gait by Main s1512783 channel
00:51

Soft robot bipedal gait

Main s1512783 channel   |   89 views   |   2019-04-06

Two-legged gait developed by a model-based reinforcement learning controller after ~30 min of training.

Soft robot undulating gait by Main s1512783 channel
00:53

Soft robot undulating gait

Main s1512783 channel   |   34 views   |   2019-04-06

Undulating gait pattern developed by a model-based reinforcement learning algorithm after 30-50 minutes of training.

PWM pressure control system by Main s1512783 channel
01:30

PWM pressure control system

Main s1512783 channel   |   18 views   |   2019-03-16

Simple PWM system for controlling pressure, here used to 'break in' a silicone baloon. The input pressure is 1 bar. First I set the pressure to 1.8 bar to expand the baloon as much as possible, then I immediately decrease it to 0.5 bar, and ...

Food container -> Vacuum Chamber by Main s1512783 channel
01:42

Food container -> Vacuum Chamber

Main s1512783 channel   |   23 views   |   2019-03-16

A poor man's vacuum chamber made from a food container. Don't try this at home unless you know what your doing - these things can implode with quite a bang I'm being told.