guest - flak
Flaakle

moving to https

The time has finally come to switch everything to https. Actually, I’ve been using https for a while, but now it’s time to inflict, er invite, everyone else along for the ride.

Continue reading moving to https...

Posted 2017-07-18 15:12:45 by tedu Updated: 2017-07-21 22:29:02
Tagged: flak security thoughts web

humungus

Every once in a while somebody asks if they can run flak, and the answer is usually some variant of no, not right now, but maybe after I’m done rewriting it four times. Well, it’s been stuck at rewrite number 3 for quite a while, so time to push the button. Of course, putting code on the internet requires a place to put it, but Microsoft shut down Codeplex. Guess I have to build my own.

Continue reading humungus...

Posted 2017-04-01 01:41:15 by tedu Updated: 2017-04-01 02:27:30
Tagged: flak project software

flak archive

I’ve skirted around the issue of paging flak for some time. It’s not that it’s hard; it’s quite easy. Easy to do wrong, that is. As explained here page numbers should start at 1 for old posts. That part is easy, but it leaves open the question of what to put on the last (highest numbered) page.

Continue reading flak archive...

Posted 2014-05-08 18:52:33 by tedu Updated: 2014-05-08 18:52:33
Tagged: flak web

banned parameters

I was reviewing the flak logs the other day (chasing an unrelated issue) when I noticed lots of requests with additional parameters, like utm_campaign=twitter. Huh? I’m not running any campaigns. GTFO.

Continue reading banned parameters...

Posted 2014-01-27 01:11:06 by tedu Updated: 2015-07-19 22:08:50
Tagged: flak rants web

flak is back

Last night, a flak link escaped into the twitterverse where it was discovered by a “Google-HTTP-Java-Client/1.17.0-rc (gzip)” (whatever that is), which then proceeded to send flak a serious of cruel and unusual requests. Like the unique snowflake it is, flak’s HTTP parsing is rather delicate. In this case, sending a cookie without a value invoked the dreaded “table index is nil” error and crashed the process. Now, flak cannot be laid low by any one rogue request because it is powered by a whole host of processes, but after the relentless onslaught of four such requests, everything was dead.

Continue reading flak is back...

Posted 2013-11-30 16:50:49 by tedu Updated: 2013-11-30 18:14:29
Tagged: flak software web

pyggy the simple pygments server

flak uses pygments to generate the pretty highlighted code blocks. The original approach was to just shell out to the command line tool, but the performance is, ah, suboptimal. Caching mostly saves me, but at 0.1 secs per execution, highlighting five small samples pushes the initial page render up to half a second. Searching the intertubes for a pygments server didn’t reveal much. (The top hit is a random sample of highlighted code, not a highligher itself, and the other hits don’t seem very useful either.)

Continue reading pyggy the simple pygments server...

Posted 2013-05-03 14:57:56 by tedu Updated: 2014-10-10 00:38:04
Tagged: flak programming python web

flak upgrade

The only thing more fun than talking about yourself is talking about the blog platform you use to talk about yourself. I rolled out some flak upgrades today and it almost worked. I did learn one critical lesson about sqlite which may be interesting, after that the post devolves into useless trivia.

Continue reading flak upgrade...

Posted 2013-03-09 23:25:31 by tedu Updated: 2013-04-21 05:38:06
Tagged: flak programming web

rss

Maybe it works now. With correct links even.

Posted 2012-10-08 01:20:18 by tedu Updated: 2012-10-08 01:20:18
Tagged: flak

flak has comments

Assuming you have discovered the secret login ritual, flak now supports posting comments. This post mostly exists to live test the feature. You can reply to a comment, but there’s no replying to replies. Deeply nested comment threads just don’t work well, so not supporting them is my way of hinting that “you are communicating incorrectly”.

Continue reading flak has comments...

Posted 2012-09-03 22:49:01 by tedu Updated: 2014-11-29 03:49:00
Tagged: flak

introducing flak

I am writing a new blog platform using my Lua webframework, triplex. It promises to do everything I want it to do, and probably very little else. For me, by me. It’s called flak, a cool sounding four letter word that’s not quite like blog, but not entirely different. The name also suggests what I think blogging is frequently like.

Continue reading introducing flak...

Posted 2011-06-19 16:32:31 by tedu Updated: 2012-09-01 23:51:51
Tagged: flak