I hereby claim:
- I am bobbrez on github.
- I am bobbrez (https://keybase.io/bobbrez) on keybase.
- I have a public key whose fingerprint is 71AA E2C8 2FE0 DD07 9197 10BF 5658 1DDF C278 1BCC
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'redis' | |
class Redis | |
REDIS_RPOPZADD = " | |
local value = redis.call('zrange', KEYS[1], -1, -1)[1] | |
local score = redis.call('zscore', KEYS[1], value) | |
redis.call('zremrangebyrank', KEYS[1], -1, -1) | |
redis.call('zadd', KEYS[2], score, value) | |
return { value, score }" | |
def rpopzadd(source, dest) |
SDP will add the ability to use queues with a scored priority using the SortedSet functionality in Redis. This will allow projects to add jobs to a dynamic queue with a numeric priority score. Jobs will then be processed from highest priority to the lowest. If a job is added with the highest priority, it will then be the next job to get pulled from the queue.
This will transparently augment the functionality in Sidekiq and will only provide additive functionality.
As an example, a dynamic priority queue exists with workers Alpha and Beta. At time(0)
the queue exists but workers have not pulled any jobs yet:
Scala 2.10 requires Java 7 (vs Java 8).
Download the Java SE SDK and install.
Verify that Java 1.7 is installed
$ java -version
sudo kextunload -b com.apple.driver.AppleUSBFTDI | |
sudo kextutil -b com.apple.driver.AppleUSBFTDI -p AppleUSBEFTDI-6010-1 |
#include <WiFi.h> | |
#include <WiFiUdp.h> | |
#include <FastLED.h> | |
#include <Artnet.h> | |
#include "common.h" | |
#define DMX_ID "test-03" | |
#define DMX_LONGNAME "TEST 03" | |
#define DMX_SHORTNAME DMX_ID |
There's a lot to learn and its easy to fall down a few different rabbit holes. What I recommend is starting with a simple app that mimics the core 80% of functionality found in most apps and then expanding from there. This way you get to learn as you go but all the while have the basis for something that can actually be deployed (vs feeling just like a toy to start all over again from.)
We're going to build an app that will enable people to find or become remote coaches to others. This is a classic two-sided market app, where the value is in connecting two people together based on specific criteria.
resource "aws_acm_certificate" "vpn_server" { | |
domain_name = "vpn.${var.zone_domain}" | |
validation_method = "DNS" | |
lifecycle { | |
create_before_destroy = true | |
} | |
} | |
resource "aws_acm_certificate_validation" "vpn_server" { |