Not signed in (Sign In)
    •  
      CommentAuthorcrc
    • CommentTimeApr 30th 2009 edited
     
    As many are aware, I'm continually working on Ent. To avoid breaking existing functionality, I maintain three separate Ent environments. The core two handle the standard ent @ retroforth.org and askpeek.com addresses. The third is my testbed for new features and experimental tweaks to the core code.

    I'd like more testing to be done against the experimental branch, so those willing to help test can use entx @ retroforth.org for this. Any feedback will be appreciated and helps me know what needs tweaking/improving. Suggestions for new services are also welcome.

    I'll post here whenever I add new features that need testing.
    --------------------------------------------------------------------------------------------------
    @register
    Create an Ent user record for your email address

    @enable weather <zipcode>
    Get weather reports every morning and evening. You need to @register first.

    @enable headlines
    Get the latest news headlines automatically.

    @disable weather
    Stop receiving weather updates.

    @disable headlines
    Stop receiving headlines.

    Twitter:

    @identify twitter username:password
    Record your Twitter login information. Do *after* sending @register

    @status
    Set your Twitter status. Put the status in the *body* of the email, not the subject line.

    @timeline
    Get your Twitter timeline

    @replies
    Get your @ messages from Twitter

    @direct
    Get the latest 20 direct messages sent to you

    Other stuff:

    scores [mlb | nhl | nba | nfl]
    Get current sports scores

    fortune
    Get a random quote

    bc
    BC programming language / calculator. See http://en.wikipedia.org/wiki/Bc_programming_language
    Put code in the *body*, not the subject.

    calc [formula]
    Calculate the results of formula

    synonym word
    Get a list of synonyms for a word
    •  
      CommentAuthorseanlaf
    • CommentTimeApr 30th 2009
     
    calc! thank you!
    • CommentAuthorMarkB
    • CommentTimeApr 30th 2009
     
    @crc - one possible caveat that I found out the hard way with my own Twitter experiment - you can only enter a subject with something like 65 or 66 characters maximum from your Peek (well, you can enter more, but anything else is truncated). To get around this limitation you'll need to delve into the world of multi-part mime decoding which isn't fun/pretty in PHP.
    •  
      CommentAuthorcrc
    • CommentTimeApr 30th 2009
     
    Mark: I can handle parsing out of the body (I do this in my IRC client) so I'll adapt the Twitter messaging functions to use the body. Thanks for the info on the limit on subject length.
    •  
      CommentAuthorcrc
    • CommentTimeApr 30th 2009
     
    And now the status uses the body of the email, so the subject limitations no longer matter.
    • CommentAuthorMarkB
    • CommentTimeApr 30th 2009
     
    crc - awesome! It's so good to hear that someone else shares my pain of parsing email message body text! :-)
    • CommentAuthordan
    • CommentTimeApr 30th 2009
     
    Mark - we definitely share the pain of parsing email message body texts with you (esp HTML emails)!
  1.  
    I am unable to add my account using the @id-tm command. I was able to register my email address, I got a confirmation email back. When I use @id-tm I get an email back saying unknown command. I would really like to use these twitter features. Can you please check into this? Thanks!
    •  
      CommentAuthorcrc
    • CommentTimeMay 5th 2009
     
    Use @id-tw not @id-tm
    •  
      CommentAuthordan_in_sd
    • CommentTimeMay 5th 2009
     
    dont forget Restaurants. ;-)


    -Dan K.
    • CommentAuthorgabe
    • CommentTimeMay 5th 2009
     
    Peek HQ will help testing for sure!
    •  
      CommentAuthorcrc
    • CommentTimeMay 8th 2009
     
    Askpeek Weather now has local radar images.
    •  
      CommentAuthorcrc
    • CommentTimeMay 8th 2009
     
    I added the BC programming language as an option. This is an "an arbitrary precision calculator language" and is already in use as the backend of the 'calc' tool. For those wanting more power, this provides it.

    1) Put the code in the body
    2) Subject should be: bc
    3) Enjoy
    • CommentAuthorMarkB
    • CommentTimeMay 8th 2009
     
    @crc

    I tried a few bc programming tests and ent didn't catch them.

    One example I tried:

    a=1+3 ; "1 plus 3 equals " ; a
    •  
      CommentAuthorcrc
    • CommentTimeMay 8th 2009
     
    Are you using entx or ent?
    • CommentAuthorMarkB
    • CommentTimeMay 8th 2009
     
    Turns out I was using ent. Gave entx a shot and it worked like a charm. Thanks!
    • CommentAuthorMarkB
    • CommentTimeMay 8th 2009 edited
     
    Here's something useful:

    p=1000;
    t=12;
    r=6;
    i=p*t*r/100;
    np=p+i;
    print "Principal Amt: ";p;
    print "Num Months: ";t;
    print "Interest Rate: ";r;
    print "----------------\nInterest Amt: ";i;
    print "Principal + Interest: ";np
    •  
      CommentAuthorJanaKay
    • CommentTimeMay 8th 2009
     
    I haven't been able to get any farther than @register. I'm using @id-tw as listed above. I keep getting "sorry, but ent wasn't able to understand...."
    I got a confirmation email, and am using entx.
    When I try to get a user timeline on twitter, I get "sorry, something is technically wrong, etc, etc"
    Any ideas?
    •  
      CommentAuthorcrc
    • CommentTimeMay 9th 2009
     
    JanaKay: Try it again please. There was a minor backend issue which should now be fully resolved.
    •  
      CommentAuthorcrc
    • CommentTimeMay 9th 2009
     
    I added @direct to get direct messages from Twitter.
    •  
      CommentAuthorJanaKay
    • CommentTimeMay 11th 2009
     
    Happy happy joy joy! <G>
    Got the twitter thing working, now I'll tackle something else! LOL
    Actually I was able to get a weather update the other day, and I must say I am totally impressed with the radar map. I'm a bit of a weather junkie, so this is very cool for me!
    Thanks and keep up the good work!
    • CommentAuthorcgingerich
    • CommentTimeMay 12th 2009
     
    I have a request. I tested the @timeline and it is great! I would like to request that the username be returnes as well as the full name so I can @reply to someone. There full name is not always the username used in @reply. Thanks and great work!
    •  
      CommentAuthorQBJECT
    • CommentTimeMay 17th 2009
     
    I'm with @cgingerich on usernames. Other than that, so far @register, @id-tw, @timeline, and @status have all worked flawlessly for me. Add Facebook support and I'll cut ping.fm loose.

    (One thing I do like about their system is the ability to selectively update one service or another.)

    Good work, as always!
    •  
      CommentAuthorcrc
    • CommentTimeMay 17th 2009
     
    usernames will be resolved within the next 1-2 days.

    Facebook is something I'm still studying but could be added in the next month or so of things go well.

    I will be adding a minor security feature (a pin) to lower the odds of your account being used by others. Once this is done, I will add a web interface for managing/registering and then I'll feel more comfortable about expanding to cover other services like facebook.
    •  
      CommentAuthorcrc
    • CommentTimeMay 17th 2009
     
    @timeline now has usernames.
    • CommentAuthorkevin
    • CommentTimeMay 18th 2009
     
    Hey Ent,

    I had a new idea for a feature this weekend: reviews@

    For example, I was thinking this would be useful when renting movies, encountering deals at Best Buy or gamestop, or making a random stop into a movie theater or CD shop.

    I'm not sure what the format could be to narrow down the options for Media-type etc. But you seem to be pretty creative!

    All I know is that I often run into a used DVD, CD or VideoGame shop, find a good deal and usually think: "Hm, I wonder if this is any good"
    •  
      CommentAuthoramol
    • CommentTimeMay 18th 2009 edited
     
    @CRC -- you are a wild and crazy peekster. we talk of you often at peek hq. mostly in awe and reverence.
    •  
      CommentAuthorQBJECT
    • CommentTimeMay 18th 2009
     
    @crc - I suppose I could answer this question experimentally, but does @status test the length of the tweet before submitting it to Twitter?

    Until Gabe & co add a character counter to the Peek, it'd be a nice stopgap.
    •  
      CommentAuthorcrc
    • CommentTimeMay 19th 2009
     
    marudi: no, but I can add that. What do you think proper behavior should be if the status message exceeds 140 characters?
    •  
      CommentAuthorQBJECT
    • CommentTimeMay 19th 2009
     
    My personal preference is that it would bounce the whole tweet back like this:

    The Tweet you submitted is over 140 characters and would have been truncated had it been posted:

    This tweet is too long and should be shortened. Maybe this could be shown by inserting a newline after 140 characters so that the user can s...
    [ee how much to cut it.]
    (22 extra characters)

    I can see where other people might still want the tweet to be posted anyway and then be notified that it got chopped. Maybe when you've put together the web registration interface we could set that preference there?
    •  
      CommentAuthorcrc
    • CommentTimeMay 21st 2009
     
    Registered users can now get weather forecasts sent automatically.

    1) @register
    Only if you haven't done so yet.

    2) @enable weather <zipcode>

    3) You'll get weather forecasts every morning, around 6am eastern time and every evening around 5pm eastern time.

    Current limitations:

    1) You have to use a zipcode; city/state pairs don't work yet. (This will be resolved soon)
    2) Local radar is not provided yet. This will be added once the base functionality is tested better.
    3) You may receive additional weather reports at random times when new functionality is being added.
    •  
      CommentAuthorcrc
    • CommentTimeMay 21st 2009
     
    And you can stop receiving weather updates by sending:

    @disable weather
    •  
      CommentAuthorcrc
    • CommentTimeMay 21st 2009
     
    Twitter status app now checks for length and rejects messages over 140 characters.
    •  
      CommentAuthorQBJECT
    • CommentTimeMay 21st 2009
     
    Thanks, crc! @status works like a charm!
    •  
      CommentAuthortmel
    • CommentTimeMay 21st 2009
     
    @crc - You're the man! :-D
    •  
      CommentAuthormalkboy
    • CommentTimeMay 21st 2009
     
    @crc, even thou I may never use it (never got into twitter much).. thanks for looking out for others crc..
    •  
      CommentAuthorcrc
    • CommentTimeMay 21st 2009
     
    Registration for Twitter has changed:

    @identify twitter username:password

    (No need to do this if you're already using my Twitter apps; only for new users)
    •  
      CommentAuthorcrc
    • CommentTimeMay 21st 2009
     
    New service: News headlines delivered automatically.

    1) @register
    Only if you haven't done so yet.

    2) @enable headlines

    3) You'll get the latest headlines a few times each day.

    4) @disable headlines
    If you want them to stop.
    •  
      CommentAuthortmel
    • CommentTimeMay 21st 2009
     
    I wonder what would happen if crc teamed up with chris from snapask....
    •  
      CommentAuthorseanlaf
    • CommentTimeMay 21st 2009
     
    @kevin this is going back a couple days ago, but kevin, if you pull down an amazon page from 'ent' it includes customer reviews as well as amazon's price. i know you were looking for reviews form best buy, but amazon should be pretty close to the same kinds of reviews.
    • CommentAuthorkevin
    • CommentTimeMay 22nd 2009
     
    @seanlaf

    Thanks so much! Amazon will definitely do the trick.

    Is there also a Yelp interface for ent?

    "restaurants@retroforth.org"?

    Kevin
    •  
      CommentAuthorcrc
    • CommentTimeMay 22nd 2009
     
    Yelp is coming ;)
    •  
      CommentAuthorJanaKay
    • CommentTimeMay 23rd 2009
     
    Dayum, you guys are good! <G>

    Seriously....thanks for all these goodies. I know about the challenges of making stuff like this work, and I used to be one of those types, actually.....so I appreciate what goes into the testing, etc.

    Thanks from those of us that can reap the benefits w/o the stress!
    •  
      CommentAuthorcrc
    • CommentTimeJun 3rd 2009
     
    I've implemented some cleanups to the weather app. The output should be more readable, and it's no longer a straight fetch of the wunderground mobile site. Expect to see more cleanups in the near future, once the initial tests on this are done.
    •  
      CommentAuthordan_in_sd
    • CommentTimeJun 3rd 2009
     
    Yelp is coming. Yelp is coming. Hooray!!!

    I cant wait to test that out. ;-)
    • CommentAuthorkentsbike
    • CommentTimeJun 6th 2009
     
    Hey crc,

    Awesome stuff, keep it coming. You need to update the help function in Ent & Entx, it still has the @id-tw command listed, which doesn't work. I had to come here to figure out that I had to enter @identify twitter username:password to get things going. Very cool.

    I'd love to see the xtify command work so somebody can email ent and see approximately where I'm at. Is anything like that in the works.
    •  
      CommentAuthorcrc
    • CommentTimeJun 6th 2009
     
    I'll try to get the help text updated tonight.

    Regarding Xtify, that's on hold pending more word from the main Peek developers. I can't test anymore since I had to replace my original peek (hardware issue), and they still haven't setup Xtify on my new one, or provided a way for me to activate Xtify on my own.
    •  
      CommentAuthorJanaKay
    • CommentTimeJun 7th 2009
     
    Oh I'm glad you mentioned that, because one of ours is awaiting setup, and I just thought Peek had abandoned me or something. :P
    •  
      CommentAuthorcrc
    • CommentTimeJun 10th 2009
     
    Development has been slow lately due to real-life work, health issues, and the resulting lack of time. Having said that, I thought it was time to share a little of what I'm working on.

    Over time the Ent codebase has grown in complexity and size. The complexity has resulted in bugs being harder to locate than I'd like, and it's caused some growing pains (e.g., 'news bbc' and 'bc' colliding in the lookup code). To rectify this, I've spent a lot of time in thought and work on designing a new approach. This is finally starting to pay off.

    A few highlights:

    1) Each service is being moved out of the core code, and provided as a web service
    2) I'm using a DSL to simplify writing much of the code for lookups/replies
    3) The changes will allow me more options in implementation languages
    4) Processing of content can be handled by a different machine, reducing the overall load on my small server

    The changes should result in a leaner, faster Ent. Point 1 is fairly significant since I'll be opening my data sources to others. (More details on this will be shared very soon).

    I'm also hoping to save enough to get started working on Karere again. (I need a server in a datacenter that allows irc access; these aren't as common [especially when you have a *very* tight budget] as I'd like). Whenever push finally gets restored, I'd love to start using it again.
    •  
      CommentAuthorkrauser530
    • CommentTimeJun 10th 2009
     
    @crc: I think you should add a paypal donate button like those found on many opensource application websites. I'm sure many would be happy to contribute a few dollars towards the development of ent.

    Here's the link:
    https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/donate-intro-outside