I hereby claim:
- I am rocketpuppy on github.
- I am danwilsonthomas (https://keybase.io/danwilsonthomas) on keybase.
- I have a public key ASC5dYzHf2vZI52PPHohvEjdd61-hGIVeoVssAI-Feb9_Qo
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# You can copy this file and make it executable in your ruby repository. | |
# Running it will determine which of your top-level gems need updating and will then update them one-by-one. | |
# It will commit each update separately and push to origin on whatever your current branch is. | |
require 'bundler' | |
require 'bundler/cli' | |
require 'tempfile' | |
require 'time' |
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './index.css'; | |
import { configureStore, createAction, createReducer } from "@reduxjs/toolkit"; | |
import { Provider, connect } from "react-redux"; | |
import * as O from "optics-ts"; | |
import * as R from "redux-consumer-toolkit"; | |
interface State { | |
counter: number; |
boot.kernelPackages = pkgs.linuxPackages_5_7; | |
networking.interfaces.eno1 = { | |
ipv4 = { addresses = [{ address = "192.168.63.4"; prefixLength = 24; }]; }; | |
}; | |
services.openssh.enable = true; | |
services.openssh.permitRootLogin = "yes"; | |
users.users.node = { |
{ | |
cairo = { | |
dependencies = ["native-package-installer" "pkg-config"]; | |
groups = ["default"]; | |
platforms = []; | |
source = { | |
remotes = ["https://rubygems.org"]; | |
sha256 = "0yvv2lcbsybzbw1nrmfivmln23da4rndrs3av6ymjh0x3ww5h7p8"; | |
type = "gem"; | |
}; |
Oct 07 16:40:40 kafka-0 systemd[1]: Started Apache Connect Distributed. | |
Oct 07 16:40:44 kafka-0 apache-kafka-connect-start[5184]: [KAFKA-CONNECT] [2018-10-07 16:40:44,422] INFO Kafka Connect distributed worker initializing ... (org.apache.kafka.connect.cli.ConnectDistributed) | |
Oct 07 16:40:44 kafka-0 apache-kafka-connect-start[5184]: [KAFKA-CONNECT] [2018-10-07 16:40:44,454] INFO WorkerInfo values: | |
Oct 07 16:40:44 kafka-0 apache-kafka-connect-start[5184]: jvm.args = -Xms128M, -Xmx512M, -XX:+UseG1GC, -XX:MaxGCPauseMillis=20, -XX:InitiatingHeapOccupancyPercent=35, -XX:+ExplicitGCInvokesConcurrent, -Djava.awt.headless=true, -Dcom.sun.management.jmxremote, -Dcom.sun.management.jmxremote.authenticate=false, -Dcom.sun.management.jmxremote.ssl=false, -Dkafka.logs.dir=/tmp/apache-kafka-logs, -Dlog4j.configuration=file:/nix/store/5rwwb8avbk3pnp44njz68cs748lz0lwy-log4j.properties | |
Oct 07 16:40:44 kafka-0 apache-kafka-connect-start[5184]: jvm.spec = Oracle Corporation, OpenJDK 64-Bit Server VM, 1.8.0_181, |
# Create and deploy the test cluster, may take a while | |
nixops create -d kafka-test cluster.nix | |
nixops deploy -d kafka-test --force-reboot | |
# Check up on kafka-connect | |
nixops ssh -d kafka-test kafka-0 | |
> journalctl -u apache-kafka-connect.service | |
> systemctl start apache-kafka-connect.service | |
# Tear it down |
I hereby claim:
To claim this, I am signing this object:
Uncle Bob, you recently wrote a post titled Types And Tests. It generated quite a lot of buzz. It was also, in my opinion, a bit naive regarding the current state of affairs in type systems. This made it difficult for me to understand exactly what your points were and I would like to understand those better. To help clarify those I'm going to provide counter examples to your claims and propose other questions that both might help me better understand what you mean. Hopefully someone else finds this useful as well. I'll be using Ruby and Haskell for most code snippets as they are representative of the two sides and I'm most familiar with them right now.
Uncle Bob, you recently wrote a post titled Types And Tests. It generated quite a lot of buzz. It was also, in my opinion, a bit naive regarding the current state of affairs in type systems. This made it difficult for me to understand exactly what your points were and I would like to understand those better. To help clarify those I'm going to provide counter examples to your claims and propose other questions that both might help me better understand what you mean. Hopefully someone else finds this useful as well. I'll be using Ruby and Haskell for most code snippets as they are representative of the two sides and I'm most familiar with them right now.
Here's a response to Uncle Bob's post here: http://blog.cleancoder.com/uncle-bob/2017/01/13/TypesAndTests.html
No, types are not tests. Type systems are not tests. Type checking is not testing. Here’s why.
Types definitely are not tests. Types are stronger than tests. This is a test:
describe 'add' do