Author Archives: tim

Intel 14700K

This is a new computer build. Some facts on the CPU: it is currently #89 on PassMark [53,737] cpubenchmark.net, with a turbo speed of 5.6 GHz and TDP of 125W to 253W. It is 20 cores/28 threads, first seen Q4 … Continue reading

Posted in Computer Builds | Comments Off on Intel 14700K

Better pattern for @Autowired

Just ran across this in a video about Spring Boot by Frank Moley and I thought it deserved a callout. When creating your Beans (e.g. Controller), you can either: @RestController() public class ItemController { @Autowired; private ItemService itemService; Or you … Continue reading

Posted in Software Project, Uncategorized | Comments Off on Better pattern for @Autowired

Argo CD notes

Argo CD (github source) is a Continuous Delivery tool done “GitOps” style. Here, that means keeping all of your (Kubernetes) application definitions and configurations under source code control (git). Assuming you follow GitOps CI/CD best practices of separate repositories (one … Continue reading

Posted in Software Engineering | Comments Off on Argo CD notes

Add HTTPS lock to AWS S3

The goal was to change the “Not secure” banner to the little lock (aka enable https) for timtiemens.com. Previously, that site was hosted using only AWS S3 – which does not support “https”. This is the documentation for the final … Continue reading

Posted in Software Project | Comments Off on Add HTTPS lock to AWS S3

Design Problem from Tic Tac Toe

It is fascinating how quickly a simple problem can escalate to a very difficult design problem. Here are the major pieces needed to frame one of these difficult problems in Tic Tac Toe: CellValue : X, O, EMPTY Board : … Continue reading

Posted in Software Engineering, Software Project | Comments Off on Design Problem from Tic Tac Toe

compute_total_loss

You’re here because you can’t get the unit tests for the Coursera Improving Deep Neural Networks course, Week 3, exercise number 1, to pass. You are trying to correctly implement def compute_total_loss(logits, labels): And the unit test keeps failing with … Continue reading

Posted in Machine Learning | Comments Off on compute_total_loss

Teraflops Comparison

Documenting some various GPU hardware Name TFLOPssingle precision TFLOPStensor perf (FP16) TFLOPS(FP16-Sparse) Tensorcores CUDA cores RAM RTX 3080Ti 34.1 136 273 320 10,240 12 GB V100 (specs) 14 112 640 5,120 16 GB RTX3070 20.31 184 5,888 8 GB GTX … Continue reading

Posted in Uncategorized | Comments Off on Teraflops Comparison

AWS EC2 GPU instance comparison

These are the results from running the ml-style-transfer project on three different AWS EC2 instance types. Instance Name $Cost/hour 250 epochs 2,500 epochs 50,000 epochs p3.2xlarge $3.06 14s$0.0119 55s$0.0468 928s$0.7888 t2.large $0.093 849s$0.0219 14,676s$0.3791 293,520s(extrapolated)$7.5826 c5.4xlarge $0.68 221s$0.0417 2,152s$0.4065 43,040(extrapolated)$8.1298 … Continue reading

Posted in Hardware, Machine Learning | Comments Off on AWS EC2 GPU instance comparison

Read, Do, Aha

This is a variation of “Be, Do, Have” (“Be, Do Have” == Be a photographer, Do take a bunch of photos, and then Have/Buy expensive equipment). It records my recent epiphany in Machine Learning. This variation is “Read, Do, Aha”. … Continue reading

Posted in Machine Learning | Comments Off on Read, Do, Aha

Another Dell SFF

The goal of this machine was, well, it was basically too inexpensive to pass up. It was refurbished, from SJ Computers LLC. It arrived in a box that used the standard “conform to interior” expanding foam, and was very well … Continue reading

Posted in Computer Builds | Comments Off on Another Dell SFF