~dricottone/blog

65386b2566bec709fd055c2f502bd6380302a057 — Dominic Ricottone 2 years ago 8e9cc80
New post and redid some styling/templating
M Makefile => Makefile +3 -3
@@ 1,9 1,9 @@
TARGET_USER=deploy
TARGET_HOST=$(TARGET_USER)@ubuntu2.intra.dominic-ricottone.com
TARGET_HOST=deploy-aws2

.PHONY: dev
dev:
	hugo server -buildDrafts
	hugo server --buildDrafts --bind 127.0.0.1 --port 8080

.PHONY: build
build: clean


@@ 13,7 13,7 @@ build: clean
sync: build
	rsync --recursive --links --compress --delete \
		--chown=$(TARGET_USER):$(TARGET_USER) \
		public/ $(TARGET_HOST):/var/deploy/resources/webroot/
		public/ $(TARGET_HOST):/var/deploy/webroot/

.PHONY: clean
clean:

M content/_index.md => content/_index.md +18 -4
@@ 1,10 1,24 @@

---
title: Welcome!
site_title: true
---

This is the personal and professional website of Dominic Ricottone. I work in market research as a Data Management Analyst.
I have experience across multiple survey operations roles, including web survey programming, RIM weighting, and data entry.
Dominic Ricottone is a data management analyst in the field of market research.
For three years he has worked at Fors Marsh Group, a data-driven company
specializing in federal contracts. Dominic works on a variety of high-profile
government programs such as:

+ JAMRS Youth Poll
+ FVAP Overseas Citizens Population Survey
+ NIST Manufacturing Extension Program
+ FirstNet Economic Evaluation

Dominic has experience throughout the survey research operations stack, ranging
from survey programming to weight computation. He has drafted technical chapters
for bi-annual research reports. Prior to joining Fors Marsh Group, he has
worked for the Harris Poll in a similar role, and for Chris Harris & Associate
as a political campaign finance intern.

You can find my CV, code repositories, and other personal work here. Below are recent blog posts.
You can find my CV, code repositories, and other personal work here. Below are
my most recent blog posts.


M content/about.md => content/about.md +21 -8
@@ 1,18 1,31 @@

---
title: Who am I? Why am I here?
site_title: true
---

I was born in Buffalo, New York and spent the first two decades of my life in the Western New York region. I've relocated to the nation's capitol in search of work--my goal is to conduct survey research that informs policy decisions.
I live in Chicago but have spent most of my life in Western New York. There's
some quality to Rust Belt cities that just calls to me.

I have a passion for electronics and computers that I discovered after I'd
already gone to school for Political Science and Economics. I hope to one day
get a job that uses my degree, but no luck so far. In the meantime, I've made
a decent living through a series of jobs that I was in no way qualified for.
Just In Time learning has become a staple of my career.

I have a personal interest in internet technologies and automation through programming. This website and the webserver hosting it are both weekend DIY projects. My current projects are:
My current side projects are:

+ converting this website to [Hugo](https://gohugo.io/)
+ a media player in the style of ncmpcpp that dispatches between mpd, spotifyd, and mpv
+ rewriting (a **subset** of) GNU coreutils in Python for my work laptop (running Windows 10)
+ fleshing out my [personal wiki](https://wiki.dominic-ricottone.com) with
  helpful documentation for statistical programming and server administration,
  as well as transcribing my old college notes
+ a terminal app for controlling both MPD and the Spotify Connect API, a la
  `ncmpcpp` or `ncspot`
+ dead-simple but high-security internet chat

I'm also passionate about international history and culture. I studied Japanese for three years and spent a semester in Nagoya, Japan. This year I'm backpacking across Austria and Hungary.
I'm also passionate about international history and culture. I studied Japanese
for three years and spent a semester in Nagoya. My wife and I have a terrible
habit of planning international backpacking vacations that have to be canceled
at the last minute due to closed borders.

My career has taken me from political consultancy to pollsters to government contracting. I'm always looking for new experiences to add to that list. For details, see [my CV](/cv).
If you're looking to hire someone with a weird mixture of programming work
experience and econometrics training, take a look at [my CV](/cv).


M content/posts/docker.md => content/posts/docker.md +1 -1
@@ 8,7 8,7 @@ I've been playing with Alpine Linux and Docker for the last few weeks. I've
decided that Docker with an immutable Alpine Linux installation achieves
everything I want from encapsulation without locking me into a vendor (i.e.
SnapCraft), and also allowing me room for scaling up (i.e. kubernetes). And
now I have severeal private web services and *this very web page* running
now I have several private web services and *this very web page* running
through this architecture.

On the side I've been working on Golang as a Python replacement in my long-

A content/posts/i_moved.md => content/posts/i_moved.md +31 -0
@@ 0,0 1,31 @@
---
title: "I Moved"
date: 2021-11-11T22:56:46-06:00
draft: false
---

I moved to Chicago a Little while ago. D.C. just wasn't my kind of city. I'm
really enjoying Illinois so far, and I'm **really** really looking forward to
the winter.

But also, I moved this site into the cloud. My new ISP isn't so generous with
the whole 'wide-open ports' thing. I was faced with a choice: I could move this
site to the EC2 instance where my [wiki](https://wiki.dominic-ricottone.com)
lives. Or I could setup a cloud-based tunnel to smuggle packets past my
unscrupulous ISP.

I'm embarrassed to say that I took a long time to make that decision.

Somewhere along the way, I lost track of why I was self-hosting. I have been
putting the cart before the horse for too long. The content that I serve up
publicly is not data that needs to be kept on-premises. I'm sacrificing
bandwidth, flexibility, up-time, and my own sanity just for a buzz word label.

Enough is enough, I moved everything to the cloud and washed my hands of self-
hosting public web domains. So, this site has **also** moved.

I cannot recommend self-hosting enough to those just starting out with web
hosting. It's a very cheap way to try new things, make mistakes, and take time
learning how to fix them. But there will come a day where all is right with the
world and you don't want to deal with the headaches anymore.


M content/posts/playing-with-web-services.md => content/posts/playing-with-web-services.md +0 -1
@@ 1,4 1,3 @@

---
title: "Playing with Web Services"
date: 2020-04-15T12:24:13-04:00

M content/posts/setting-up-hugo.md => content/posts/setting-up-hugo.md +0 -1
@@ 1,4 1,3 @@

---
title: "Setting up Hugo"
date: 2020-01-24T19:32:43-05:00

M layouts/_default/list.html => layouts/_default/list.html +3 -4
@@ 12,13 12,12 @@
  <li>

    <!-- see https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference -->
    <h1><a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a></h2>
    <h2><a href="{{.Permalink}}">{{.Title}}</a></h2>
    <div class="post">
      <p><i>posted on {{.Date.Format "2006-01-02"}}</i></p>
      <p>{{.Summary}}</p>
      {{ if .Truncated }}
      <div>
        <i><a href="{{.Permalink}}">Read More…</a></i>
      </div>
      <p><a href="{{.Permalink}}">Read More…</a></p>
      {{ end }}
    </div>


M layouts/index.html => layouts/index.html +2 -2
@@ 3,7 3,6 @@

<div>
  <!-- pulls in content/_index.md -->
  <h1>Welcome!</h1>
  {{.Content}}
</div>



@@ 14,8 13,9 @@

    <li>
      <!-- see https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference -->
      <h1><a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a></h1>
      <h2><a href="{{.Permalink}}">{{.Title}}</a></h2>
      <div class="post">
        <p><i>posted on {{.Date.Format "2006-01-02"}}</i></p>
        <p>{{.Summary}}</p>
        {{ if .Truncated }}
        <p class="read-more"><a href="{{.Permalink}}">Read More…</a></p>

M layouts/posts/single.html => layouts/posts/single.html +3 -3
@@ 7,7 7,7 @@

  <!-- see https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference -->
  <p><b>Date:</b> {{.Date.Format "Mon 2006-01-02"}}</p>
  <p><a href="{{.Permalink}}">Permalink</a></p>
  <p><b>Permalink:</b> <a href="{{.Permalink}}">{{.Permalink}}</a></p>
  <br />

  <!-- pulls in content/posts/*.md -->


@@ 21,10 21,10 @@

<div>
  {{ with .PrevInSection }}
    <p>Previous article: <a href="{{.Permalink}}">{{.Title}}</a></p>
    <p><b>Previous article:</b> <a href="{{.Permalink}}">{{.Title}}</a></p>
  {{ end }}
  {{ with .NextInSection }}
    <p>Next article: <a href="{{.Permalink}}">{{.Title}}</a></p>
    <p><b>Next article:</b> <a href="{{.Permalink}}">{{.Title}}</a></p>
  {{ end }}
</div>


M static/css/blog.css => static/css/blog.css +5 -5
@@ 13,13 13,12 @@ ul#list-posts li {
  padding: 0; /* no indentation on list item--title should not be indented */
}
div.post p {
  line-height: 2em; /* increased line height for post content */
  text-indent: 2em; /* indentation for first lines (same as on lists) */
  padding: 0 0 0 2em;
  text-indent: 2em;
}
div.post p.read-more {
  font-style: italic;
  margin: 0 0 0.25em 0; /* no top spacing on post link */
  text-indent: 0; /* do not indent post link */
  text-indent: 0;
}

/* Table of Contents */


@@ 51,7 50,8 @@ div#toc h2 {
  margin: 0;
}
div#toc ul {
  margin: 0;
  list-style: none;
  margin: 0 0 0 2em;
}
div#toc li {
  margin: 0.5em 0 0 0;

M static/css/cgit.css => static/css/cgit.css +26 -0
@@ 204,6 204,28 @@ div#cgit table.list td a {
	padding: 1em 0;
}

/* Collapse spacing around all of these 'decorative' links that appear in tables and lists */
div#cgit table.list td a.tag-deco {
	display: inline-block;
	padding: 0;
}
div#cgit table.list td a.branch-deco {
	display: inline-block;
	padding: 0;
}
div#cgit table.list td a.remote-deco {
	display: inline-block;
	padding: 0;
}
div#cgit table.list td a.deco {
	display: inline-block;
	padding: 0;
}
div#cgit table.list td a.button {
	display: inline;
	padding: 0 1em;
}

div#cgit table.list td a.ls-dir {
	font-weight: bold;
	color: #00f;


@@ 619,6 641,7 @@ div#cgit div.footer a:hover {
}

div#cgit a.branch-deco {
	display: inline-block;
	color: #000;
	margin: 0px 0.5em;
	padding: 0px 0.25em;


@@ 627,6 650,7 @@ div#cgit a.branch-deco {
}

div#cgit a.tag-deco {
	display: inline-block;
	color: #000;
	margin: 0px 0.5em;
	padding: 0px 0.25em;


@@ 635,6 659,7 @@ div#cgit a.tag-deco {
}

div#cgit a.remote-deco {
	display: inline-block;
	color: #000;
	margin: 0px 0.5em;
	padding: 0px 0.25em;


@@ 643,6 668,7 @@ div#cgit a.remote-deco {
}

div#cgit a.deco {
	display: inline-block;
	color: #000;
	margin: 0px 0.5em;
	padding: 0px 0.25em;

M static/css/common.css => static/css/common.css +16 -16
@@ 16,54 16,54 @@ hr {
h1 {
  font-size: 2em;
  line-height: 2.5em;
  margin: 0;
  margin: 0 0 1em 0;
  padding: 0;
}
h2 {
  font-size: 1.5em;
  line-height: 2em;
  margin: 0;
  margin: 0 0 1em 0;
  padding: 0;
}
h3 {
  font-size: 1.17em;
  line-height: 1.5em;
  margin: 0;
  line-height: 2em;
  margin: 0 0 1em 0;
  padding: 0;
}
h4 {
  font-size: 1em;
  line-height: 1.5em;
  margin: 0;
  line-height: 2em;
  margin: 0 0 1em 0;
  padding: 0;
}
h5 {
  font-size: 0.83em;
  line-height: 1.5em;
  margin: 0;
  line-height: 2em;
  margin: 0 0 1em 0;
  padding: 0;
}
h6 {
  font-size: 0.67em;
  line-height: 1.5em;
  margin: 0;
  line-height: 2em;
  margin: 0 0 1em 0;
  padding: 0;
}
p {
  font-size: 1em;
  line-height: 1.5em;
  margin: 0;
  line-height: 2em;
  margin: 0 0 1em 0;
  padding: 0;
}
ol {
  margin: 0;
  margin: 0 0 1em 3em;
  padding: 0;
  list-style: none;
  /*list-style: none;*/
}
ul {
  margin: 0;
  margin: 0 0 1em 3em;
  padding: 0;
  list-style: none;
  /*list-style: none;*/
}
li {
  margin: 0;