Code Monkey home page Code Monkey logo

cs-notes's Introduction

Hi there ๐Ÿ‘‹

I'm Mark (he/him). I work as a customer-facing software engineer and tinker with tech in my free time. I'm a big fan of OSS, TypeScript, Docker, home automation and self hosting. I tend to aggressively (over)-use containerisation and orchestration everywhere - if it's not in Compose, Ansible or Git, it's not real.

Things I Publish / Maintain

๐Ÿณ = Docker image; ๐ŸŒ = web app; ๐Ÿ› ๏ธ = library; ๐Ÿš€ = other things

๐Ÿณ borg-prometheus-collector Prometheus collector for Borg backup repositories
๐Ÿณ iperf-prometheus-collector Prometheus collector for monitoring network throughput via iperf3
๐Ÿณ speedtest-prometheus-collector Prometheus collector for Speedtest.net tests
๐Ÿณ darwin-to-mqtt Util for publishing National Rail train departures to MQTT
๐Ÿณ speedtest-to-mqtt Util for tracking speedtest.net results and publishing them to MQTT
๐Ÿณ cloudflare-dns-updater Util for updating Cloudflare DNS records to point at your current IP
๐ŸŒ ๐Ÿณ atlas Super-simple "where I've been in the world" tracker web app
๐Ÿ› ๏ธ @markormesher/eslint-config Opinionated default ESLint config
๐Ÿš€ Android FAB Android floating action button + speed-dial menu UI component

cs-notes's People

Contributors

markormesher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cs-notes's Issues

Possible OME Error in SUCCESSIVE_SP function code?

The function SUCCESSIVE_SP on page 31 may have an error. On line 25, your code uses '+' to combine the existing and new flow, however on the Slides it is using xor 'โŠ•'. Not sure if the '+' is also acceptable but I thought I'd point it out.

Year 4/OME Algorithm Error

On page 10 where Bellman Ford is illustrated, the algorithm contains the return true statement, indicating no negative cycles, inside the for loop when it should be outside, meaning it returns true after every edge has been checked.

Currently

fun BELLMAN๔€€€FORD(G, w, s):
2
3 // run initialisation and relaxation:
4 INITIALISE(G, s)
5 for i from 1 to n ๔€€€ 1, do:
6   for each edge (u, v) in G, do:
7     RELAX(u, v, w)
8
9 // determine outcome:
10 for each edge (u, v) in G, do:
11   if (d[v] > d[u] + w(u, v)):
12     return FALSE // negative cycle reachable from s
13 else:
14     return TRUE

Should be:

fun BELLMAN๔€€€FORD(G, w, s):
2
3 // run initialisation and relaxation:
4 INITIALISE(G, s)
5 for i from 1 to n ๔€€€ 1, do:
6   for each edge (u, v) in G, do:
7     RELAX(u, v, w)
8
9 // determine outcome:
10 for each edge (u, v) in G, do:
11   if (d[v] > d[u] + w(u, v)):
12     return FALSE // negative cycle reachable from s
13 return TRUE

typo

Amazing notes Mark! ๐Ÿ‘

There's a typo for OM, page 21, under residual capacity:

f(u,v) should equal 3 in the example, currently it's f(u,v) = 2.

Markdown

It would be cool if these notes go on to be used by other students in the future. It would be even cooler if those students could add to them and fix the odd typo. Is it worth converting these notes to Markdown so others can easily make suggestions?

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.