Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Arantor
5986
Features / Birthday, calendar, plugin, core [VOTE NOW!]
« on October 10th, 2011, 05:11 PM »
As per http://wedge.org/pub/feats/6931/the-calendar/ I've been trying to get a feel for how to handle birthdays and the calendar. So instead of faffing about with discussion, simple poll instead. I've deliberately kept it to a fresh thread to allow it to be considered objectively.

Remember: any plugins that are based on core code originally will almost certainly be considered as 'official' plugins and thus maintained over time.
5987
The Pub / [Archive] Re: Logo Madness
« on October 10th, 2011, 05:07 PM »
No, I was trying to code it by hand just to get a feel for SVG ;) I got as far as putting in the curved corners at the right-angles of both images, but that's as far as I got without dredging up all kinds of maths that have rusted up in the corners of my brain.
5988
The Pub / [Archive] Re: Logo Madness
« on October 10th, 2011, 03:19 PM »
OK, so my progress so far with the logo.

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%" preserveAspectRatio="xMidYMid meet" viewBox="0,0 205,205">
    <desc>The Wedge logo, by Arantor</desc>
    <defs>
        <linearGradient id="wedgeText" x1="0%" y1="0%" x2="0%" y2="100%">
            <stop offset="0%" style="stop-color:#4a4139;stop-opacity:0.6" />
            <stop offset="100%" style="stop-color:#000000;stop-opacity:0.6" />
        </linearGradient>
        <linearGradient id="wedgeBrown" x1="0%" y1="70%" x2="100%" y2="0%">
            <stop offset="0%" style="stop-color:#d1b699;stop-opacity:1" />
            <stop offset="100%" style="stop-color:#3f3932;stop-opacity:1" />
        </linearGradient>
        <linearGradient id="wedgeBlue" x1="0%" y1="70%" x2="100%" y2="0%">
            <stop offset="0%" style="stop-color:#6db3dd;stop-opacity:1" />
            <stop offset="14%" style="stop-color:#4db8ea;stop-opacity:1" />
            <stop offset="100%" style="stop-color:#49525f;stop-opacity:1" />
        </linearGradient>
    </defs>
    <polygon points="0,0 200,0 0,200" style="fill:url(#wedgeBrown)" />
    <polygon points="205,10, 205,160 55,160" style="fill:url(#wedgeBlue)" />
    <text x="65" y="195" fill="url(#wedgeText)" font-family="Verdana" font-weight="bold" font-size="35">wedge</text>
    <g alignment-baseline="baseline"></g>
</svg>

(That feels oddly hardcore, that I'm posting the code for the logo and it is simultaneously the logo as well)

I've attached it converted to a PNG in Chrome, rendering at 100px width and 600px wide, and it looks good either way :) Which, of course, it should.

Note that it's still a WIP, I'm not yet happy with it!
5989
The Pub / Re: PM popup
« on October 10th, 2011, 03:16 PM »
Well, I'll note it wasn't entirely original but it took a different direction minutes after I posted. It's almost like I tried to do something new, different and interesting ;) :lol:
5990
The Pub / Re: PM popup
« on October 10th, 2011, 03:11 PM »
This isn't in the demo yet :P The demo is in fact a shade behind what the changelog says, this whole thread started out with my proposing a new idea...
5991
The Pub / Re: Spell checker
« on October 10th, 2011, 03:05 PM »
So do I, but if there are people very enthusiastic about it being present, I'm sure we can do something to accommodate them. It might be making it a plugin, it might be something else, but we'll sort something out, I'm sure.
5992
The Pub / Re: PM popup
« on October 10th, 2011, 03:03 PM »
I think the permissions aren't quite set right in AeMe here...
5993
Features / Re: Template skeleton!
« on October 10th, 2011, 03:02 PM »
Quote
So, you agree we should be doing even less work for dlattach at this point...?
However you slice it, for something whose purpose is solely to authenticate the user, then serve a file, we should be doing absolutely as little as possible.

If SSI were slimmer I'd suggest dropping dlattach and using an external file instead. Thing is, SSI sets up a whole bunch of stuff like loadTheme calls :/
Quote
Meh... It's like I broke the pattern
I have been wondering about a System class that handles stuff like loading sources and templates, which would give:
wesys::loadTemplate()
wesys::loadSource()

but it's too long, need to shorten it down! :P
Quote
In the meantime, feel free to look at my object code and improve it (i.e. anything related to object optimization, not template manipulation, which I'll deal with later to merge the block and layer loading code.)
I will when I've had my fun with SVG images. I've never done SVG before, it's quite interesting to just play with.
Quote
It definitely makes more sense. Except for the default layer but shhh
How is it different? You're still adding to a list, except the list was totally empty beforehand.
5994
The Pub / Re: Spell checker
« on October 10th, 2011, 02:59 PM »
Quote from billy2 on October 10th, 2011, 02:53 PM
wooooaaaahhh.... stop the train.....Thats against the 'poll rules'!!
You cannot say 'even if you vote against it - you're going to get it anyway.
Oh.... yes you can I suppose.  :lol:
Our house, our rules, as it were.
5995
The Pub / Re: PM popup
« on October 10th, 2011, 02:58 PM »
Quote
Anyway, yeah Pete, that popup would best be using the help popup system.
Yup, that was my conclusion. Not only would it be more capable of doing things, it means no extra template work in the main template, and it'd just look better anyway.
5996
The Pub / [Archive] Re: Logo Madness
« on October 10th, 2011, 02:57 PM »
Thing is, most 'musicals' have a fair amount of spoken dialogue. RHPS certainly does, so does WWRY and Wicked.

The real difference is whether the story is told through the music or not. RHPS, WWRY and Wicked, plus Sweeney Todd do. Enchanted sort of does, but not fully - it's more how they express themselves and their feelings, and more background stuff.

My all time favourite Disney movie - Aladdin - has quite a few bits like that. You have the 'Riff Raff, Street Rat'[1] song as Aladdin has just insulted the princess' suitor and pushed back into the mud. Or the song where he is escaping from the guards with a stolen loaf of bread.[2]

It doesn't tell the story, but it adds to its substance, and it's why despite being so singable, Aladdin isn't - IMO at least - a musical.
 1. "One Jump Ahead (Reprise)": Riff raff, street rat / I don't buy that / If only they'd look closer / Would they see a poor boy? / Nosiree, they'd find out / There's so much more to me...
 2. "One Jump Ahead": Gotta keep / One jump ahead of the breadline / One swing ahead of the sword / I steal only what I can't afford / (That's everything!)
5997
The Pub / [Archive] Re: Logo Madness
« on October 10th, 2011, 02:39 PM »
Quote from billy2 on October 10th, 2011, 02:35 PM
There is the confirmation.... I dont even know the difference between a musical and a film with songs in it,  :thanks:
Most films have songs in :P Just the cast don't go around singing them...
5998
Features / Re: The calendar
« on October 10th, 2011, 02:27 PM »
Quote
both (all three?) items as plugins
There's only two plugins being discussed: birthdays and calendar. And yes, birthdays could hook into the calendar; this is precisely what I added to the plugin manager this morning: the ability to define a hook that isn't currently available but won't make it die. So the birthday support has some core requirements (hooking into admin, info centre, etc) and additionally the optional requirement of calendar, so if the calendar is present, use that too.

Since I was going to make the calendar a plugin anyway, it follows that birthdays need changing because right now birthdays are part of (though not really dependent on) the calendar.

Just curious to hear a few more voices on the subject before I do anything.

(Also note: any plugins I build out of the original core, they'll go into my standard repo along with the other plugins I have, which means anyone who has SVN access currently will also have access to those.)
5999
The Pub / [Archive] Re: Logo Madness
« on October 10th, 2011, 02:12 PM »
Quote
Never watched a musical apart from about a quarter of Sweeney Todd: The Demon Barber of Fleet Street
The film with Johnny Depp, or a stage version? Honestly, musicals are not meant to be put into films and television, they're there to be experienced. (I have been to a stage production of Todd, as well as We Will Rock You, Wicked and multiple showings of Rocky Horror Picture Show, and never would television do them justice.)


In other news, I had the slightly crazy idea that I might create logos in hand-written SVG (I am a programmer, after all! :lol:) and to see where that got me. I have a shiny new XML editor now (although I used it to validate the RelaxNG spec for plugins, that was a demo version, I today bought the academic/non-commercial licence for it, and I'm eager to use it properly rather than for my original, limited use)
6000
Features / Re: Template skeleton!
« on October 10th, 2011, 01:45 PM »
Quote
Technically, since the item will be called half the time through an img tag, whether you have the theme or not is irrelevant here, since all you'll get is a broken image... As for downloads, Wedge can simply return a "file not found" error or something, without any theme around it. Just plain text...
True enough!
Quote
The code as I posted/spotted above will precisely not load the theme code for guests.. (?)
Oh, my bad. I was just trying to go through the circumstances in which you might want to but there aren't really any.
Quote
Okay, I'm starting manually converting the stuff but I suspect I'll do a commit that will break Wedge. Just for sanity reasons -- first committing the main code change, and then committing the fixes to make the whole thing work.
Works for me. I'm not in the middle of anything that will be broken if I sync, so I can readily wait until you're done before updating.
Quote
In the meantime, I was thinking, maybe we shouldn't call the block loading code 'load' but use 'add' instead... Because that's precisely what it does. Except for the default layer, I know...
Well, technically it is still adding, even if there wasn't anything to add to before. It's essentially the same as saying x += y but dealing with the case of empty(x) first... no?

To me, calling it 'add' would make more sense.