Search:

Type: Posts; User: Samjiman; Keyword(s):

Search: Search took 0.00 seconds.

  1. Thread: Fun with XML

    by Samjiman
    Replies
    15
    Views
    727

    Re: Fun with XML

    YAML is okay. I don't see how XML is unreadable though.
    Unless you lack the necessary brain power to read tags as labels and the contained data within as values, which in my opinion is very easily.
  2. Thread: Fun with XML

    by Samjiman
    Replies
    15
    Views
    727

    Re: Fun with XML

    What are you talking about? XML rocks, dude. :guitar:
    I love it. Beats the crap hands down out of INI files imo. Of course, maybe you prefer YAML.
  3. Replies
    21
    Views
    1,034

    Re: Looking for a decent PHP editor ?

    PHP can indeed be used for projects not involving a grain of HTML or in fact anything to with the web. It's just its most commonly used for server side scripting on the web.

    PHP if I remember what...
  4. Re: HOW TO: Fix JavaScript/C MIME type problem with GNOME

    Hmmm... I don't know what to suggest until I can see what you've done in your freedesktop.org.xml file. A small mistype perhaps.

    I'll see if I can get it fixed for you over MSN Messenger.
  5. Replies
    15
    Views
    1,074

    Re: PHP in Ubuntu. Where to begin?

    This is how best I found to best set up a web server with PHP support.
    I prefer Lighttpd over Apache. But its basically very similar to set up. Of course here I am using just a PHP CGI binary for...
  6. Replies
    2
    Views
    3,616

    Re: Lua 5.1.2 and LuaSocket

    Thanks, I did manage to get LuaSocket to compile the necessary shared libraries. The solution was to just get the Lua 5.1.2 source code and include the files in the directory where the makefile...
  7. Replies
    296
    Views
    70,108

    Re: "Hello Ubuntu" in every programming language

    Johan (a prototype language I'm developing)



    program console
    require io
    func main()
    {
    var name = std_input("Hello, what is your name?")
    std_output("Hello, " .. name .. ". " .....
  8. Replies
    2
    Views
    3,616

    Lua 5.1.2 and LuaSocket

    Hi. I have been trying to prototype an idea of mine in Lua, which involves web requests, so I googled for a network socket library and found LuaSocket.

    I had previously installed Lua 5.0 from the...
  9. Replies
    14
    Views
    620

    Re: interested in programming

    Some good interpreted languages are:

    Python, Lua and Ruby

    Out of those three, I think I prefer Ruby (although I haven't used any extensively).
    The nice thing about Ruby is that the designer...
  10. Replies
    2
    Views
    329

    Re: XMLSchema problem with XML document

    I gave up eventually and stuck to a DTD. Proper validation of data isn't really necessary for this project I'm working on anyway.

    Thanks anyway. :)
  11. Replies
    2
    Views
    329

    XMLSchema problem with XML document

    Hello. I have this XML document:


    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <vbtagsconf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"...
  12. Replies
    25
    Views
    14,870

    Re: Great Rails Editor for Gnome

    I see. I thought maybe you did that. Your Gnome Panel made to look like Mac OS X looks pretty sweet. I thought it was a dock package.

    Thanks.
  13. Replies
    25
    Views
    14,870

    Re: Great Rails Editor for Gnome

    I managed to get Scribes installed along with Iceweasel, by installing an older Yelp DEB package, which didn't have Firefox as dependency.
    Incidentally, how did you set Scribes up to attach Nautilus...
  14. HOW TO: Fix JavaScript/C MIME type problem with GNOME

    Problem
    Your JavaScript files (application/x-javascript) are incorrectly identified as C source code files (text/x-csrc)
    by your GNOME system.

    Cause
    This is caused because your system is set to...
  15. Replies
    3
    Views
    333

    Re: Count individual tag occurrences

    I've fixed it. Turns out I just had to use a for loop, rather than a while.
  16. Replies
    25
    Views
    14,870

    Re: Great Rails Editor for Gnome

    I've tried Scribes - problem is for some reason the package requires you to install Yelp, which requires Firefox. But I'm using Iceweasel (essentially Firefox, but Debian's version) and consequently...
  17. Re: The great LibertyBASIC and justBASIC chalenge

    Problem with BASIC is it often includes the "goto" command which means you can end up with spaghetti code. Of course, like any language you should use constructs wisely. I have a copy of LibertyBASIC...
  18. Replies
    3
    Views
    333

    Re: Count individual tag occurrences

    Appreciate the advice. But I am writing a Firefox extension and as such have to use a language supported by the Mozilla Framework - so far development with JavaScript has been smooth. I don't really...
  19. Replies
    3
    Views
    333

    Count individual tag occurrences

    Hi, guys.

    I'm having a problem with a function I have defined to match every second occurrence of a tag - e.g. every second occurrence of <b>.

    I have this JavaScript code:



    // match...
  20. Replies
    595
    Views
    256,791

    Re: Firefox Widgets

    I'm using Iceweasel. I have tried installing to /usr/lib/iceweasel/res, but no changes are made.
    Which directory do I need to install to?

    Thanks.
Results 1 to 20 of 20