monkinetic the blog

Posts tagged with 'dev' (41 posts)

Time for bi-yearly web presence maintenance

What with Twitter (aka birdsite, hellsite, muskosite) flailing in the clammy hands of Dr. No, and interest in the federated web re-emerging, I figured it was time to review my own web presence and see what was the situation.

https://monkinetic.blog/uploads/this_is_fine.jpg

Dear reader, it was Not Good.

Warning one was hitting this site from my work network and getting a BitDefender screen of doom saying the site was serving a keylogger. NOT GOOD.

Then the site - which was hosted on Linode and runs my own homegrown blog software, Goldfrog - went completely down. After some “where did those ssh keys get to, where is this thing anyway” I got logged in and figured out that my server had been hacked in some way, TLS and letsencrypt removed. I haven’t had time to troll the logs for evidence as to how the server was accessed, but I downloaded them and have them set aside to look later.

We Can Rebuild It

Thus entered a week of figuring out once again how the heck Monkinetic is built and deployed, migrating the code from Github to Gitlab (which I’m more familiar with due to $dayjob), and refactoring the Ansible code that builds the server and deploys the blog/content.

Finally today I got it 85% done, which is pretty good for a full migration between hosting providers (I also moved from Linode to Digital Ocean where I already have some other services).

Masto-tootly-don

With the insanity on Twitter, I logged back into my Mastodon account on toot.cafe and enjoyed the huge stream of new folks migrating from Twitter to federated platforms (mostly to mastodon.social since that’s the first/largest instance, but folks are making their way from there to smaller instances as they get more comfortable).

Apparently Mastodon 4.0 is out (release candidate) and they’ve changed the annoying-until-it-was-gone “Toot” to “Publish”. I’d have preferred “Post” myself, but 🤷‍♀️.

Maybe servers should just change it to suit their audience?

#devops #blogging #socialmedia #federation #mastodon #goldfrog

Steve Ivy

wanting to be able to post from my phone has me learning about css grid and flexbox, so there’s that #css #webdevelopment

~ # 17:09 ~

New Posting UI on Goldfrog

I’ve started messing around a bit with javascript-enhanced UIs for #goldfrog. Rather than use all of JQuery, I decided on a small subset of Jquery’s functionality as implemented by Sprint.JS.

  1. I only load the JS for me, since I’m logged in.
  2. It’s only used on the home page to power the new switchable post form, and
  3. It powers a character-counter for the note UI.

Here’s the new posting UI:

http://monkinetic.blog/uploads/new_post_ui_goldfrog.png

I’m trying to implement some basic progressive enhancement - the forms work as is without javascript, but the switcher and the counter are niceties for me, the author.

#webdevelopment #progressiveenhancement #goldfrog

Jacky Alciné

Jacky Alciné is an active member of the #indieweb and #activitypub communities, and a web developer working out of Oakland.

Imma make this clear: I’m not building software for developers.

I’m working to building tools for people.

You shouldn’t have to know to maintain and secure a server to have your own independent identity online. You shouldn’t need to know what libsodium or similar library to be secure online.

That’s my objective.

https://playvicious.social/@jalcine/101366378320531511

#indieweb #activitypub #webdevelopment

The Craftsman's Jig

I really like a good #codeascraft comparison. From DeployHQ, via Zeldman:

Woodworkers and web developers have this in common:

Visit a professional woodshop and ask a master carpenter what her favourite tool is. You may find it’s not a tool in the traditional sense, but a “jig” she built. In woodworking, jigs are patterns or templates built to make repeatable tasks more efficient and outcomes more consistent. Building a one-off bookcase may not warrant building a jig. But, if you’re building three or four of the same bookcase, it’s likely worth building a jig first, then using that jig to build the bookcases.

Our jig consists of a small command line application which integrates publicly accessible API’s from these service providers

Taking the time to make the tools to help do the work is the best thing to do, and knowing when to take that time is an important part of an engineer’s maturing process (see #yakshaving, Code As Craft)

#codeascraft #webdevelopment #yakshaving

Steve Ivy

@jessenoller’s tweets have made me terrified of #kubernetes, which has apparently turned #devops into devOOOOOOOOOOOOOOOOOOOOOPS. I mean, the number of things that can go wrong, amirite

~ # 14:31 ~

Chris Krycho: Chrome is not the Standard

Chris Krycho wrote a thoughtful post about the state of browser development and web standards, and as developers, the tendency sometimes to see Chrome as the standard for what features browsers should be supporting. Chrome is not the Standard:

> Over the past few years, I’ve increasingly seen articles with headlines that run something like, “New Feature Coming To the Web”— followed by content which described how Chrome had implemented an experimental new feature. “You’ll be able to use this soon!” has been the promise.

> These are tradeoffs, plain and simple. Chrome ships new features fast, but they’re not always stable and they often have performance costs. Safari ships new features on a much slower cadence, but they’re usually solid and always perform incredibly well.

> That’s what makes the web so great, even when it makes things move more slowly. Sometimes — often, even! — moving more slowly not in the experimental phase but in the finalizing phase makes for a much better outcome overall.

Fellow #webnerds, it’s a good read.

#google #webnerds #webdevelopment

Steve Ivy

RT @allspaw: This is a great short about empathy! Very recommended: http://t.co/Mg7Wa8RtC3 #devops /cc @jeffsussna

~ # 16:07 ~

Steve Ivy

RT @StremorJoe: Hey #AZ #develepers we’re hosting a meeting on Unit Test Automation. http://t.co/d6EgRCQ0 @steveivy will be leading the …

~ # 15:12 ~

Steve Ivy

hey #devops folks: get on this in graphite, KTHX http://t.co/Oh0TqjMn

~ # 18:29 ~

Steve Ivy

Hey #opsfolk: You’re spec’ing a Rackspace VPS for a jenkins-ci/logstash environment, small startup scale right now. Go. #openstack #devops

~ # 00:41 ~

Steve Ivy

Can Etsy’d logster run on OS X? I can’t find a logtail package for Mac. #devops #macops #graphite #kickass

~ # 03:12 ~

Steve Ivy

We named our Jenkins “Bradley” #bradleyjenkins #devops

~ # 13:23 ~

Steve Ivy

Re-implementing statsd on App Engine, like you do. #statsd #devops #metrics

~ # 21:25 ~

Steve Ivy

@jezhumble Is the Enterprise ready for DevOps? Well, they had Scotty. #godfatherofdevops /cc @monkchips

~ # 18:53 ~

Steve Ivy

There is simply not enough of me to go around. #dev #ops #smallbusinessowner

~ # 16:30 ~

Steve Ivy

Man, sometimes #devops wants to make me stab my eyes out. what is this useless error from repoman? https://t.co/nwy3ALuJ

~ # 21:25 ~

Steve Ivy

Anyone know about graphite’s debian package? I’m in over my head. :-) #graphite #devops

~ # 18:06 ~

Steve Ivy

My day has been spent either waiting on jenkins or waiting on Chef. #devops

~ # 22:10 ~

Steve Ivy

I’m looking for a recipe on having jenkins check out and build git branches to subdirectories. Any links? #devops

~ # 14:33 ~

Steve Ivy

devops mantra: replace yourself with a very small shell script. #devops

~ # 16:53 ~

Steve Ivy

Vagrant + a provisioner is kind of magic. #vagrant #chef #devops

~ # 12:54 ~

Steve Ivy

Writing a debian package. Who gave the kid matches? #devops

~ # 05:26 ~

Steve Ivy

Are there any javascript libraries for making pretty graphite charts? (based on the url api I’m guessing). #graphite #devops

~ # 22:23 ~

Steve Ivy

RT @miller_joe: trying to start a list of the various statsd server implementations. http://t.co/TaUY0xvh #statsd #graphite #devops

~ # 15:19 ~

Steve Ivy

Fixing bugs in py-statsd, closing issues. New release to PyPI shortly. #devops #measureeverything

~ # 05:40 ~

Steve Ivy

More great movement in the Measure Everything space: http://t.co/oyav6Py #devops /cc @etsy /cc @kastner

~ # 17:57 ~

Steve Ivy

i’ve already forgotten where I got this: http://t.co/bff1vLR but I’m going to be re-reading it severla times. #devops /cc @kastner

~ # 23:59 ~

Steve Ivy

Question about ssh, deploy users, and permissions http://t.co/YCmt35u #devops

~ # 17:52 ~

Steve Ivy

working on #devops achievement: “Your Deploy Tool Can Deploy Itself” progress: 40%

~ # 03:18 ~

Steve Ivy

python user in the PHX metro area? Let’s talk about continuous deployment. http://t.co/LGOSmHP #devops

~ # 03:09 ~

Steve Ivy

excited to see #mozilla trying out pystatsd #devops #python

~ # 16:36 ~

Steve Ivy

nice case-study for graphite, statsd: http://t.co/ETxvStz - if you’re in python, try pystatsd! http://t.co/HFvg8C5 #devops

~ # 14:09 ~

Steve Ivy

RT @allspaw: (turn logs into Graphite and Ganglia graphs) #etsy #devops https://github.com/etsy/logster

~ # 16:45 ~

Steve Ivy

statsd client in erlang? nice! http://t.co/g5E9mg6 /cc @dready #devops

~ # 21:59 ~

Steve Ivy

first came @etsy’d StatsD server in node, now here’s a client in node: http://t.co/EB4cliP #statsd #devops

~ # 00:45 ~

Steve Ivy

#devops on @convore: http://t.co/8PvpimM – come say hi!

~ # 15:06 ~

Steve Ivy

hey @etsy I started hacking on a perl statsd client: http://t.co/JDWqI88 … Yes, I’m a nerd. #devops

~ # 05:17 ~

Steve Ivy

@monkchips sounds like vmware is starting to get the #devops religion - see @etsy

~ # 13:30 ~

Steve Ivy

I’m registered with #apple #dev program (free reg) - link to download xcode sends me to /mac/, which sends me back to xcode, which… help!

~ # 14:52 ~

Steve Ivy

For any webobjects-developers out there who are irc-inclined, I (for the moment) am running #wodev on irc.openprojects.net. Drop in if you want. Not sure how long it’ll be up, as I haven’t managed to get it registered yet.

~ # 00:00 ~