0xDECAFBAD

It's all spinning wheels and self-doubt until the first pot of coffee.

Ampheta + Windows + Outlines: Once More with Feeling

At last: I had a good solid hacking session with the beast under WinXP, and I think I've flushed out the showstopper bugs. So, here's yet another release (hopefully zaro boogs) of the thing for you to grab and try:

Thanks for bearing with me out there and not beating me about the head and shoulders. :) I mean, yes, it's free and its experimental... but it's still damn frustrating.

Basically, the trouble started when I tried to use "use lib". Seems like a reasonable enough request, lib.pm being very much a core part of perl. But, Morbus hadn't used it anywhere in AmphetaDesk, so Perl2EXE cheerfully left it out. Well, I had to hack by other means, since I wanted this thing to be as drop-in compatible with the current release of AmphetaDesk as possible.

And then, there were other bits I'd left out. And also there were the bits that I'd written at 3:30 am the other night and wasn't precisely sure what made it possible for them to actually work anywhere, let alone on my iBook. But, I think now I've got things under control.

It makes me appreciate the OS X environment so much more. OS X is like driving a nice big, fully packed RV that handles like a station wagon down the hacking highway. On the other hand, Windows is a Ford Festiva with a hole in the floorboards and a nagging suspicion that I forgot something back at the house. Okay, so that was a bit contrived. I just wanted to say something smarmy after all this grumbling. :)

Is this thing working for anyone yet?!

Update: In case you were wondering, this release should be usable via the original instructions back here. Which are, basically:

  1. Replace templates/default with this archive's contents.
  2. Create a directory named channels_meta in your data directory.
  3. Share and Enjoy

shortname=ooobbh

Archived Comments

  • Still have some trouble :( Sorry.. Amphetadesk opens up ok, the templates are now fine. However, I click on a link, the browser goes nuts when the new window is opened. I do get a message "Click counted. Redirecting you to" and the link name, which is followed by it continuously reloading that page/message.
  • Weird! So the page actually shows the link you're supposed to be going to, but it goes into a reload loop? Grr! And you don't see any other errors or messages other than "Click counted..."?
  • For those reading on, this is a correct statement: "Seems like a reasonable enough request, lib.pm being very much a core part of perl. But, Morbus hadn't used it anywhere in AmphetaDesk, so Perl2EXE cheerfully left it out." This wasn't a conscious decision on my part - it was a sideeffect of the new backend (which allows people like l.m.orchard to hack magical stuff like this template thingy). Suffice it to say, it'll be in the next version of AmphetaDesk (as well as most of the good stuff from these templates). I can't thank l.m.orchard enough for doing these hacks whilst I'm away working on other things. You rock!
  • Steve, Concerning your looping problem - which browser are you using? In Mozilla, the page works just fine, however, the meta tag refresh is a little off from what it's supposed to be. l.m.orchard has:   META HTTP-EQUIV="Refresh" Content= "0;[$ $GLOBAL::url $]" When the standards state it should be:   META HTTP-EQUIV="Refresh" Content= "0;URL=[$ $GLOBAL::url $]" So, what you may want to try (you can leave AmphetaDesk running when you do this), is to go into templates/default/view_item.html and modify the line (near the bottom) to include the URL=. Let us know how it goes, eh?
  • Im an XP user, just using IE6 (ducking thrown eggs and rotten fruit).. Anywyas, thanks, the last change fixed it, the window pops up, I get the message briefly, and it redirects correctly now. Thanks, it rocks :)
  • Seems to work fine under IE6 (win98). But... Expand/Collapse all channels don't work, and when I "back" into the channels page after visiting a site, I am not returned to the same place on the page. Thanks! (Now we only need a tree view [categories] and less strict XML processing...]
  • Well, hate to say it, but, I had to roll back to the previous version. I like the new version with the click tracking, etc., but, I was experiencing some wierdness. For example, I would get OLD entries showing up as the new ones for channels, with the new entries as the old. Plus, sometimes channels would disappear until the collapsible header for another channel. I really do like the click tracking concept, just not ready for prime-time yet .. keep up the great work though :)
  • error report Program fragment delivered error ``Can't use string ("Array index is out of range. Th") as a HASH ref while "strict refs" in use at D:\ide-fredgrott\sampledir\amphetadesk-win-v0.93\templates\default\lib/AmphetaDecaf/ChannelsMeta.pm line 228.''
  • RE: AmpheteDesk v0.93 l.m. orchard template rework. Well, I downloaded the tarball, removed my old template\default and replaced it with the new one, created the channels_meta under data, cleared all files in my IE6 (gag) cache, all history, etc.; I ran the app, starts up fine no problems. But, I also do not see any changes. How do we access the new features ? I'm running Win2k sp3, IE6 sp2 (oh, god help me, don't throw tomatos on my PC, I'm going MAC with my next PC, I'm fed up with the numerous MS patches every week.) 256 meg. RAM. I'll try a restart of the PC and see what happens. Before I go, I just went and looked in the channels_meta and it is empty, I had done a number of clicks on various links. Anyway, it still works, but where is the beef ? Curtis
  • OK, so I am having another problem. Besides not being able to know there are any new features, I just added about 20 new channels to my existing 31, each time I added one in the add channel page, it said it was added successfully. When I finished I closed out the browser, closed out ampheta, reopend ampheta, NOT a single new channel was added.
  • Well, I realized why I could not add channels and added channels with the new templates, they added fine. Late I opened Amphdesk, the NEW channels were gone. So I removed the new templates, put back the original added new channels, all seemed OK. This morning I open Ampheta, the new channels are gone. Nothing like this happened before I added the new templates, and I still could never see any new features. It'll be worked out, just posting feedback. Curtis
  • Well, with .93.1 under XP in my case, Amphetadesk totally dies. It launches the browser and proceeds straight to "Not Responding." What should I try? (For once I had actually backed up the default, so all was not lost.)
  • I guess I won't see any comments here then. I'll just have to wait for the next build of Amphetadesk.
  • do you know the download linky is broke? hope its back soon, i'd really like to try it
  • http://www.decafbad.com/downloads/AmphetaOutlines-20020917.tar.gz
  • Just catching up on comments, look here for further updates to AmphetaOutlines: http://www.decafbad.com/twiki/bin/view/Main/AmphetaOutlines