diff --git a/deploy.sh b/deploy.sh
index 26efc2d..447a84a 100644
--- a/deploy.sh
+++ b/deploy.sh
@@ -18,12 +18,12 @@ cp ./resume.md-main/resume.pdf $outdir/public/
) > $outdir/app.yaml
cp ./main.go $outdir/
pushd $outdir
-GOOS=linux CGO_ENABLED=0 go build -ldflags "-s -w" -a -installsuffix cgo
+GOOS=linux CGO_ENABLED=0 go build -ldflags "-s -w" -a -installsuffix cgo -trimpath
rm main.go
popd
tar -czf ./deploy.tar $outdir
rm -rf $outdir
-scp -i $HOME/.ssh/remote.blapointe.com ./deploy.tar remote.blapointe.com:./
-ssh -i $HOME/.ssh/remote.blapointe.com remote.blapointe.com bash -c "true; tar -xf deploy.tar; mv $outdir/${outdir##*/} ./services/bin/resume; rm -rf services/lib/resume; mv $outdir/public services/lib/resume; rm -rf deploy.tar $outdir"
+scp -i $HOME/.ssh/gcp.blapointe.com ./deploy.tar gcp.blapointe.com:./
+ssh -i $HOME/.ssh/gcp.blapointe.com gcp.blapointe.com bash -c "true; tar -xf deploy.tar; mv $outdir/${outdir##*/} ./services/bin/resume; rm -rf services/lib/resume; mv $outdir/public services/lib/resume; rm -rf deploy.tar $outdir"
rm -f ./deploy.tar
diff --git a/main.go b/main.go
index 4db3d33..65aeda8 100644
--- a/main.go
+++ b/main.go
@@ -3,7 +3,6 @@ package main
import (
"fmt"
"local/args"
- "local/gziphttp"
"log"
"net/http"
@@ -21,13 +20,11 @@ func main() {
panic(err)
}
+ log.Printf("listening on %v to serve %s at %d rps", as.GetInt("port"), as.GetString("root"), as.GetInt("rps"))
+
s := http.FileServer(http.Dir(as.GetString("root")))
limiter := rate.NewLimiter(rate.Limit(as.GetInt("rps")), as.GetInt("rps"))
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", as.GetInt("port")), http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
- if gziphttp.Can(r) {
- gz := gziphttp.New(w)
- w = gz
- }
if err := limiter.Wait(r.Context()); err != nil {
log.Println("rate limited:", err)
return
diff --git a/resume.md-main/resume.html b/resume.md-main/resume.html
index 3050c11..2b8d905 100644
--- a/resume.md-main/resume.html
+++ b/resume.md-main/resume.html
@@ -17,20 +17,20 @@
Software Developer II
Qualtrics
Oct 2019 – Present
- Designed cross-team database and service migrations for security, customer, and operational pain relief.
-- Lead weekly technical book club and participated in leadership book club and white paper reviews.
+- Led weekly technical book club and participated in leadership book club and white paper reviews.
- Interviewed and mentored entry level candidates.
- Developed and maintained generic, highly available and reliable data storage solutions, ingestion services, and operations tools.
Software Developer I
Qualtrics
Feb 2018 – Oct 2019
-- Deployed the first sharded MongoDB cluster of the company. Acting in-house SME for MongoDB, Couchbase, and Redis operations.
+- Deployed the first sharded MongoDB cluster of the company.
+- Acting in-house SME for MongoDB, Couchbase, and Redis operations.
- Built an extensible framework for no-downtime system patching across services and clusters with modules for five databases.
-Research
+Publications
Arabidopsis thaliana computationally-generated next-state gene interaction models
Jan 2017 – Dec 2017
- Implemented an exponentially more efficient solution than previous work with comparable correctness.
-- Published September 2018
Education
Master of Science, Computer Science
Wake Forest University
Jan 2016 – Dec 2017
diff --git a/resume.md-main/resume.md b/resume.md-main/resume.md
index 2211101..1f715da 100755
--- a/resume.md-main/resume.md
+++ b/resume.md-main/resume.md
@@ -10,21 +10,21 @@
### Software Developer II
Qualtrics
Oct 2019 -- Present
- Designed cross-team database and service migrations for security, customer, and operational pain relief.
- - Lead weekly technical book club and participated in leadership book club and white paper reviews.
+ - Led weekly technical book club and participated in leadership book club and white paper reviews.
- Interviewed and mentored entry level candidates.
- Developed and maintained generic, highly available and reliable data storage solutions, ingestion services, and operations tools.
### Software Developer I
Qualtrics
Feb 2018 -- Oct 2019
- - Deployed the first sharded MongoDB cluster of the company. Acting in-house SME for MongoDB, Couchbase, and Redis operations.
+ - Deployed the first sharded MongoDB cluster of the company.
+ - Acting in-house SME for MongoDB, Couchbase, and Redis operations.
- Built an extensible framework for no-downtime system patching across services and clusters with modules for five databases.
-## Research
+## Publications
### Arabidopsis thaliana computationally-generated next-state gene interaction models
Jan 2017 -- Dec 2017
- Implemented an exponentially more efficient solution than previous work with comparable correctness.
- - Published September 2018
## Education