Register | Sign In


Understanding through Discussion


EvC Forum active members: 65 (9162 total)
3 online now:
Newest Member: popoi
Post Volume: Total: 915,815 Year: 3,072/9,624 Month: 917/1,588 Week: 100/223 Day: 11/17 Hour: 0/0


Thread  Details

Email This Thread
Newer Topic | Older Topic
  
)); }
Perl is very similar to C in syntax, but it has a number of powerful semantic enhancements. Variables names begin with "$", or "@" for arrays, or "%" for associative arrays (aka hashes).

Author Topic:   Now available for testing: dBoard 3.0 Beta
Stile
Member
Posts: 4295
From: Ontario, Canada
Joined: 12-02-2004


Message 16 of 91 (512476)
06-18-2009 12:04 PM


I be suspended!
Heh... looks like someone took me up on my martyr complex.
A few notes from my end:
-I did not receive an email informing me of my suspension. I'm not sure if this is supposed to happen or not, but perhaps it may be an idea for future?
-If I hover over my suspension icon (the red circle with a white line in it beside my name on any of my posts) it says something about the suspension ending at about 12:02pm (EST, -5 GMT). A few minutes after that, the red icon remains, the text says something like "Suspension ends xxx min. ago"... yet I'm still suspended and can't post. Does the suspension ending need to be acknoledged by an administrator? Or should it release automatically?
Keep suspending me if it can help debug anything, I don't mind at all. And I'll update here or in the beta-issues thread on the test forum if I notice anything.
Oh, and *kicks over garbage can*... 'cause that's just how I roll when I'm suspended

Replies to this message:
 Message 17 by Stile, posted 06-18-2009 12:07 PM Stile has seen this message but not replied
 Message 18 by Admin, posted 06-18-2009 1:27 PM Stile has seen this message but not replied

  
Stile
Member
Posts: 4295
From: Ontario, Canada
Joined: 12-02-2004


Message 17 of 91 (512477)
06-18-2009 12:07 PM
Reply to: Message 16 by Stile
06-18-2009 12:04 PM


Just checked...
I seem to be able to post just fine again on the test-board. And the red suspension icon has gone away.
Perhaps it just took a few extra minutes for the board to process the ending of the suspension and I just noticed it at an un-lucky time.
Anyway, suspend away if it helps in debugging at all.

This message is a reply to:
 Message 16 by Stile, posted 06-18-2009 12:04 PM Stile has seen this message but not replied

  
Admin
Director
Posts: 12998
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3


Message 18 of 91 (512491)
06-18-2009 1:27 PM
Reply to: Message 16 by Stile
06-18-2009 12:04 PM


Re: I be suspended!
Stile writes:
I did not receive an email informing me of my suspension. I'm not sure if this is supposed to happen or not, but perhaps it may be an idea for future?
This is a great idea, definitely going on the list. Seems so obviouus, I can't believe this is the first time someone's mentioned this.
-If I hover over my suspension icon (the red circle with a white line in it beside my name on any of my posts) it says something about the suspension ending at about 12:02pm (EST, -5 GMT). A few minutes after that, the red icon remains, the text says something like "Suspension ends xxx min. ago"... yet I'm still suspended and can't post. Does the suspension ending need to be acknoledged by an administrator? Or should it release automatically?
The suspension releases automatically at the correct time, but for some reason the server's clock is running 10 minutes slow, I keep meaning to look into this but haven't had time. The server is supposed to stay in sync with a known source of correct time, the National Bureau of Standards website.

--Percy
EvC Forum Director

This message is a reply to:
 Message 16 by Stile, posted 06-18-2009 12:04 PM Stile has seen this message but not replied

Replies to this message:
 Message 19 by RAZD, posted 06-18-2009 7:44 PM Admin has replied

  
RAZD
Member (Idle past 1405 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004


Message 19 of 91 (512541)
06-18-2009 7:44 PM
Reply to: Message 18 by Admin
06-18-2009 1:27 PM


new thread - dbcode programming?
From tables and such discussion:
... leads me to ask if you've ever considered learning a little programming?
How about a thread on it, where people can participate on designing new features (like tables)?
Then have a ftp site to upload it for testing on another test copy like the one you are operating now? Then you could decide if you want to add that feature to the main board (so you still have control over the final product).
Your strong interest in working out the details of things like HTML and dBCodes and ...
You can teach an old dog new tricks? Could be fun. Mostly I like to tinker with programs.
Seriously, my programming background is old-school -- mostly fortran IV in the 60's with some "true basic" in the 80's (writing programs to solve design problems), and then there is "lisp" (a programming nightmare used for autocad macros) and the programing of macros within other programs (like excel).
My brother, Xongsmith, may be better ... he's been involved in programming much more recently ...
Edited by RAZD, : added
Edited by RAZD, : ftp
Edited by RAZD, : control issues

we are limited in our ability to understand
by our ability to understand
Rebel American Zen Deist
... to learn ... to think ... to live ... to laugh ...
to share.


• • • Join the effort to solve medical problems, AIDS/HIV, Cancer and more with Team EvC! (click) • • •

This message is a reply to:
 Message 18 by Admin, posted 06-18-2009 1:27 PM Admin has replied

Replies to this message:
 Message 20 by Admin, posted 06-18-2009 8:38 PM RAZD has seen this message but not replied

  
Admin
Director
Posts: 12998
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3


Message 20 of 91 (512546)
06-18-2009 8:38 PM
Reply to: Message 19 by RAZD
06-18-2009 7:44 PM


Re: new thread - dbcode programming?
The code for the site is already under source control with Subversion. Most of the code is Perl, there's maybe a thousand lines of Javascript, there's heavy use of CSS (especially for the upcoming dynamic menus), plus good old HTML. Anyone who would like to join the development team should let me know. I'll give them Subversion access and set them up on the server with their own copy of the board that they can play with.
I plan to code review everything before it gets checked in.

--Percy
EvC Forum Director

This message is a reply to:
 Message 19 by RAZD, posted 06-18-2009 7:44 PM RAZD has seen this message but not replied

Replies to this message:
 Message 23 by xongsmith, posted 06-21-2009 7:15 PM Admin has replied

  
Adminnemooseus
Administrator
Posts: 3974
Joined: 09-26-2002


Message 21 of 91 (512816)
06-21-2009 9:09 AM


Bump
Topic was getting kind of deep down the list.
AMoose

  
RAZD
Member (Idle past 1405 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004


Message 22 of 91 (512828)
06-21-2009 12:11 PM
Reply to: Message 1 by Admin
06-14-2009 6:21 PM


Another reason (or two)
More than 3 years in the making, dBoard 3.0 is rapidly nearing completion and a beta version is now available for user testing at:
This test board is identical to the main board as of about 11:00 AM this morning eastern time US, including all threads and messages. So that it's easy to tell when you're at the new board I've given it a slightly ruddy background, instead of black. I've created a thread at the test board for posting information about problems, issues and bugs:
Reasons for helping test dBoard 3.0:
  1. It gets (most of) the (major) bugs out before the system is implemented
  2. Its fun to try to disrupt the system
Enjoy.

we are limited in our ability to understand
by our ability to understand
Rebel American Zen Deist
... to learn ... to think ... to live ... to laugh ...
to share.


• • • Join the effort to solve medical problems, AIDS/HIV, Cancer and more with Team EvC! (click) • • •

This message is a reply to:
 Message 1 by Admin, posted 06-14-2009 6:21 PM Admin has seen this message but not replied

  
xongsmith
Member
Posts: 2578
From: massachusetts US
Joined: 01-01-2009
Member Rating: 6.8


Message 23 of 91 (512862)
06-21-2009 7:15 PM
Reply to: Message 20 by Admin
06-18-2009 8:38 PM


Re: new thread - dbcode programming?
The code for the site is already under source control with Subversion. Most of the code is Perl, there's maybe a thousand lines of Javascript, there's heavy use of CSS (especially for the upcoming dynamic menus), plus good old HTML. Anyone who would like to join the development team should let me know. I'll give them Subversion access and set them up on the server with their own copy of the board that they can play with.
brother RAZD has brought my name up in regards to software development, but i must say right at the outset that i have virtually no Perl experience, being an old Fortran and C - that's C, not C++ - coder from pre-OOP days. i know awk, sed, the usual unix suspects and i do have a tiny bit of java experience, but not javascript. the game appearing in my avatar is in java. what i might be able to do is make wishes in the beginning. if i could help, i'd be glad to roll up my sleeves. infact, it would probably be good exercise for me to gear up market skills. i've got some books.
but right away the Big Grok of the copied area would be daunting.
hmmm.

- xongsmith

This message is a reply to:
 Message 20 by Admin, posted 06-18-2009 8:38 PM Admin has replied

Replies to this message:
 Message 24 by Admin, posted 06-22-2009 7:13 AM xongsmith has replied

  
Admin
Director
Posts: 12998
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3


Message 24 of 91 (512899)
06-22-2009 7:13 AM
Reply to: Message 23 by xongsmith
06-21-2009 7:15 PM


Re: new thread - dbcode programming?
Not sure if this is a yes, a no, or "I'm considering it."

--Percy
EvC Forum Director

This message is a reply to:
 Message 23 by xongsmith, posted 06-21-2009 7:15 PM xongsmith has replied

Replies to this message:
 Message 25 by xongsmith, posted 06-22-2009 10:36 AM Admin has replied

  
xongsmith
Member
Posts: 2578
From: massachusetts US
Joined: 01-01-2009
Member Rating: 6.8


Message 25 of 91 (512919)
06-22-2009 10:36 AM
Reply to: Message 24 by Admin
06-22-2009 7:13 AM


Re: new thread - dbcode programming?
ok - just took a peek at the source of this page and...
YIKES!
...obviously your forum code generates gobs & gobs of pages.
what a system!
i think i'll do some more
"I'm considering it."

- xongsmith

This message is a reply to:
 Message 24 by Admin, posted 06-22-2009 7:13 AM Admin has replied

Replies to this message:
 Message 27 by Admin, posted 06-22-2009 5:33 PM xongsmith has not replied

  
Phat
Member
Posts: 18262
From: Denver,Colorado USA
Joined: 12-30-2003
Member Rating: 1.1


Message 26 of 91 (512934)
06-22-2009 1:33 PM
Reply to: Message 1 by Admin
06-14-2009 6:21 PM


I'll help
I'll help you test it, Percy. Hook me up with admin powers, and I'll test all of the features I used to use
You can give me a list of things you want me to check, as well
Edited by Phat, :
Edited by Phat, :

This message is a reply to:
 Message 1 by Admin, posted 06-14-2009 6:21 PM Admin has replied

Replies to this message:
 Message 28 by Admin, posted 06-22-2009 5:45 PM Phat has replied

  
Admin
Director
Posts: 12998
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3


Message 27 of 91 (512949)
06-22-2009 5:33 PM
Reply to: Message 25 by xongsmith
06-22-2009 10:36 AM


Re: new thread - dbcode programming?
Automatically generated HTML code is not very easy to read, but the code that generated the HTML is formatted and commented Perl, so it's fairly readable, e.g.:
if ($folderOn) {
    my $hot = ($ActivityCount >= $Gbl_ActivityCount)
        ? true
        : false;
    my $new = false;
    my $userID = $Gbl_Cookie{'UserID'};
    if ($userID > 0) {
      if ($lastMsgTime > $timeHorizon) {
        my $timeOfLastAccess =
            &GetQueryDatum("select Time from $Gbl_ThreadAccessTimesTable " .
                           "where TID=$threadID && MBRID=$userID");
        if (!$timeOfLastAccess || $timeOfLastAccess < $lastMsgTime) {
          $new = true;
        }
      }
    }
    $folderHTML =
        (qq(\n
) . &GetThreadIconHTML($threadID, $forumID, $hot, $new, $closed) . qq(
--Percy
EvC Forum Director

This message is a reply to:
 Message 25 by xongsmith, posted 06-22-2009 10:36 AM xongsmith has not replied

Replies to this message:
 Message 29 by RAZD, posted 06-22-2009 6:38 PM Admin has replied

  
Admin
Director
Posts: 12998
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3

Admin Posts Only

Message 28 of 91 (512950)
06-22-2009 5:45 PM
Reply to: Message 26 by Phat
06-22-2009 1:33 PM


Re: I'll help
I've given you director privileges, thanks for the help.
The new feature in the control panel is the appearance themes - multiple ones can be defined, and you can switch easily between them.
You'll also notice a link for dynamic menus, but they're not working yet. You can play with the control panel for dynamic menus, but you can't see the results.

--Percy
EvC Forum Director

This message is a reply to:
 Message 26 by Phat, posted 06-22-2009 1:33 PM Phat has replied

Replies to this message:
 Message 31 by Phat, posted 06-23-2009 9:30 AM Admin has seen this message but not replied

  
RAZD
Member (Idle past 1405 days)
Posts: 20714
From: the other end of the sidewalk
Joined: 03-14-2004

RAZD Posts Only

Message 29 of 91 (512959)
06-22-2009 6:38 PM
Reply to: Message 27 by Admin
06-22-2009 5:33 PM


Some of your wisdoms of Perl, please ...
Perl is very similar to C in syntax, ...
Which doesn't help me. How similar is it to true basic or fortran? Most of my programing has been to solve problems, rather than write reports.
Perl - Wikipedia
quote:
Perl takes lists from Lisp, ...
I've done lisp (Left-handed Inverted Sense Programing?), don't like it.
What version do you recommend? I looked at some tutorials, and they assumed you could use Perl on your machine, and I note it is open source and available here:
Perl Download - www.perl.org
I'd be interested in trying it in a Linux environment.
tutorials
Beginner's Introduction to Perl
quote:
A Word About Operating Systems
In this series, I'm going to assume that you're using a Unix system and that your Perl interpreter is located at /usr/local/bin/perl. It's OK if you're running Windows; most Perl code is platform-independent.
Your First Perl Program
Take the following text and put it into a file called first.pl:
#!/usr/local/bin/perl
print "Hi there!\n";
(Traditionally, first programs are supposed to say Hello world!, but I'm an iconoclast.)
Now, run it with your Perl interpreter. From a command line, go to the directory with this file and type perl first.pl. You should see:
Hi there!
The \n indicates the ``newline'' character; without it, Perl doesn't skip to a new line of text on its own.
There are (free) html webpage generators (nvu or KompoZer for instance) where you can work in wysiwyg space, or in html code space - is there anything like that for Perl? (or would one need to use Perl to make one?)
Enjoy.

we are limited in our ability to understand
by our ability to understand
Rebel American Zen Deist
... to learn ... to think ... to live ... to laugh ...
to share.


• • • Join the effort to solve medical problems, AIDS/HIV, Cancer and more with Team EvC! (click) • • •

This message is a reply to:
 Message 27 by Admin, posted 06-22-2009 5:33 PM Admin has replied

Replies to this message:
 Message 30 by Admin, posted 06-23-2009 7:15 AM RAZD has seen this message but not replied

  
Admin
Director
Posts: 12998
From: EvC Forum
Joined: 06-14-2002
Member Rating: 2.3

Admin Posts Only

Message 30 of 91 (512982)
06-23-2009 7:15 AM
Reply to: Message 29 by RAZD
06-22-2009 6:38 PM


Re: Some of your wisdoms of Perl, please ...
Perl often comes installed by default on Linux systems. If you already have Linux installed then just check if it's on your search path by giving the "which perl" command.
If Perl isn't found it may be your search path that is at fault, so look in /usr/bin and /usr/local/bin.
If your Linux system doesn't have Perl already installed then simply download the appropriate binary from the perl.org site.
I wouldn't compare Perl to Basic, but it's much more like structured Basic than Fortran. Hopefully nothing again is ever like Fortran. Perl doesn't really resemble Lisp. In Perl, lists and arrays are the same thing. An array can be defined with a simple list, e.g.:
my @Names = ('Tom', 'Dick', 'Harry');
You then access the array or list with an index, e.g.:
my $secondName = $Names[1];
Wysiwyg HTML editors generate HTML. It would be taking an indirect route to generate Perl code to generate the HTML.
The tutorial excerpt you provided contains a minor error. Assuming the bang line in the Perl file contains the correct path to Perl ("#!/usr/local/bin/perl"), then you don't need to type "perl first.pl", you only need to type "./first.pl". And if "." is in your search path then you only need "first.pl".
Edited by Admin, : Grammar.

--Percy
EvC Forum Director

This message is a reply to:
 Message 29 by RAZD, posted 06-22-2009 6:38 PM RAZD has seen this message but not replied

  
Newer Topic | Older Topic
Jump to:


Copyright 2001-2023 by EvC Forum, All Rights Reserved

™ Version 4.2
Innovative software from Qwixotic © 2024