This forum is in permanent archive mode. Our new active community can be found here.

Ubiquity

edited September 2008 in Everything Else
So, has anyone heard of this? I've been using it all afternoon, and it seems really cool. Now, it's probably very situational, but I could see getting into the habit of using it all the time. I can see a lot of promise in it, because this is only an Alpha, and it's from Mozilla Labs, which hasn't disappointed in the past.

1561578
«13

Comments

  • When Mozilla actually has a full release out for it, I will definitely use this.
  • This is really great! I'm not getting full functionality as I don't use Gmail, but it has that instant usability that shows it must be a good idea. Like when I found out that clicking a link with the scroll wheel opens it in a new tab, I never have to think of it again, I just use it. I've also written my own command in the editor, and that was stupidly easy too. I'd share it on line, but I've not read that far yet.
  • I was looking into writing a SufficetoSay command, like the twitter command, but I'm not very familiar with program APIs. I'm going to keep working on it, but if someone with better credentials wants to do it, or explain that it can't be done yet, let me know, so I don't waste time on this.
  • edited September 2008
    Okay, double post, but it'll be okay.

    Anyway, I edited another code already made for identi.ca. I just don't know what the command should be. I made it sufficetosay for now though. You can just type su and then your message. It prompts you for your user and pass and then posts it automatically. This is the thing I've been looking for to actually make SufficetoSay useful for me. Anyway, I don't have a feed yet, but here's the code. Just type command-editor and throw this in the page. Also, what's the link for the favicon for the forums? I was going to add it to Ubiquity, but I couldn't find it.

    const IDENTICA_STATUS_MAXLEN = 140;

    CmdUtils.CreateCommand({
    name: "sufficetosay",
    icon: "http://www.frontrowcrew.com/favicon.ico",
    takes: {status: noun_arb_text},
    modifiers: {},
    preview: function(previewBlock, statusText) {
    var previewTemplate = "Updates your SufficetoSay status to: <br /><b>${status}</b><br /><br />Characters remaining: <b>${chars}</b>";
    var truncateTemplate = "<br />The last <b>${truncate}</b> characters will be truncated!";
    var previewData = {
    status: statusText.text,
    chars: IDENTICA_STATUS_MAXLEN - statusText.text.length
    };

    var previewHTML = CmdUtils.renderTemplate(previewTemplate, previewData);

    if(previewData.chars < 0) {
    var truncateData = {
    truncate: 0 - previewData.chars
    };

    previewHTML += CmdUtils.renderTemplate(truncateTemplate, truncateData);
    }

    previewBlock.innerHTML = previewHTML;
    },
    execute: function(statusText) {
    if(statusText.text.length < 1) {
    displayMessage("SufficetoSay requires a status to be entered");
    return;
    }

    var updateUrl = "http://sufficetosay.frontrowcrew.com/api/statuses/update.json";
    var updateParams = {
    source: "ubiquity",
    status: statusText.text
    };

    jQuery.ajax({
    type: "POST",
    url: updateUrl,
    data: updateParams,
    dataType: "json",
    error: function() {
    displayMessage("SufficetoSay error - status not updated");
    },
    success: function() {
    displayMessage("SufficetoSay status updated");
    }
    });
    }
    });


    Edit: Scott, if you want to, it might be easiest to just throw a .js up on your server with this code in it. It shows you here how to do it.
    Post edited by Vhdblood on
  • Edit: Scott, if you want to, it might be easiest to just throw a .js up on your server with this code in it. It shows youherehow to do it.
    Very nice! I'll take care of this business tomorrow.
  • edited September 2008
    Edit: Scott, if you want to, it might be easiest to just throw a .js up on your server with this code in it. It shows youherehow to do it.
    Very nice! I'll take care of this business tomorrow.
    Okay, sounds good. It makes it annoying to work on other things when I have to leave this in my command editor. Also, you might have missed it, but where is the favicon for frontrowcrew? I couldn't find it, and I wanted to add it. If you want, you can just throw it up in the code when you host it.
    Post edited by Vhdblood on
  • This is amazing.
  • Uh...

    Notice: Undefined variable: status in /var/www/frontrowcrew.com/html/forum/extensions/CodePrettify/default.php(45) : regexp code on line 1

    Notice: Undefined variable: chars in /var/www/frontrowcrew.com/html/forum/extensions/CodePrettify/default.php(45) : regexp code on line 1

    Notice: Undefined variable: truncate in /var/www/frontrowcrew.com/html/forum/extensions/CodePrettify/default.php(45) : regexp code on line 1


    I get this at the top of the page. Is it to do with Vimeo?
  • Uh...

    <span class="typ">Notice</span><span class="pun">:</span><span class="pln"></span><span class="typ">Undefined</span><span class="pln">variable</span><span class="pun">:</span><span class="pln">status</span><span class="kwd">in</span><span class="pln"></span><span class="pun">/</span><span class="kwd">var</span><span class="pun">/</span><span class="pln">www</span><span class="pun">/</span><span class="pln">frontrowcrew</span><span class="pun">.</span><span class="pln">com</span><span class="pun">/</span><span class="pln">html</span><span class="pun">/</span><span class="pln">forum</span><span class="pun">/</span><span class="pln">extensions</span><span class="pun">/</span><span class="typ">CodePrettify</span><span class="pun">/</span><span class="kwd">default</span><span class="pun">.</span><span class="pln">php</span><span class="pun">(</span><span class="lit">45</span><span class="pun">)</span><span class="pln"></span><span class="pun">:</span><span class="pln">regexp code on line</span><span class="lit">1</span><span class="pln">
    </span><span class="typ">Notice</span><span class="pun">:</span><span class="pln"></span><span class="typ">Undefined</span><span class="pln">variable</span><span class="pun">:</span><span class="pln">chars</span><span class="kwd">in</span><span class="pln"></span><span class="pun">/</span><span class="kwd">var</span><span class="pun">/</span><span class="pln">www</span><span class="pun">/</span><span class="pln">frontrowcrew</span><span class="pun">.</span><span class="pln">com</span><span class="pun">/</span><span class="pln">html</span><span class="pun">/</span><span class="pln">forum</span><span class="pun">/</span><span class="pln">extensions</span><span class="pun">/</span><span class="typ">CodePrettify</span><span class="pun">/</span><span class="kwd">default</span><span class="pun">.</span><span class="pln">php</span><span class="pun">(</span><span class="lit">45</span><span class="pun">)</span><span class="pln"></span><span class="pun">:</span><span class="pln">regexp code on line</span><span class="lit">1</span><span class="pln">
    </span><span class="typ">Notice</span><span class="pun">:</span><span class="pln"></span><span class="typ">Undefined</span><span class="pln">variable</span><span class="pun">:</span><span class="pln">truncate</span><span class="kwd">in</span><span class="pln"></span><span class="pun">/</span><span class="kwd">var</span><span class="pun">/</span><span class="pln">www</span><span class="pun">/</span><span class="pln">frontrowcrew</span><span class="pun">.</span><span class="pln">com</span><span class="pun">/</span><span class="pln">html</span><span class="pun">/</span><span class="pln">forum</span><span class="pun">/</span><span class="pln">extensions</span><span class="pun">/</span><span class="typ">CodePrettify</span><span class="pun">/</span><span class="kwd">default</span><span class="pun">.</span><span class="pln">php</span><span class="pun">(</span><span class="lit">45</span><span class="pun">)</span><span class="pln"></span><span class="pun">:</span><span class="pln">regexp code on line</span><span class="lit">1</span>


    I get this at the top of the page. Is it to do with Vimeo?
    As far as I can tell, it is. I get this also.
  • It was a problem with the thing that makes source code look nice.
  • *cough* *cough*

    Hey Scott. Wanna get around to doing this? I think if you got this up and we told people about it in the sticky, we might get even more use out of Suffice to Say.
  • Been using Ubiquity for a few days now, and I am liking it very much. A few commands are still a bit wonky, but I expect that from a program still in alpha. It's so... so neat! :D
  • The one thing that's keeping me from using this more is the fact that I keep forgetting that I have it D:
  • Yeah, me too. I keep going to the Firefox search bar out of habit, then thinking after I've finished my search, "Wait, I could have used Ubiquity for that! Dammit!"
  • If you like Ubiquity, why not use Linux? You have been able to control your entire computer like that from the command line for many years now.
  • Mainly because I'd like a bigger hard drive to partition before I try Linux. I currently don't have a desktop computer, and my current laptop hard drive has very little space left on it. ^^;; Hopefully, once I get a bit more money in the bank, I can get a nice dual booting computer set up in the now finished basement.
  • Mainly because I'd like a bigger hard drive to partition before I try Linux. I currently don't have a desktop computer, and my current laptop hard drive has very little space left on it. ^^;; Hopefully, once I get a bit more money in the bank, I can get a nice dual booting computer set up in the now finished basement.
    If I were you, I would go and get an external hard drive ASAP. Laptop hard drives are completely unreliable, and should never be trusted. If it has "very little space" left on it, you must be keeping stuff on there you care about. Don't! Back that stuff up ASAP.
  • If you like Ubiquity, why not use Linux? You have been able to control your entire computer like that from the command line for many years now.
    The more I hear about Linux the more awesome I think it would be to use it. Unfortunately, video games still take up so much of my time on the computer that it's hard to justify.
  • The more I hear about Linux the more awesome I think it would be to use it. Unfortunately, video games still take up so much of my time on the computer that it's hard to justify.
    I am the opposite. I was Linuxing it up, but then I went back to Windows on the desktop to return to PC gaming.

    Linux on the laptop is the way to go. Gaming on laptops is stupid.
  • I am the opposite. I was Linuxing it up, but then I went back to Windows on the desktop to return to PC gaming.
    Same here. If/when I buy Audition, I'll be a Windows-only shop again, like I was for much of my time at RIT.
    Linux on the laptop is the way to go. Gaming on laptops is stupid.
    I play Civ IV and Defcon on the train. How is that stupid?
  • edited September 2008
    I play Civ IV and Defcon on the train. How is that stupid?
    Civ IV on a tiny screen? Blech.

    Defcon without a real mouse? blech.

    Also, you're playing defcon again? Should we pick that back up as practice for Multiwinia? How about tonight?
    Post edited by Apreche on
  • Civ IV on a tiny screen? Blech.
    A high-resolution screen. It's more than enough.
    Also, you're playing defcon again? Should we pick that back up as practice for Multiwinia? How about tonight?
    Sounds like a plan, unless we just play Bionic Commando instead.
  • If you like Ubiquity, why not use Linux? You have been able to control your entire computer like that from the command line for many years now.
    It isn't just controlling through a command line, it is having results for searches displaying underneath without having to go to the page, and many other cool widgets. Also I mainly use keyboard shortcuts in any operating system. As an ex-professional video editor you sort of get used to it.
  • It isn't just controlling through a command line, it is having results for searches displaying underneath without having to go to the page, and many other cool widgets.
    Have you ever used tab completion?
  • It isn't just controlling through a command line, it is having results for searches displaying underneath without having to go to the page, and many other cool widgets.
    Have you ever used tab completion?
    Only when text editing. Why?
  • Only when text editing. Why?
    If you use tab completion on the command line, it's basically ubiquity.
  • Laptop hard drives are completely unreliable, and should never be trusted.
    I can vouch for this, the drive in my Macbook died in the past week. Yay for warranty!

    And Eryn, you're a Mac user, right? Have you tried Quicksilver?
  • If I were you, I would go and get an external hard drive ASAP. Laptop hard drives are completely unreliable, and should never be trusted. If it has "very little space" left on it, you must be keeping stuff on there you care about. Don't! Back that stuff up ASAP.
    Most of that space is taken up by music, podcasts, some videos, and project files for podcasts and videos I'm currently working on. That stuff is all backed up on an external drive as well for safety's sake (and the drive also holds a bunch of other stuff I don't keep on the lappy at all, such as anime episodes), but I like to keep it on the lappy for convenience's sake as well. It's kind of a weak reason, but that's just the way I've found that I like to do things.

    Also, Tyashki: Yes, I was using Quicksilver up until I replaced my previous laptop. I just keep forgetting to re-install it. I probably should pretty soon. XD;;
Sign In or Register to comment.