- How to effectively compose your business logic
- Slim your aggregates with Event Sourcing!
- Architecture Weekly Webinar #8 - Slim down your aggregates!
- Straightforward Event Sourcing with TypeScript and NodeJS
- Process Managers Made Simple - Chris Condron - EventSourcing 2021
- Architecture Weekly Wbinar #3 - Implementing Distributed Processes
- Saga and Process Manager - distributed processes in practice
- [Event-driven distributed processes by example](https://event-driven.io/en/event_driven_distributed_processes_by_exam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# courtesy @mrdotb | |
defmodule T do | |
import Ecto.Query | |
alias Your.Repo | |
@doc """ | |
Use runtime data as an adhoc db table to join to data. | |
`types` need to be a compile time string literal. | |
`values` can be runtime supplied. |
Test-Driven Development (Origin)
- Watch Ian Cooper - TDD, Where Did It All Go Wrong
- Read TDD by example
- Study the
Part I: The Money Example
- Exercise: repeat with Ruby
- Study the
- Watch Sandro Mancuso - Does TDD Really Lead to Good Design?
- Read Growing Object-Oriented Software, guided by tests
- Chapter 1: What is the point of Test-Driven Development?
- Chapter 2: Test-Driven Development with Objects
- Chapter 4: Kick-Starting the Test-Driven Cycle
I hereby claim:
- I am lessless on github.
- I am lessless (https://keybase.io/lessless) on keybase.
- I have a public key ASDbUKvZIJvog5Mlht_iCeHuxEbx1u6lZmA_A-EEJbNyPQo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"always_show_minimap_viewport": true, | |
"auto_find_in_selection": true, | |
"bold_folder_labels": true, | |
"caret_style": "wide", | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow Night.sublime-color-scheme", | |
"copy_with_empty_selection": false, | |
"create_window_at_startup": false, | |
"detect_indentation": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Name: build.lib.sh | |
# Author: Ladar Levison | |
# | |
# Description: Used to compile the external dependencies required by magma, and combine them into the magmad.so shared object file. | |
# Preliminary Dependency Matrix | |
# bzip2 -:- |
I hereby claim:
- I am lessless on github.
- I am lessless (https://keybase.io/lessless) on keybase.
- I have a public key ASC8pryUCClC3vPid1p7vrR3-R4oscimVjWnqJ5CjNTgAgo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using elm-starter kit and GMaps JavaScript API create a program, which will display a map with a marker on the left | |
and marker coordinates on the right. | |
JavaScript is responsible for drawing map, listening to a marker position change and sending updated coordinates to the | |
Elm program. Elm program will just output updated coordinates on the page. | |
Possible visual appearance: http://www.awesomescreenshot.com/image/1303608/46dc61234e7baab90cb022ec7ccbd0b4 | |
Things that will help you get started: | |
- Making Web functional https://www.youtube.com/watch?v=XJ9ckqCMiKk#t=28m40s (since 28m 40s) | |
- Elm starter kit https://github.com/splodingsocks/elm-starter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Totally c&p from various places all accross Internet | |
# | |
# Erlang | |
ERLANG_VERSION=${ERLANG_VERSION:-18.3} | |
ERLANG_CACHED_DOWNLOAD="${HOME}/cache/OTP-${ERLANG_VERSION}.tar.gz" | |
ERLANG_DIR=${ERLANG_DIR:="$HOME/erlang"} | |
# Elixir |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
DB_MASTER=xxx | |
DB_BACKUP=yyy | |
# server | |
iptables -A INPUT -p tcp -s $DB_BACKUP --sport 1024:65535 -d $DB_MASTER --dport 5432 -m state --state NEW,ESTABLISHED -j ACCEPT | |
iptables -A OUTPUT -p tcp -s $DB_MASTER --sport 5432 -d $DB_BACKUP --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT | |
#client | |
iptables -A OUTPUT -p tcp -s $DB_MASTER --sport 1024:65535 -d 0/0 --dport 5432 -m state --state NEW,ESTABLISHED -j ACCEPT |
NewerOlder