Luke luvies https://devsprime.com I make things because I can mostly.

push eventluvies/dynamic-dns-sync

Luke Davies

commit sha 26ed64c6e8f5099e1f7664c6d2c86fee5a13c091

Updated README

view details

push time in 3 days

push eventluvies/dynamic-dns-sync

Luke Davies

commit sha b05be79c1cf30d2d40b78351d25e17e073582bc5

Updated docs

view details

push time in 3 days

created tagluvies/dynamic-dns-sync

tagv0.2.0

Keeps domains in sync with a rolling IP address

created time in 3 days

push eventluvies/dynamic-dns-sync

Luke Davies

commit sha 21a219afad5c416d4ac073078e268036e042b7ac

Improved r53 env loading

view details

Luke Davies

commit sha 5c9420ba2199baaaa253408de4ee1d84e044cc58

Updated docs

view details

Luke Davies

commit sha a285eda642377ff017bb47469f85469d64941a24

v0.2.0

view details

push time in 3 days

created tagluvies/dynamic-dns-sync

tagv0.1.0

Keeps route 53 & FreeDNS domains in sync with a rolling IP address

created time in 3 days

push eventluvies/dynamic-dns-sync

Luke Davies

commit sha e4ecc842135e0bc4e58d905ffc551dd106d43d74

Added setup logs

view details

Luke Davies

commit sha 0d6ef350b4f44f0060a3a8eb065c97e832b1a2dd

v0.1.0

view details

push time in 3 days

push eventluvies/dynamic-dns-sync

Luke Davies

commit sha ed7c1ed7abc95cf90bf5cbc8134ce4a56c43aeba

Added route 53 support

view details

Luke Davies

commit sha ed82ddddd7b55faf7fe20504d5e0e3141821b26a

Added Dockerfile

view details

push time in 3 days

push eventluvies/dynamic-dns-sync

Luke Davies

commit sha 00bc28812076a962245d2a4d3156a0f8adae58d0

Implemented base DNS update loop

view details

push time in 3 days

push eventluvies/domain-dns-sync

Luke Davies

commit sha 1cdeb105a18a74eb1baed2cb47833508c4112e7d

Added test script

view details

push time in 3 days

push eventluvies/domain-dns-sync

Luke Davies

commit sha 2fd09c756b99cc7cc1a9c6287be9b5fa468a5214

Updated linting & added CI config

view details

push time in 3 days

create barnchluvies/domain-dns-sync

branch : master

created branch time in 3 days

created repositoryluvies/domain-dns-sync

Keeps route 53 & FreeDNS domains in sync with a rolling IP address

created time in 3 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 8827d71d8155de3e7ba411652905653464a00666

Implemented deserialisation validation

view details

push time in 4 days

startedjustjavac/vscode-deno

started time in 7 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha b8fb367b2eaba4e8f7f9dc6c0061f04424fa7af9

Small type & logic adjustments

view details

push time in 9 days

issue closeddenoland/deno

Return floating point number from performance.now()

(Following from #1630) Currently performance.now() returns an integer in milliseconds, however the spec says that we need to return a double that is precise to around 5µ (microseconds).

We need to consider the security that browsers currently enforce to mitigate things like spectre (mentioned here). There is also discussion on providing a flag to deno that disables this security feature in favour of higher-precision benchmarks (something akin to --allow-high-precision). This would mostly line up with browser behaviour, since Firefox supports disabling the rounding via preferences.

closed time in 13 days

luvies

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 25677eb9de3f63964a55a992bc866e38c6f13cba

Moved to clib imports

view details

Luke Davies

commit sha 6c39a0c4f5c672a3bbf95aa4665865bb703ca82a

Adjusted entry header extension

view details

push time in 13 days

push eventPlentyOfThings/micro-edge-client

Luke Davies

commit sha 5c80e52186dc91aa8e9a85becdd881b8a500b596

Implemented custom ping IPSO object

view details

Luke Davies

commit sha 86bdde75bfc5e7c884bd5a30fc5642f4fa1705de

Bumped bson lib

view details

push time in 14 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha c2fcdbb8cae609abfd6e3b12885ee4971c8d9271

Standardised naming

view details

push time in 15 days

startedaspnet/AspNetCore

started time in 16 days

created tagluvies/node-business-rules

tagv0.4.0

A JS-expression-based rules engine

created time in 16 days

push eventluvies/node-business-rules

Luke Davies

commit sha 6e585d0772d6b2528a74adf2d08aa79a8282f6ce

v0.4.0

view details

push time in 16 days

delete branch luvies/node-business-rules

delete branch : feature/custom-indexing

delete time in 16 days

push eventluvies/node-business-rules

LukeD

commit sha d48e61ea68d2703fe934eded9f3adc4453787f36

Adjusted tsconfig

view details

LukeD

commit sha 5e5c84474f3994f361fb5e60197351113954015f

Added custom member checking

view details

LukeD

commit sha ebcee31b0753120ffe5c1fcc9107017d48cb82ec

Added string & convert contexts

view details

LukeD

commit sha d22df49c4d5e8c44bb279e7510ee677abf042285

Fixed member access bug

view details

LukeD

commit sha 690ae41855ab68df1faca1358bf384c235581724

Added string & context tests

view details

LukeD

commit sha 88988edf61f67c8100522e099184fb0a133450b1

Adjusted variable naming

view details

Luke

commit sha 37f8d6b1e06706c1fa02ab09194c99ace696f9c6

Merge pull request #10 from luvies/feature/custom-indexing Feature/custom indexing

view details

push time in 16 days

PR merged luvies/node-business-rules

Reviewers
Feature/custom indexing

Adds the ability to use custom member checks instead of the hard-coded hasOwnProperty check. This allows members on the prototype to be accessed in a secure manner.

The own property check is available as a function, but is not enabled by default, meaning that it will default to the most secure instance. This means that, by default, only the top-level variables of the context are accessible. The rule engine has been updated to enable property access by default.

A couple of contexts have also been added

+311 -85

0 comment

9 changed files

luvies

pr closed time in 16 days

Pull request review commentluvies/node-business-rules

Feature/custom indexing

 export class ExpressionEvaluator {       throw new ExpressionError(`Cannot index with type ${typeof property}`);     } -    if (typeof value.value === 'object') {-      if (value.value.hasOwnProperty(property.value)) {-        return {-          value: (value.value as any)[property.value],-          nodes: 1 + value.nodes + property.nodes,-          functionCalls: value.functionCalls + property.functionCalls,-        };-      } else {-        throw new ExpressionError(`Value does not have property ${property}`);+    if (this._memberChecks) {+      for (const checkFn of this._memberChecks) {+        if (checkFn(value.value, property.value)) {

fn is standard and i've used it for years :triumph:

luvies

comment created time in 16 days

push eventluvies/node-business-rules

LukeD

commit sha 88988edf61f67c8100522e099184fb0a133450b1

Adjusted variable naming

view details

push time in 16 days

Pull request review commentluvies/node-business-rules

Feature/custom indexing

 export class ExpressionEvaluator {       throw new ExpressionError(`Cannot index with type ${typeof property}`);     } -    if (typeof value.value === 'object') {-      if (value.value.hasOwnProperty(property.value)) {-        return {-          value: (value.value as any)[property.value],-          nodes: 1 + value.nodes + property.nodes,-          functionCalls: value.functionCalls + property.functionCalls,-        };-      } else {-        throw new ExpressionError(`Value does not have property ${property}`);+    if (this._memberChecks) {+      for (const checkFn of this._memberChecks) {+        if (checkFn(value.value, property.value)) {

I don't think the name here matters all that greatly, but I'll adjust it to memberCheckFn, since that follows the config property name.

luvies

comment created time in 16 days

Pull request review commentluvies/node-business-rules

Feature/custom indexing

 export class Rules {     graph: DependencyGraph,     resultListener: ResultListener<RuleResult>,   ): Promise<RuleResult> {-    const context = {-      rule: async (targetId: string) => {-        // Resolve aliases.-        if (this.aliases) {-          const alias = this.aliases.get(targetId);--          if (alias !== undefined) {-            targetId = alias;+    const evaluator = new Evaluator({+      // Build up context using custom functions and various defaults.+      context: {+        rule: async (targetId: string) => {+          // Resolve aliases.+          if (this.aliases) {+            const alias = this.aliases.get(targetId);++            if (alias !== undefined) {+              targetId = alias;+            }           }-        } -        // First check if it will create a circular dependency.-        // This throws an error if it will otherwise stores it.-        graph.addDependency(id, targetId);-        const ruleResult = await resultListener.wait(targetId);-        return ruleResult.value;+          // First check if it will create a circular dependency.+          // This throws an error if it will otherwise stores it.+          graph.addDependency(id, targetId);+          const ruleResult = await resultListener.wait(targetId);+          return ruleResult.value;+        },+        Math: MathContext,+        String: StringContext,+        Convert: ConvertContext,

I think that isn't very clear at all what is going on, especially the single letter ones. Adding String and Number to the global context might be alright, since that's closer to JS, but I don't see the point on adding either single letter ones, or the JS-like ones under Convert (since it wouldn't make any sense to use them)

luvies

comment created time in 16 days

PR opened luvies/node-business-rules

Feature/custom indexing

Adds the ability to use custom member checks instead of the hard-coded hasOwnProperty check. This allows members on the prototype to be accessed in a secure manner.

The own property check is available as a function, but is not enabled by default, meaning that it will default to the most secure instance. This means that, by default, only the top-level variables of the context are accessible. The rule engine has been updated to enable property access by default.

A couple of contexts have also been added

+311 -85

0 comment

9 changed files

pr created time in 17 days

create barnchluvies/node-business-rules

branch : feature/custom-indexing

created branch time in 17 days

push eventPlentyOfThings/micro-edge-client

Luke Davies

commit sha 5bb49f3de1aecafc6c56a963c8fbaf3db15e61c4

Bumped bson lib

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 4f629982a0ce5091612d8aaaedfabccc5a2bc447

Adjusted method naming

view details

push time in 17 days

push eventPlentyOfThings/micro-edge-client

Luke Davies

commit sha b1449980a4de938df9b68841b8a786b53c71910c

Bumped bson lib

view details

Luke Davies

commit sha a78648774a84ea66fad269482fc69d908d729b01

Added gitignore symlink to MEC

view details

Luke Davies

commit sha 9e37873f89be36c4a33cf6a973596e8d7db0ce86

Bumped bson lib

view details

Luke Davies

commit sha 90cd96b5c1688384725dd2f60f473360622a8da5

Implemented basic IPSO object

view details

Luke Davies

commit sha f86aa74d277d6e11167f9bab49292b88ee26e16d

Reworked IPSO constant definitions

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 33ed83f513573862e8372c72b286707677b4c0c0

Fixed missing include

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 915ae161170172ee8c8d41b589ddc22c3511895a

Disabled array copy

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 0bea23ee1770917db6ed84a0f263a0eece7190e1

Added integer key overloads to append methods

view details

push time in 17 days

push eventPlentyOfThings/micro-edge-client

Luke Davies

commit sha c6b9e99b80c5744ecf6ae627ea88c736eb5f58f5

Updated clang-format

view details

Luke Davies

commit sha 409387904357119cee2076594b35266117257c5e

Added BSON lib

view details

Luke Davies

commit sha c70fd45f4150ab25ed362a87d358c950362816b8

Added vscode config for lib usage

view details

Luke Davies

commit sha 1dfa0c3a519feecb151ca3f31fd2294fb1dcc60d

Adjusted MEC source naming

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 832370ee4550deb144c4c5bd3364e27b4d3f37fb

Adjusted source tree to allow nicer includes

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 12400e0cccf595b39e7e258e63b027d7722f9abe

Added buffer overflow test

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 82d322fac7b6f721452918bdae83f32b10a69139

Added lambda append wrappers and complex doc test

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 5b3b8946b1d528db9ed4d575bfeef6669fe40ba3

Attempted to disable sudo on travis

view details

push time in 17 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha f317117d5add1f2a633b8798c462c4502f043c31

Reworked serialization to remove lambdas Lambdas only work properly with the STL, which we don't want to use here

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 46a239eec594d8b95507fa2fc701ef9ce649f0ec

Renamed append functions

view details

Luke Davies

commit sha c489c43fd53217fa443af49229dca392148ffe23

Adjusted test names

view details

Luke Davies

commit sha 12723e867c15e8ce67fe277306b93367ff9d64b3

Adjusted parent constructor & added nested doc test

view details

Luke Davies

commit sha a972b77785142e586e6cceea983e14e6b734c559

Added remaining simple tests

view details

Luke Davies

commit sha 7670e963b5c39ac5c0ab246669deffefc8166759

Added array test

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha fd511fb19f92018c5f6b4880ea328b78690cdcfc

Removed old test entry point

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha e1ed285ce9aebbf6661a1c0c9abded24cd68dfac

Added build status

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 48cbe35a340abf0523a6eb6b74025e647c8e0833

Removed stdlib from clang

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 71fdbc71120699eb169b9b579ff228dbf730a904

Adjusted travis compiler

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha b62a9dffd1282014bd9ed1803c17ac0fefd68e45

Adjusted clang path

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 1af1a00e10ae4a8a16291482ecb943e6b4d85ae6

More travis adjustments

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha b4113305fc918b3ae0297d89284bcee9a9aadad6

Added math library to clang

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha bd7182bd981f1a15ae305a9603f624bd55302d0c

Attempted permissions fix

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha c34f0b6ae067dbe9d159bc3e7ecf000ce1084a57

Adjusted pip install

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 689777affb94fbc65189313de1eb46ed7e7eaac4

Attempted to get travis pip3 working

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 697de4d91208d7ed6dd5ca5bca49b95d84eaf77b

Adjusted clang-format

view details

Luke Davies

commit sha e536d58b11f69949be597acc10c3bab7d58fcf74

Dropped gtest lib

view details

Luke Davies

commit sha b3fba4ca3eb4ecc7aad5d864f05768a56cab88a8

Added cxxtest

view details

Luke Davies

commit sha 17b7e2409e6c2d78612c524974bf862a20b141b9

Moved to cxxtest & added basic test suite

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 9ba3b026a88b2e0cf46511ecb7f2f78d848cb179

Disabled travis fuck this

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 71ff63a051510bec4155b210fcc29c60795e7f42

Attempted travis env fix

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 7a43e372cd34eb4a13a7ac55aff6cb6725a6cf2e

Attempted to get travis working yet again

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha d8d46bf73484697746fccab639b4864deb15c074

Even more travis fixes

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 3941713d7e0f67b6abf43d4fea969b11129b9fc7

Move travis fixes

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 5fc28b98ea84877dccb1cae7b2f24bbf20f28218

Added clang to travis

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 72b51dc3e574d5deb97c5c3dc59464ec2a385045

Attempted travis cmake fix

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 744d9b257842fa0b080ad6e7e5c84095bf1d400a

Disabled format checking in travis

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 6877e79cc7521eb441a4dc9991da0a8e1939908e

Moved to manual apt-get in travis

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha c4e9087a6f9e01302774c4a0be290ff5226f8452

More travis stuff

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 1952c71b91d0e644f6462abc749bbf6263ebeced

Attempted travis config fix

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 1e59d60208c5e2048bf93a2bd4464bcd3c333dad

Updated travis config

view details

push time in 18 days

create barnchPlentyOfThings/cpp-bson

branch : master

created branch time in 18 days

created repositoryPlentyOfThings/cpp-bson

A C++ BSON serialiser and deserialiser

created time in 18 days

create barnchPlentyOfThings/cpp-bson

branch : master

created branch time in 18 days

created repositoryPlentyOfThings/cpp-bson

A C++ BSON serialiser and deserializer

created time in 18 days

create barnchPlentyOfThings/cpp-bson

branch : master

created branch time in 18 days

created repositoryPlentyOfThings/cpp-bson

A C++ BSON serialiser & deserialiser

created time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha a6b5a1c26321d8eb343c8681522b7e5d1df57157

Added formatting check

view details

Luke Davies

commit sha 56d43d766e1d9cf731f9044a40d245d6267bdc15

Added travis yml

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 6a5992686d83ebab3436b0ab7258f37b01a61cd5

Adjusted lib headers

view details

Luke Davies

commit sha 7ae6351463ffbc9147d74e45c88e2e5223a1bee5

Added gtest library

view details

Luke Davies

commit sha 980b283a7d30361fe0894ea126d8f36079fe14b7

Added test runner

view details

push time in 18 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha e7a3c05a618a2778d7bf14c31a8c05a9d155d173

Initial serialiser implementation

view details

push time in 19 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 63e624fb422a9b20b7f321a6c6e2391f5546d0c9

Added end calls to child doc/arr append

view details

Luke Davies

commit sha 1dcd83727a16daa7c34f0b905e4c382454307f1d

Added build static method

view details

push time in 19 days

push eventPlentyOfThings/micro-edge-client

Luke Davies

commit sha 0f0dbea0f5de0bdf9298008a50a40113ffc084f0

Adjusted enum naming

view details

Luke Davies

commit sha d4221741198c32b1cb84c5536543f601444bb35a

Added clang format config

view details

push time in 19 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 9ef4367b7e5421c6d4547d8299625f32302d1298

Implemented preliminary interface & buffer management

view details

push time in 19 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 2da766ed0f92400ad54889b809ed0e9f27d2acc3

Adjusted naming scheme

view details

push time in 19 days

push eventPlentyOfThings/cpp-bson

Luke Davies

commit sha 90aac6c1f8acbb2b001dad745a6535a915084ede

Initial serialiser spec

view details

push time in 20 days

create barnchPlentyOfThings/cpp-bson

branch : master

created branch time in 20 days

created repositoryPlentyOfThings/cpp-bson

A C++ BSON serialiser and deserialiser

created time in 20 days

push eventPlentyOfThings/micro-edge-client

Luke Davies

commit sha 728ff8b852824b863c774651b04f2a20826d5775

Dropped unnecessary sources & configs This repo is moving from a generic edge client monorepo to being the MEC repo

view details

push time in 20 days

push eventPlentyOfThings/edge-clients

Luke Davies

commit sha 24ef741e880216fbdb6f5a5d6de12c6f4b694744

Adjusted file extensions

view details

push time in 21 days

push eventPlentyOfThings/edge-clients

Luke Davies

commit sha 5f37e890121254a68732de18df1e173ab0d9f8c0

Adjusted file extensions

view details

push time in 21 days

push eventPlentyOfThings/edge-clients

Luke Davies

commit sha 6471b0772abd0584e8c415ebd6ce759f6eb86740

Adjusted targets layout

view details

push time in 21 days

create barnchPlentyOfThings/edge-clients

branch : master

created branch time in 21 days

created repositoryPlentyOfThings/edge-clients

The low-level edge clients for PoT

created time in 21 days

push eventluvies/monitel

Luke Davies

commit sha 4c24ba72d87bf5a90e7bee93013c4377f8114402

Added communication standards to README

view details

push time in 21 days

created tagluvies/node-business-rules

tagv0.3.0

A JS-expression-based rules engine

created time in 22 days

push eventluvies/node-business-rules

LukeD

commit sha b063b181c734054fbc56c2ba60192fc42ab2b9ae

v0.3.0

view details

push time in 22 days

push eventluvies/node-business-rules

LukeD

commit sha 0c3c86198f22240bdc8d545108615f655a914b30

Added rule name aliasing

view details

push time in 22 days

push eventluvies/monitel

Luke Davies

commit sha de71f9813f715c59f46971e0a33d1d1e241514b6

Added reference

view details

push time in 22 days

push eventluvies/monitel

Luke Davies

commit sha d255edd4045517776fc0463ae864ea8276bfcfb6

Iterated all IPSO resources & objects

view details

Luke Davies

commit sha b1c4e8b9cdc3fccdf2094f22b4998cf392e63e8a

Adjusted namespacing

view details

Luke Davies

commit sha c042466259516edba710ab8c80b1beb5bf052e6f

Adjusted file layout

view details

push time in 22 days

created tagluvies/node-business-rules

tagv0.2.0

A JS-expression-based rules engine

created time in 22 days

push eventluvies/node-business-rules

Luke Davies

commit sha 76445a2844afb9625de18fee6e896cb1a097f080

v0.2.0

view details

push time in 22 days

push eventluvies/node-business-rules

Luke Davies

commit sha 4f77be65717743a008369fed96b1f8d3242d3fe4

Added index

view details

push time in 22 days

push eventluvies/monitel

Luke Davies

commit sha f10b45bbca07635759a519554be18dd27fb3eb71

Moved IPSO definitions to enum

view details

push time in 24 days

push eventluvies/monitel

Luke Davies

commit sha 3eb8767ac3634be59ac8b60cf96ce322761bb9a1

Initial IPSO definitions

view details

push time in 24 days

more