I hereby claim:
- I am joshuafox on github.
- I am joshuafox (https://keybase.io/joshuafox) on keybase.
- I have a public key ASA7NpqoM0BdtWHpgHjB6Ik6N0BEku6OCSVgwgq3BIAnBwo
(defn square [x] (* x x)) | |
(defn squares [] (map square (range 4))) |
public static List<Integer> main() { | |
List<Integer> result = new ArrayList<>(); | |
for (int i = 0; i < 4; i++) { | |
result.add(i * i); | |
} | |
return result; | |
} |
public static List<Integer> main() { | |
List<Integer> result = new ArrayList<>(); | |
for (int i = 0; i < 4; i++) { | |
result.add(i * i); | |
} | |
return result; | |
} |
public static List<Integer> main() { | |
List<Integer> result = new ArrayList<>(); | |
for (int i = 0; i < 4; i++) { | |
result.add(i * i); | |
} | |
return result; | |
} |
~ % dig joshuafox.com | |
;; ANSWER SECTION: | |
joshuafox.com. 3600 IN A 185.199.109.153 | |
joshuafox.com. 3600 IN A 185.199.108.153 | |
joshuafox.com. 3600 IN A 185.199.110.153 | |
joshuafox.com. 3600 IN A 185.199.111.153 |
resource.type="datastore_database" | |
protoPayload.methodName="google.datastore.admin.v1.DatastoreAdmin.ExportEntities" |
ExecutorProvider executorProvider = | |
InstantiatingExecutorProvider.newBuilder().setExecutorThreadCount(4).build(); | |
Publisher.Builder builder = | |
Publisher.newBuilder(ProjectTopicName.of(proj, topic)).setExecutorProvider(executorProvider); |
//Thanks to ajaaym https://github.com/googleapis/java-pubsub/issues/27#issuecomment-538508100 | |
final ExecutorProvider fixedExecutorProvider = FixedExecutorProvider.create( | |
new ScheduledThreadPoolExecutor(1)); //adjust the size | |
Publisher publisher = | |
Publisher.newBuilder("topic_name") | |
.setExecutorProvider(fixedExecutorProvider) | |
.setChannelProvider( | |
PublisherStubSettings.defaultGrpcTransportProviderBuilder() | |
.setExecutorProvider(fixedExecutorProvider) | |
.setChannelConfigurator( |
I hereby claim: