Profile cover photo
Profile photo
Dave Jacoby
"If you can not measure it, you can not improve it." -- Lord Kelvin
"If you can not measure it, you can not improve it." -- Lord Kelvin

Dave's posts

What messaging software do you use and why? Is it SMS/MMS based? Is it IP based?

Post has attachment
Ding! Ding! The Process is Dead!
Starts with a thing I saw on David Walsh's Blog : I've been working with beefy virtual machines, docker containers, and build processes lately. Believe it or not, working on projects aimed at making Mozilla developers more productive can mean executing cod...

Post has attachment
I've been using Text-To-Speech tools and recently started looking into AWS's Polly. I compare Festival, ESpeak and Polly so you don't have to.

Is this the current state of server-side web development? #LazyWeb

I work in academia, and Rip-van-Winkle-like, I've been off-to-the-side of modern web development for the last decade.

It was, as I learned it and practice it, you set up an Apache web server, set it up so that, either in part on in the whole, you can do CGI, then created individual programs (sometimes grouped together, sometimes not) to do the work you need to do.

As I understand it now, you set up an nginx web server, which doesn't do much of the work of Apache -- htaccess being the one thing can name off the top of my head -- and have it serve, fast, any static files you have, and have it point off to Rails or whatever framework your language of choice prefers for anything dynamic, so everything dynamic you want your web server to do is bundled up in your tool. This allows you to have the same path to have different behaviors depending on if you're logged in to your application, or what account is logged in, which is cool, but, as far as I can tell without having really dived into the tooling, makes it more difficult to create output with different mime types, switching between HTML pages and JSON, XML or generated images.

It also strikes me that, if you're developing and testing your web tool, you're hitting it's framework web server directly, and so it's going to have to server statically serving the things it needs to do, so the amount of content the server serves will be vanishingly small, and the translation between Nginx Doc Root and Framework Doc Root will be confusing, so the benefit of having Nginx (is that even capitalized?) in the system becomes vanishingly small as I understand it?

I have a raft of tools and toys written with the old style, served off machines that are being retired, and have to step up to the modern world, and it strikes me that it'd be better to fully enter the modern world of web development, which involves me understanding and using these new tools. So, am I right? How am I wrong? Why not just put your Rails server on port 80?

Looking at Sentiment Analysis, even played a little bit with the Microsoft Research API for it, and it struck me:

You could make a first-pass Sentiment Analysis tool with Naive Bayesian tools.

My 9-to-5 is somewhere between Web and DevOps, so this is not where I live, but I've been playing with Bayes as a way of guessing what I'd "favorite" on Twitter.

I found a corpus of sentiment-judged twitter data and went at it. Previous playing gave me a small set to use for training, so I could retrain on demand, but that's ~ 40K, while I have 800K+ tweets in my training data, and that takes FOREVER to build. Will have to use Storable to keep it around.

But I'm very amused by what it considers positive and negative. Beyond music references, this is the most positive message I've found so far:

Reminder: It's not just Vine. Twitter will kill all of us in the end.

It's good to know what the computers consider to be positive messages, isn't it?

Post has shared content

Post has attachment
Graphs are not that Scary!
As with most things I blog about, this starts with Twitter. I follow a lot of people on Twitter, and I use Lists. I want to be able to group people more-or-less on community, because there's the community where they talk about programming, for example, and ...

Post has attachment
Modern Perl but not Modern::Perl
This started while driving to work. If I get mail from coworkers, I get Pushover notifications, and halfway from home, I got a bunch of notifications. We don't know the cause of the issue, but I do know the result We have env set on our web server set so th...

Post has attachment
Presented to me as a pleasant alternative to election coverage

Post has attachment
Net::Twitter Cookbook: Favorites and Followers
Favorites. Also known as "Likes", they're an indication in Twitter that you approve of a status update. Most of the time, they're paired with retweets as signs by the audience to the author that the post is agreeable. Like digital applause. This is all well...
Wait while more posts are being loaded