When I was first learning structured programming, I used an IDE (TurboPascal). Since then, I have rarely used an IDE outside of specialized language development environments like VisualBASIC. Mostly, I use a text editor that I link up with a good sftp program to edit remotely or that I use in conjunction with subversion. For [...]
¶
Posted 12 November 2008
† 2718.us
§
Web Programming
‡
°
Tagged: bbedit, coda, editor, gecko, komodo, komodo edit, macvim, scintilla, sftp, skedit, subethaedit, subversion, textmate, textpad, textwrangler, vi, vim
The reworking of my site that shows comparative statistics on every site based on the code from LiveJournal is now up and live and at a new URL: http://lj-stat.2718.us/. Moreover, there are now graphs of the data over time. The data is updated at noon and midnight central time (U.S.). One of the things that [...]
¶
Posted 22 October 2008
† 2718.us
§
LJ-Stat § Web Programming
‡
°
Tagged: 2.0, 301, 301 moved permanently, 301 redirect, 302, antialias, antialiasing, chart, gd, gd2, graph, historical data, history, line thickness, livejournal, livejournal-based, livejournal.org, lj, lj clone, lj code, lj-based, LJ-Stat, php, redirect, stat, statistics, stats, v2.0
I’m currently working on an overhaul of LJ-Stat. It looks like there’s some issue in using curl_multi_exec() in PHP with too many requests at once causing some requests to fail strangely, potentially accounting for the lack of data from several sites that are clearly not down and clearly provide stats.txt. My current workaround is to [...]
¶
Posted 12 October 2008
† 2718.us
§
LJ-Stat
‡
°
Tagged: bloty, chart, commiejournal, graph, historical data, history, iziblog, livejournal, livelogcity, lj, lj clone, lj code, LJ-Stat, stat, statistics, stats
It appears that there are now demonstrated exploits of PHP apps that use mt_rand() and/or rand() as a result of issues of seeding in one application affecting the PRNG stream in another application that used the PRNG to generate passwords or similar such things. From mt_srand and not so random numbers: … it is strongly [...]
¶
Posted 31 August 2008
† 2718.us
§
Web Programming
‡
°
Tagged: /dev/random, /dev/srandom, mersenne twister, mt_rand, password, php, prng, pseudo-random number, pseudo-random number generator, pseudorandom number generator, rand, random, random number, random number generator, rng, security
In case anyone was still curious following my previous headache post, it is possible to integrate WP2.6 and bbPress 0.9.0.2. I say “possible” because while I’ve got it working as far as I can tell (without having modified core code in either WP or bbP), I haven’t really tested it and it’s a mess. More [...]
¶
Posted 16 August 2008
† 2718.us
§
Web Programming
‡
°
Tagged: 0.9.0.2, 2.6, action hook, add_action, bbpress, bbpress 0.9.0.2, clear_auth_cookie, cookie, cookies, integration, set_auth_cookie, wordpress, wordpress 2.6, wp, wp2.6
Now, I’m really big on *not* complaining about new versions of things and I especially dislike the practice of complaining about how a new version of WordPress broke some plugin that is of dire importance to someone’s website, but WordPress 2.6 is starting to give me a headache. I’ve already posted thrice about issues with [...]
So, as a followup to parts 1 and 2, per WordPress Trac ticket #7001, WordPress 2.6 has split up the login cookies into three parts: what was the one and only login cookie in 2.5 is now limited to /wp-admin there’s a copy of that one that’s just limited to /wp-content/plugins, for backward compatibility with [...]
¶
Posted 03 August 2008
† 2718.us
§
Web Programming
‡
°
Tagged: 2.6, action hook, add_action, admin_cookie_path, authentication, auth_redirect, cookie, cookie path, cookie paths, COOKIEPATH, cookies, do_action, hook, is_user_logged_in, plugin, plugin api, security, set_auth_cookie, user, user authentication, user login, wordpress, wordpress 2.6, wp, wp2.6
A List Apart is probably one of my favorite sites about web design. Their 2008 survey of web professionals is running now.
Having stated the problem and now played further, I’ve got good news and bad news. The good news is that there’s an action hook, ‘set_auth_cookie’, that gets called whenever the cookies are set, so if the stuff for which you want to authenticate is on the same server but at a different path, you can [...]
¶
Posted 29 July 2008
† 2718.us
§
Web Programming
‡
°
Tagged: 2.6, action hook, add_action, admin_cookie_path, authentication, auth_redirect, cookie, cookie path, cookie paths, cookies, do_action, hook, plugin, plugin api, security, set_auth_cookie, user, user authentication, user login, wordpress, wordpress 2.6, wp, wp2.6
I’ve been hoping for the last hour or two that there’d be just one post on this topic, giving the problem and solution all together, but I have yet to solve it and so I’m just going to post the issue for now, until I have a solution. As a security measure in WP2.6, login [...]
¶
Posted 29 July 2008
† 2718.us
§
Web Programming
‡
°
Tagged: 2.6, admin_cookie_path, authentication, auth_redirect, cookie, cookie path, cookie paths, cookies, security, user, user authentication, user login, wordpress, wordpress 2.6, wp, wp2.6