- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
I think your auto-troll script needs some fine tuning in the keyword matching area.
Admin
I've done stuff like that for simple websites that seldom get updated. I just stuck with Tabs and Returns, though.
Tab delimited text files are fine for that sort of thing, and easy to manage. If you need "users" to work it they can even open it in Excel. If you're setting up an FAQ section, or a set of items used on a couple of pages.
As long as it's only a handfull of these files and they're read-only it can be maintainable.
Admin
TRWTF is the use of WordPress. As a product, it is nearly unusable. Especially if you want to do something sensible like integrate network credentials instead of WP's built-in system, which educational institutions like to do these days. It certainly is not suitable as a CMS. (I manage the technical side of one of the largest WP installs in the world, and as a CMS, it sucks - it is also a terrible blogging platform, but that's a different story).
However, WP would be a step up from this worse-than-fail scenario. But as a product, the use of WP is a fail. I'd go with the "or something" part of the boss' idea and find a more suitable product.
Admin
Admin
Admin
(Y)
I don't get it. ...wait...we're programmers. none of us do.
Admin
More than that: it's the first "happy ending" I read with a spontaneous good choice from the boss. According to the story, the dev agreed to the boss' decision, not the other way around, which is mostly the case in the occasional "happy ending" stories.
Admin
TRWTF is that there isn't even a command line tool to update the database. LET ALONE BASE64 THE IMAGES!
CAPTCHA: luptatum
Admin
I have no idea what I just read....did some nerd write a script to automatically bitch about links to a webcomic and set it loose on a thread where nobody linked to the comic?
Nerdy nerd nerd nerd. Look at all of that pure nerd rage.
Admin
Use the right tool for the right job.
SQL Injection is trivial to avoid.
CMS is a solved problem.
Building a frankensystem like that is always, always idiotic.
Admin
[QUOTE user=Article] “Mostly. If images exceed a certain size, I think we overflow the buffer, but I haven’t tested it in awhile.”[/QUOTE]When I discover memory issues, I just ignore them. They might go away. I'm never sure though, because I haven't tested whether the issue still exists for a while.
Admin
CAPTCHA: distineo (that I have on my feet) is quite itchy
Admin
Guess that makes me old, doesn't it?
Admin
I, too, have been there, when asked to make a simple site on a server that did not host any form of database. And I have also seen this kind of thing being taken much too far, with file-locks, editor interfaces and cobbled-together file indexing scripts to retain some semblance of sanity on the whole mess. It never works. But you only learn that after you try it. There is no shame in writing a system like this, only in maintaining it when you know better.
Admin
My solution to a temporary PHP database was to store the data in .inc files: One page --> one folder --> one .inc.
Now, unlike Chad, I know that is sub-optimal. Even if it did save a lot of up-front work; and require manual creation of each new .inc. But for an 11-page site, it works fine.
But I planned ahead. When it comes time for a real database, the .inc design is formal enough to allow me to port the data to a database. Just one dumb little script to loop through all the folders, including each .inc in turn and inserting a row, and I'll be live.
...but I bet Kyle's problem will be a bit harder. After all, Chad knew his design was best because it was "invented here".
At least Kyle's boss made the right decision.
Admin
OTOH if you agree to cobble together ANYTHING I.T. (Website, min-app, Excel Macro, whatever) that is actually used by your work then when you say "Yeah, I reckon I could do that" you are basically claiming that you are able to produce something near-professional quality. If you're not, then you should point oput it's not your area of expertise. In the context, he was creating a (theoretically) useful system (not the boss's cousins third sons website) so if he didn;'t know what he was doing he shouldn't have done it. If my boss asked me to rewire the powerpoints in the building I'd be explaining to him that I'm not even remotely qualified to think about touching them.
Admin
And thus Disqus entered the scene and f*cked up commenting...
...which delivers several WTFs on its own.
Admin
and what sort of bands were you playing at the time?
Admin
For trolling I'll name my rock band "Y".
Admin
Why don't you write it in your BLAG? Hahaha LOL LOL LOL I'm definitely the best person in the world only because I know xkcd!
Oh, wait! Wait! I have a better one! PHPTXTDB? Nah, not really into POKEMON! OH MY GOD I'M NEARLY DYING BECAUSE OF HOW AWESOME I AM. I am such a special, perfect angel for being so knowledgeable on all things xkcd, because no one else knows it. I go around all day quoting xkcd, but nobody gets it! OH GOD WHY DOESN'T ANYONE UNDERSTAND ME? They're all SHEEPLE, they are.
Admin
I look into sources of Wordpress once and in comparison with it the PHPTXTDB solution is clever thing!
Wordpress is a nightmare, but it just works :)
Admin
I love WTFs like this. Not only needlessly reinventing the wheel but also unmitigated shite.
Admin
The real WTF is why they kept this system for so long rather than moving sooner.
Admin
Say that to little Bobby Table.
Admin
It's because the people who usually have a say over this kind of thing will forgive most diseased piles of wank passed off as quality work so long as the money keeps rolling in.
"But it works"
Admin
Except for the good ones, that is. KRRC 4-evah!
Admin
Led Zeppelin, Allman Brothers, Jefferson Airplane, Leo Kottke, lots of live recordings, etc. Basically, anything that wasn't Pop 40.
Admin
I don't understand what Kyle and Bill are complaining about. Have they never seen a CSV* file before?
Admin
I've actually had to do the delimiter dance. With real SQL too. No, I lie, it was MS SQL 2005, which conveniently can't parse CSV. Or at least, not the same CSV as products such as MS SQL 2000 and MS Excel 2000 parse.
I guess I could have resorted to the Unicode character set, but as it happens it turned out that the data I was importing only used 94 of the 95 printable ASCII characters. Guess which one I chose for my delimiter.
Admin
Actually, now that I think about it, the delimiter was a comma, but in order to include a comma in data I needed a text qualifier, and MS SQL 2005 won't let me quote the text qualifier to use as part of the data, so I needed to use a character that wasn't in any of my data.
Admin
What college did you go to? Everybody at my college station did it for free for the experience.
Admin
Whoa whoa whoa ragemonster... You don't have many real life friends do you?
Admin
The real WTF is that they replaced it with Wordpress.
Admin
It seems to me that most (not all, but most) bosses became bosses because they make GOOD decisions. I've found over the years - and I say this as an IT person - that disagreements between management and IT are often the result of either IT not fully understanding the full context of the business problem they're trying to solve (after all, the purpose of IT isn't IT for IT's sake - it's to make the business run more efficiently) OR an inability to explain in layman's terms a technical issue to management. It's all about communication.
...unless the boss is just an idiot. Sometimes that happens, too.
(In this case, the Real WTF is the guy not bringing this issue to his boss' attention sooner with a solution in hand.)
Admin
Wow, and I'm sat here as part of a team who runs one with no paid staff at all.