Unauthoritative Pronouncements

Subscribe About

The Unholy Chimera of Pelicamel

Hashtag Gee Tee Dee

As I’ve detailed many times before: I want to move off of Tumblr. I have a chronic fixation upon the act of starting to move. I have half-written, hand-crafted, artisanal blogging scripts that do work —more or less— but I haven’t followed through on a single thing. I’ve dabbled with Jekyll, Octopress, Pelican, WordPress, etc. I just don’t like any of them all that much. I am pretty convinced, at this point, that rolling my own will ultimately be where I wind up just so I can have every little thing exactly as I want it. I’ll just need to overcome the nigh insurmountable hurdle of my lack of education in software.

This is why I usually jump at the chance to write small scripts. Things that can move just enough data —connnnnnnntent— to make me feel like I have accomplished something, but not so large of a project that I pull the zip-cord on my procrastination parachute.

Joe Steel: Poorly Skilled Software Developer

I’ve mentioned, jokingly, that I have a BFA in Computer Animation — that’s really what the degree is in — but that’s not always a “funny-ha-ha” joke. It’s a way of explaining that I am ill-suited to software development of any scale. This is why I like to take on small tasks to actually give myself just enough to do to learn something.

These are the reasons why I’ve been experimenting with Casey Liss’ Node.js app, Camel. It’s a pretty succinct app (as long as you don’t research all the dependencies’ dependencies’ dependencies’) so it’s actually going to serve as something useful for me in an educational way, if nothing else.

I can’t write JavaScript though. I tried. I really, really, really tried. I’m going to have to put in more effort though because that is obviously the direction to head in if you’re looking for flexibility and the neatest, most modernest, hipstery stuff.

For now, I was content to make a content converter script. It’s a little thing, and I knocked it out in a few hours. (Shut up, PROS, I know this is like 10 minutes of code for you.)

I had tried Pelican recently, because of its Tumblr import utility. Unfortunately, I found the utility to be half-baked. It parses through your perfectly adequate HTML from Tumblr and tries to turn it in to ReStructured Text, or Markdown. I modified the script so it would stop doing that and I captured all of my posts. Unfortunately, Pelican is a little rough. It made a total mess of the index pages when it tried to process stuff, and even the things it got right had the weird appearance of looking like I had posted them instead of making it more obvious that they are Tumblr reblogs.

With all this data, I could just pipe it in to other blogging platforms, right? No. It seems every blogging platform has their own, slightly unique system for storing files and file metadata. Camel’s metadata is one of the stranger ones. I made a conversion script that copies the files and sets up the expected folder hierarchy, and converts the metadata.

This isn’t the kind of thing I see anyone using, but I wanted to see what putting it up on GitHub would be like. I’ve used gists on GitHub, but I’ve never needed a project. I had a private repository with a friend on Bitbucket, for one of the blogging component experiments, but Bitbucket is kind of weird.

I even did all the command-line git stuff to put it up. That’s quite an accomplishment for me, because I come from a background where version control is just incrementing an integer in a filename.

Anyway, at this rate, I should have 10,000,000 pointless scripts and no blog.

2014-05-10 02:51:00

Category: text


Chicken Little - With Beats Audio™

Another retirement was announced at Apple and people clutched their pearls. What could it mean? They must not like it there! That means things are bad! There’s more than one person that is leaving! That must be really bad!

Then everyone forgot about that crisis by the afternoon because there was a new rumor that Apple was buying Beats. Twitter has been apeshit since then. Otherwise normal, rational human-beings are loosing their minds. Everything from assuming Beats branding will be on products, to assuming that Apple is buying them for hardware —which has been near-universally panned by the judgy-judges despite most acknowledging they have no firsthand experience with said Beats products. It’s like it’s an election year and your party didn’t win so you’re declaring you’re moving to Canada —again.

Pull out of this nosedive and unclench your bowels.

Do you know what happened yesterday? The sun came out.

Do you know what happened today? The sun came out.

Do you know what happens tomorrow? The sun will come out.

It’s fine to have theories, to guess why something is happening, but the sky isn’t falling. That is not to suggest people should be apathetic. That they can’t have feelings. After all, last week I lambasted Comixology on the basis of their actions. Actions are different from theories cooked up on Twitter, based off of a rumor that simply states a company will be acquired. Who the hell knows what will happen? Tim Cook could just as easily adopt the branding as shutter it all. After all, this acquisition will hurt current Beats partners.

If anything I think this is a symptom of cognitive whiplash. People that have spent many years formulating their deeply-held, personal beliefs about Beats Audio are face-to-face with the prospect of Apple acquiring the company they hate. How much of this deep, personal conviction has to do with audio, and how much of it has to do with Beats branding appearing on PC’s and Android devices, will vary from person to person.

A quick, and easy, way to avoid having to back out of etched-in-stone opinions is to not have etched-in-stone opinions.

My own personal bias is that I just wasn’t ever going to pony-up the dough for their stuff, but I also don’t burn money on Apple earbuds/earpods either. It’s not one vs. the other. It’s not even about the best ones money can buy, or the best value. I’m just not that demanding in this area. I did try their music app on my iPhone when people were lauding the service at its premiere, but I was turned off by the selection mechanism, and by the way the app breaths battery-life like air. So no, I don’t love them. I’m just not going to flip-my-shit. I neither look forward to it, nor shun it, until the waveform collapses — when there is action.

What is all this teeth-gnashing getting us, other than a bigger bill from our dentists, and a lot of headaches?

2014-05-09 09:36:00

Category: text


Boss Too, Shall Pass

Someone dispatches a frantic, urgent, flailing message to you over Microsoft Lync. There is so much urgency. Fires must be put out. You must answer for the fires existing. Did I mention this was urgent? Put it in your “urgent” pile. The one sorted by urgency.

There are different styles of management. Some may take the team out for coffee. Some may enforce a no overtime rule on Fridays. Some may say the world us burning every five fucking minutes.

It can be really difficult to work with people that are constantly bombarding you with emergencies, because it turns you in to a support structure. Instead of having a boss that facilitates good work, you have the burden of managing a grown adult’s mood.

You doubt yourself, of course, because obviously you must have done something to anger the person. You failed. Then you start to realize that’s like trying to appease a volcano. Maybe it has nothing to do with you?

My grandmother used to say, “And this too, shall pass.” Not just about the good times, but about the bad. So you have a supervisor that buys you beer? Enjoy it because he won’t be your boss forever. You have a boss that’s a flaming hemroid? Prepare to move on from him.

As an employee, it is difficult to separate your feelings from your current situation. To remind yourself that you have done work that was good – that people have even thanked you before. That’s the most important perspective to maintain. This is but one of many bosses.

At least there’s Lync.

2014-05-07 23:58:42

Category: text


Liss is More

via

caseyliss:

This past week I debuted my new website, which I’m currently calling Liss is More. While I’m not formally sunsetting my Tumblr braaaaand, I will likely post here quite a bit less often. Which is saying something, since I post here so rarely as it is. Or, perhaps, I’ll post here more, but it will be pictures of cars and other useLiss stuff.

I spoke about some of the motivations for that site in my introductory post.

Additionally, if you’re a nerd, you can check out the source code for the engine that runs the site.

So, check it out, and subscribe to the RSS feed, if you’d like to see more.

Confession: I kind of want to be a dick and put in some pull requests in CoffeeScript just to mess with him.

Ahem.

Gotta do something about that CSS though, CaSSey. Maybe in LESS, just for the pun oppurtunities. The links aren’t even styled at all, it’s just browser default.

And THIS is why I have no blog up yet. I fall down a CSS rabbit hole every time. I could Steel his.

2014-05-06 18:42:49

Category: link


With a Corn Cob Pyp

The other day, Dr. Drang ruminated on different sorting possibilities based on a post by T.J. Luoma. The doctor pulled out all the stops with a bunch of command-line kung-fu. It’s impressive, but as I confessed to him over Twitter, I find awk mystifying. Things like awk fall in to the same category as sed or regex, where it looks like someone fell asleep on their keyboard, but then magic happens. Spoiler Alert! Dr. Drang ultimately composes a python script to accomplish the task. I asked if he has ever tried pyp - a python-based command-line tool I’m quite fond of.

This, of course, led me to ask why he would go through all those other hoops, many of them inscrutable. Particularly since python has built-in support for one-liners (semicolons, list comprehensions, lambdas):

Well then! Can’t argue with that.

Arguing With That

I learned about pyp through work, though I had no interaction with the developers. It is particularly well-suited to slicing, and dicing standardized directories to pick out tokens and sort them. I mostly gravitate toward pyp because it uses a syntax I’m familar with in a lazy way — uh, laziness is total alien to me, sure.

I copied Doc’s example list:

foo.tjluoma.com
a.luo.ma
bar.luo.ma
b.tjluoma.com
leancrew.com
drdrang.com
daringfireball.net
6by6.5by5.fm
4by4.5by5.fm
5by5.fm
tjluoma.com
atp.fm
wordpress.com
wordpress.net
wordpress.co

The nice thing about pyp is that you can mash out a few little tests fast. Each time you add a pipe you’re modifying the incoming stream, filtering a bit at a time until you get what you’re looking for. There is no jumping to a text editor, nor the need to run the python console.

Pyp provides you with p, which represents each of line of the input; and pp (giggle) which represents the array including each line.

Start off simply with your input, in this case: drangs_domains.txt. Then read it in with the standard unix command, cat. Pipe it to pyp, just like you were going to grep for directories or some such. This is where it gets interesting because you start to form your own little chain of python commands that operate one after the other on the preceding input.

cat drangs_domains.txt | pyp "p.split('.')"

That accomplishes the split.

cat drangs_domains.txt | pyp "p.split('.')[::-1]"

I’m using python’s slicing abilities to reverse each line. Now I’ll just skip ahead:

cat drangs_domains.txt | pyp "' '.join(p.split('.')[::-1]) + '  ' + p |pp.sort()"

Pyp even outputs the result as colorful terminal output. Each line starts with an array number, if I need it for reference, or further slicing. To print it as plain-jane text, just add | p to the end and it’ll print the whole thing without the numbers and color.

You can also just do the easy thing and add, | p.split(' ')[1].

Some might criticize relying on slices as the same kind of inscrutable stuff as awk, but in this case, pyp helpfully prints out what selectors you can use after each of your splits. So you don’t know which index you want? Run it without specifying, then run it again when you got the number. So what?

I hope someday Dr. Drang and I will be able to bridge our differences.

Get it? I said bridge because…

2014-05-06 01:14:30

Category: text


Philip J. Fry Money Gif

I am really annoyed with the Comixology situation. Chiefly, because I actually used the damn thing, it was also easy, and it reduced physical clutter. Now, it’s less easy, but it does still reduce physical clutter. In theory, this should just make me shrug. (Anyone that doesn’t read comics is already shrugging.) In reality, I am irritated and annoyed with how all of this has transpired. I harbor no serious ill-will toward them, but they handled this in just about the worst way they could. I despise when corporate entities use the English language in inventive email communications to their customers in a pitiful attempt to mask the truth of the situation. I despised it when Dropbox wheeled out their corporateese email about arbitration, and I despise it when Comixology word-ballooned out their email.

“Dear Comics Enthusiast” — Yup, that’s me! No other words could more perfectly describe me as a human being.

“We have introduced a new comiXology [sic] iPhone and iPad Comics app,” — That’s nice, but it just auto-updates all slick, and easy unless—

“and we are retiring the old one.” — But WHY? Just update it, that’s easy!

“All your purchased books will be readable in the new app once you’ve downloaded it and taken the following steps:” — What the shit is this? I have homework? I need to do something that is not FOR me, it is FOR you?

“In the original Comics app, log in to your comiXology [sic] account.” — Hold on, is this before, or after I turn on the iPad?

“Sync your in-app purchases to your comiXology [sic] account by tapping the Restore button on the Purchases tab.” — Uh, again, why?

“Download the new comiXology [sic] app. This will be your new home for downloading and reading comics.” — Why? Why not auto-update my app? What’s so great about this new app?

“Start shopping on comiXology.com. New purchases will appear in the ‘In Cloud’ tab in our new app.” — What the hell is the matter with your people?! I have to do work for you to get an app that’s worse than my current app? I have to have a terrible customer experience from now on for some reason you aren’t going to disclose to me? You just leave this as the last fucking bullet point?

“LIMITED-TIME ONLY” banner over something that looks like a plastic credit, or gift card. “We’ve added a $5 comiXology [sic] eGift Card [again with this shitty, random caps] to your account for you to enjoy on comixology.com [lol, they didn’t capitalize the X that time!]! You don’t have to do anything, just shop for your favorite books and graphic novels. Hurry! This eGift Card expires on 5/25/14. Shop Now” — Fuck off. Seriously? A made-up form of compensation that entices me to use your crap system? This once-in-a-lifetime, limited-time offer of five WHOLE dollars is adequate compensation for forever making things worse for me?

I, being a savvy analyst/blogger/twitterer, know that this is to get out of paying Apple 30% of each in-app purchase. Comixology would have to get me to buy about 4 comics to make back the $5 eGift Card. A laughably-termed, intangible, account credit. Why should I feel any gratitude towards them for this eMarketing Act-Now Compensation? Why not just discount all the things? This isn’t fucking Robin Hood, I know they’re not going to give it to me. That just makes this ePatronizing. According to Moises Chuillan, the pool of money just shifts, so it won’t be all 30% going to Amazon. It will generally be much larger though.

A lot of people have said that it is unfair for Apple to charge 30 percent. Why is it unfair? Is it unfair because it is a lot of money? Well what if they charged 10 percent? That’s less than 30, by, like, 20! Oh, those people don’t think Apple should charge at all for IAP? Hmm. I guess. I guess they could just offer up their services as a storefront and payment processor for free, just like no one else does. It would be surprising if Tim Cook had that kind of Southern hospitality in him. Regardless, I don’t agree with the assumption that Apple’s system has damaged Comixology. Comixology would not be where it is today, let alone be acquired by Amazon, if it wasn’t for Apple’s IAP system as it exists, so let’s not pretend it’s some tyrannical system oppressing the proletariat. They willingly participated in it because it was easy to get people to use Comixology. Moises Chiullan, podcast-world-renowned for his passion for comics, and comics creators, has a very different take on it. I do disagree with Moises, and I’m more inclined to concur with internet-cranky-guy Marco Arment about what will eventually be a bad deal for comics creators.

After all, isn’t it more important to have people that use your stuff? You can say all kinds of important things about yourself when you have numbers that are bigger than other numbers. Growth rates! My god! Think of the growth rates! Let’s year-over-year some shit!

Deep breath.

The very sharp turn from “let’s participate in this system that is easy for customers, and increases our value as a company” to “let’s make customers work harder because we’ve cornered the market and sold ourselves, so YOLO” is whiplashingly abrupt.

Did you know that Comixology allowed customers to purchase through their site before today? It’s true! Did you know it would sync with all the apps, regardless of where it was purchased? Amazing! Did you know that their website is a horrible pit of despair that any reasonable person would find clumsy and irksome so even I never fucking used it? Wow!

My reasons for not using their service, effective as of their dumb-ass email, is precisely because of how little they seem to think of me.

I have several comic book stores near me. They don’t keep the best hours for when I am working late, and they are peopled with exactly the stereotypes you imagine they are peopled with, but you know what? They aren’t fucking shady with me. Hell, Comics Ink in Culver City gives you a discount if you spend $20. Let me tell you that it is very easy to spend $20 on comics if you go once a month. Even easier if you buy trades. I’ll need to come up with a more inventive solution for the storage of my illustrated literature, but so what? So I have to drive there, and talk to the balding guy with a ponytail, and a hunter-green tactical vest? So?

But Joe, you idiot, how can going to a store be easier than their simple, 28-step, web-based, purchasing system where you can jump in and out of an application in iOS because it’s SO FUN? I never said it would be easier. Also, there are other ways to buy comics digitally, they just all happen to suck. Apple will sell comics through iBooks, but that system holds no appeal for me, nor to anyone else with any interest in comics. They theoretically have the easiest, and most lucrative, path to success here and they’ve hamstrung it in traditional Apple fashion. Way to really Podcast-app it up. Image Comics will directly distribute, but then I get to manage files, and blaaaah. Marvel and DC will still sell comics through their branded Comixology apps, but the appeal of jumping in and out of different app storefronts is just not there.

Perhaps I should check my privelage and not whine so much about something so dumb? Perhaps, but once you’ve solved world poverty then come back and ask me that. Jerk.

I won’t be “going” to a “store” that isn’t very nice to Joe — err, to Me. If someone at a physical store treated me this coldly I sure wouldn’t shop there, so what’s with all the thumbs-up for for a company with a fucking capital X in the middle of their name?

I like to think I have some principles about how I would like to do business with people. Like when I told Time Warner Cable to stuff their $6 a month cable modem rental fee and bought my own modem. Or when I participated in the Amazon Prime Trial program only to discover all the ways Prime doesn’t actually fulfill the scope of its promise. Fuck you people, be fucking-nice to me. I’m a fucking-pleasant human being!

One day, in the Consolidation-Heat-Death of the Global Economy, we’ll all look back on multiple sources of distribution of physical goods, and shrug.

2014-05-01 01:13:00

Category: text


Hi!-atus

As some if you already know, I worked at Sony Pictures Imageworks from 2005 to 2012. Then four months later, back at SPI until 2013. Two months later I was hired back and worked until the first week of March. I’ve written before about how I am trying not to just be my job, and how I don’t want to let such an unstable industry define me. Barely any time passed before I was hired for a short-term, high-OT project, only four weeks, for a non-film thing. This is why I haven’t put effort in to trying to be creative. I simply haven’t had the energy. I thought some explanation here would help at least act as filler – much like my reblogged fluff – until I can have some more me-time.

Hopefully, this isn’t the part where I jinx myself. It’s almost certain I’ll never live up to my own expectations, especially when I have all the time in the world, so I’ll leave out any specific promises.

2014-04-24 23:41:05

Category: text


Things are Fine, Until They Aren't

I am not a programmer, or an engineer, or even a certified computer technician. I can “script” some stuff, and tweak some things, but Mac and iOS development is something outside the scope of my skills. It may surprise you to know that I still like reading, and listening to, programmers talk about computer programming. Not because I understand every little thing, but because I enjoy the universal truths that seem to connect people — even those of different professions.

This Debug episode is largely Guy English arguing that everything is fine with Objective-C, and that there is no reason to fear Doom befalling the platform, while John Siracusa argues that it’s really hard to see when Doom will come and that it is prudent to at least start a discussion about alternatives, and backup plans. There are some raised voices too, go figure.

I happen to agree with John (he also wants to continue to extend Objective-C while a new solution is worked on. It is an imminently reasonable position.) I have worked with people that did not want to extend what currently existed as a stop-gap. I have also had to argue in favor of The Old Way I didn’t care for, simply because no viable solution was readily available. People can also have an attachment to The Old Way in a way that is not rational.

These kinds of conversations come up where you work in all kinds of weird ways. From procedures, to manifest formats, to pipeline tools, to whatever. There is always The Old Way and The New Way. Mortal Kombat! Dun-duh-duh-duh-dun-duh-dun-duh-dun-nuh.

Ahem.

As I said, this kinds of Old/New things happen all the time. I am still under a NDA concerning what I did at my last job, so I’ll redact the sensitive parts. When ☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒. And then ☒☒☒☒☒☒☒☒☒☒☒☒☒☒☒.

The discussions that come about because of these conflicting views are interesting. Both want the best outcome, but both object to the other’s assessment of not only the severity of the problem, but how quickly action must be taken, and what to do while the second solution gestates. Fear of failure because action was taken, or because no action was taken.

Even as someone that does not consider himself a programmer, I’ve at least screwed around in Xcode enough to know it has some things I don’t care for. I don’t find the language approachable, especially not when I’m coming from something as succinct as Python, but I do deeply respect the interface tools. You can make a text editor in a matter of minutes, with almost no actual Objective-C written. There are many other powerful interface features there, all built on Cocoa, so it’s very clear to that it would not be a simple matter to start over from scratch in this area. It helps to understand, to some degree, the unwillingness to bail on it.

Another programming analog I’ve also found fascinating are the flareups between different Python camps over how 2.x and 3.x are being handled. Many years ago, it was decided to start 3.x in parallel to 2.x, with 2.x receiving some backported things from 3.x, but there was never a plan to unite 2.x with 3.x. They would forever remain separate, with 2.x eventually terminating development with 2.7.x. This is an example where John’s position is followed, but it still doesn’t yield a pleasant outcome. It’s just not a sure thing. Alex Gaynor (developer for PyPy, Django) had a post about his thoughts, and a followup with some download statistics between versions. A survey of over 4,000 users seems to kind of line up, but it’s not exclusively pessimistic. But even Dropbox, a company that has hired Guido Van Rossum, is still on 2.7, with a new company blog post from this past week about effort being put in to a new 2.7-only JIT interpreter. This definitely isn’t like flipping a light switch, and I would assume Apple would also face many difficulties with coercing people in to The New Way as well.

#TeamJohn

2014-04-10 00:37:24

Category: text


Carousels Spin. Black Holes Spin. You do the Math.

This morning, everyone was losing their shit over Dropbox announcing things. Mostly, people just wanted free cheap less expensive stuff. As Bradley ChambersCloud Storage Super Villain — complains about the lack of an intermediary tier.

LOL, nothing like that was announced! Instead, to reinforce the worthiness of the $99 entry point, Carousel was announced.

Visions of Mad Men danced in each technophiles’ head. Don Draper, with his class, and charm (and NONE of the negative things) would sweep them off their feet.

A frenzy of praise ensued — even though the app wasn’t out yet. This went on for a while. Then people started using it. Reality is kind of rough, huh? It wants to eat all your photos so that it can fill up your Dropbox account. You can only share with other people that have the Carousel app.

Once afternoon rolled around, all of the people that were excited this morning were no longer excited, they were all actively complaining about the poor application. Several went back to lamenting the storage situation.

Usually, this unfolds on a longer time scale. Product A has leaks, or “pre-announcements”, or fancy unveilings, and then a while after that, Product A is released. All that good will that had hyped up Product A can reverse direction.

Like a big, bright, burning star, it runs out of hype-fuel and it collapses under its’ own weight. Leaving a lump of suck in its’ place. Like a black hole it can also pull in some of the good-will from nearby products. The Company’s Product A collapses in to suck, and then The Company’s Product B gets good will pulled off of it in to the suckitude of the neighboring product. (If only we had Neil’s Ship of The Imagination.)

It’s easy to be cynical about this from the outset (LOL, you believed in something!) but that’s like willfully living in a universe exclusively made of black holes. Everything sucks. Contrary to what some may think, I am fully capable of thinking positively about things. I, too, can look forward to owning, or using, fancy-ass toys. I just try to keep that excitement in check. Everything about what Dropbox is doing makes me very carefully measure my excitement. Arbitration. Lame pricing. Products that exist to make you hit higher storage limits. It’s important to keep that in mind, to maintain perspective, and not melt at the first demo video. Federico Viticci seems to have taken the same tack.

Fortunately, The Prompt’s photo service was acquihired, and sunsetted, and blue-bottled to Dropbox, so hopefully they can integrate the synergies. Believe it or not, all that satire was written last week. I guess Dropbox isn’t familiar with my work.

Blaaaaack hooooles and rev-el-AAAaaAAaaAAaaaa-tttions…

2014-04-09 21:43:00

Category: text


Adventures in Server Administration II: The Quickening

This is taking a little longer than I had expected it would take. It’s almost like there’s a reason people use Tumblr and Squarespace and stuff. Who could have guessed that?

I’m kidding. It’s not like I’m really waiting on anything other than myself. I’m lazy — turns out.

I looked up how to make a named virtual server in Twisted. This is what lets Twisted serve content based on the domain name it’s receiving. The way I was doing it before was the command line arg that serves a path you pass with an arg. Which would have been fine if I wanted to only serve prompt.photos on this server. Nothing against The Prompt, but I don’t like them that much.

It’s easy enough though, you make a text file, and throw some Python code you copy and paste from the Twisted docs — Et Voilà: You’re a neckbeard! The server now correctly handles the traffic for the domains.

Crap, I have to put stuff in the directory now.

Fucking Content!

I had decided to look in to Pelican to import the Tumblr posts, and to serve the new site. I’ve heard good things for a long time about it. I have also heard about Statamic, and how Statamic is statamazing from Sid O’Neil, Cory Dransfeldt, and Eric Hess, but I’m a rebel. (Like all the other people that use Pelican.)

I installed Pelican, easy; I installed Markdown, easy; I installed Fabric, KABOOM! It seems it’s dependent on the pycrypto package which needs to make some C magic happen. LOL C. Fuck it. It’s not a requirement so I moved past it. YOLO!

I made an API key for Tumblr (just fill the form in with lies!) and then I ran the little thingy that pulled down all the files. It made a bunch of yucky, ReStructuredText files. Gross. I found the flag for Markdown, but the results were also busted.

Bad news! The Tumblr importer script not only made the files in RST, it unnecessarily parsed them in to it instead of just leaving the HTML alone inside of the file. So that’s fubbared everything.

I rewrote the part of the import script that modified the content (I commented out the subprocess to pandoc — good grief!) This successfully gave me the HTML, as-is. Unfortunately, I needed to strip the tumblr URL’s for my blog while leaving other Tumblr URL’s alone. I added kwargs to pass the appropriate info to the function and it worked. Unfortunately, it still botched a bunch of other stuff. They make it sound deceptively easy to import. I’m looking in to how to to correct the read-more references, and to correctly display reblogged content. Right now, that content is attributed to me. I can’t knowingly, in good conscience, upload these files until I figure out how to attribute the reblogs appropriately.

I did go through all the trouble to modify the default Pelican template to look exactly like what I had on the Tumblr blog. Considering the fact that I never really liked the look of Tumblr blog, this is actually disappointing. (Glares at Satatmic themes.)

You win this round, Tumblr. Be warned: I am, like, THIS close.

2014-04-08 19:01:41

Category: text