User talk:David Yamakuchi: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(→‎Editorial Council loop: Just saw your message)
imported>J. Noel Chiappa
(→‎Editorial Council loop: Yeah, fix is not trivial...)
Line 159: Line 159:
: What's underlying this is that in MediaWiki, a category is two things: an internal list of pages which have that category tag on them (actually, it's just 'what links here' for the category page), and an actual page (of the form "Category:Foo"). When you ask for that 'page' to be displayed, it concatenates the actual page content with a nicely formatted listing of the pages which are in that category (i.e. link to it) and displays the whole works.
: What's underlying this is that in MediaWiki, a category is two things: an internal list of pages which have that category tag on them (actually, it's just 'what links here' for the category page), and an actual page (of the form "Category:Foo"). When you ask for that 'page' to be displayed, it concatenates the actual page content with a nicely formatted listing of the pages which are in that category (i.e. link to it) and displays the whole works.
: What's going on, basically, is that this AJAX thing (which I don't have on my computer) is trying to expand the tree-structure of the categories (which it does by chasing down pointers). Alas, the [[:Category:Editorial Council]] category contains a link to.... itself - which of course drives a tree-walker berserk, because it doesn't expect a loop in the tree-structure. [[User:J. Noel Chiappa|J. Noel Chiappa]] 22:44, 18 April 2008 (CDT)
: What's going on, basically, is that this AJAX thing (which I don't have on my computer) is trying to expand the tree-structure of the categories (which it does by chasing down pointers). Alas, the [[:Category:Editorial Council]] category contains a link to.... itself - which of course drives a tree-walker berserk, because it doesn't expect a loop in the tree-structure. [[User:J. Noel Chiappa|J. Noel Chiappa]] 22:44, 18 April 2008 (CDT)
:: Yeah, to fix it, you'd need to an an optional "nocat=" argument to {{tl|community}} (and changes to that template not to include the category tag when it was set), and then you'd need to modify {{tl|Editorial Council}} to accept and pass along a "notcat=" argument, and finally modify the call to {{tl|Editorial Council}} in [[:Category:Editorial Council]] to be <nowiki>{{Editorial Council|nocat=yes}}</nowiki>... all of which seemed like it was too much work to be worth bothering with when there's so much else to do! [[User:J. Noel Chiappa|J. Noel Chiappa]] 23:32, 18 April 2008 (CDT)

Revision as of 22:32, 18 April 2008

Welcome!

Citizendium Getting Started
Quick Start | About us | Help system | Start a new article | For Wikipedians  


Welcome to the Citizendium! We hope you will contribute boldly and well. You'll probably want to know how to get started as an author. Just look at CZ:Getting Started for other helpful "startup" links, and CZ:Home for the top menu of community pages. Be sure to stay abreast of events via the Citizendium-L (broadcast) mailing list (do join!) and the blog. Please also join the workgroup mailing list(s) that concern your particular interests. You can test out editing in the sandbox if you'd like. If you need help to get going, the forums is one option. That's also where we discuss policy and proposals. You can ask any constable for help, too. Me, for instance! Just put a note on their "talk" page. Again, welcome and have fun! Dan Nachbar 08:52, 29 December 2007 (CST)

Hi David

Regarding this, to get new content-area workgroups going, go to CZ:New Workgroup Requests. What's going to happen in the near future is that a whole bunch of new workgroups are going to be created all at once. There'll probably be a community-wide call, discussion, and then I think all the new ones that emerge are going to the editorial council for a vote. In the meantime, no need to let lack of a workgroup halt up work. Just pick something sorta close for now. Stephen Ewen 01:04, 31 December 2007 (CST)

See Special:Log/delete. CZ:Dance Workgroup might be a good part of a proposal for the workgroup, though. Stephen Ewen 01:21, 31 December 2007 (CST)

Hi Stephen,

Whoops!! I hope I didn't cause you too much trouble, I just hit the edit button and there I was adding a new workgroup :-) It all looked so easy until I found I had to make all the pages for it....then it was more of a :-{ Thanks for the guidance. --David Yamakuchi 01:29, 31 December 2007 (CST)

Not any problem at all. I put a plug in for your idea at CZ_Talk:Workgroups#Performing_Arts_section_for_workgroups. Stephen Ewen 01:33, 31 December 2007 (CST)

welcome to history

Welcome to the history workgroup--we really need your help. My daughter just signed up today for a course in fluid mechanics so maybe we'll be calling on help for that too! Richard Jensen 22:23, 6 January 2008 (CST)

Fluid Mechanics...ack! I just wanted to fill in the last couple missing Presidents with some blatently copied (albeit from public domain) material :-) Hey now that you mention it tho, my brakes have been a little spongy lately, maybe your daughter could help me!!!

But seriously, thanks for the note. I'm not great with history, but I got on a roll today and I'm still sorta having fun with it...--David Yamakuchi 22:48, 6 January 2008 (CST)

Calls for citations...

David: Just a heads up. I removed your citation needed template from the Lao Tse article. Larry is vehemently against ever using that or the fact template that you see at Wikipedia. This is based partly on the presumption that since we are vetted experts in our various fields, we know what we're talking about. I created one early on and it was summarily deleted within minutes, with a reprimand from several other editors...that's why you couldn't find it here.

As for that reference, it'll show up. I am compulsive about referencing, and you will rarely see me write something for which I cannot find some source. Blessings... --Michael J. Formica 06:38, 19 January 2008 (CST)

Michael: I did see the lack of a citation needed here, and I've never actually used one before _but_, the statement you made that Lao Tse was born in 604 B.C. is not really verifiable. While I will agree that you'll be able to find some references that says this is true, I will be able to find just as many references that say this is not. If you read the Stanford reference (and you might want to pack a lunnch for that BTW), you will find that there are more than one account of things.

Now, in terms of being vetted experts, and with all due respect to Mr. Sanger, my original entry was poo-poohed (sp?) for being a little wishy-washy in terms of the dates. I believe I said something like 600-200B.C., to which Larry responded "can't we do better?" The simple answer as I see it is NO! If we can't even be sure that the person existed, and there are conflicting accounts of the "real" history, my opinion is that is encumbent upon us as "experts" to present all sides of the story...which is at this point uncertain.

You sir, have stated as a fact something that was originally in the article as debated, _and_ removed my data that represents years of research on the subject. I am dissapointed. I will also point out that even though the data was immediately questioned by the Editor-In-Chief himself, it was not removed. We can't just go deleting things we don't like in articles. Consider the Holocaust entry, eh? The Talk page is used for that, and when that fails the Constables, I'm told, will be more than happy to assist.

That said, I am absolutely _not_ an expert on anything...except maybe my own experiences which I am attempting to selectively share so that we can all benefit from them. But what I can say with ceretainty is that (and since I believe _you_ were the one that added this article to the Religion workgroup, I'm sure you can understand) people can get kinda funny when you start misrepresenting their religion. Lao Tse is revered by many, and dismissed by many others. It's important that we try to consider everyone's opinion here, and not just the opinion that was taught at one particular school.

I'm going to copy this discussion over to the Talk page of the article in the hopes that we can avoid someone else having to go through this again.--David Yamakuchi 11:36, 19 January 2008 (CST)

Recommendation for templates

Consider using the "show preview" button when you make a slight change-- that way it won't flood the "Recent changes" page as much. Template:Codewink --Robert W King 10:45, 28 March 2008 (CDT)

Thanks, I usually _do_ use that for editing regular articles, but I don't in the case of a template.

Sorry about the long history page but "c'est la vie" as they say. Perhaps I will be able to find an admin willing to help me delete the mess once I've learned what I would like to know.--David Yamakuchi 12:28, 28 March 2008 (CDT)

Your version of the infobox

David, see Template_talk:Elem_Infobox_test1. I think it's possible that I may want to slide maybe one or two pieces of information into my original version, but I feel as they get more complex they only become more meaningless to the average person (who is really the target, anyway). --Robert W King 09:06, 31 March 2008 (CDT)

Of course, feel free to use what you like and I agree that it is too complex to use as it is. I like the idea that's going around about the subpage approach, but do believe (obvoiusly) that the infobox can have lots of useful info packed in a small area.--David Yamakuchi 14:32, 1 April 2008 (CDT)

The wikilinks seem like a good solution to implement until something more obvious but less crowded can be implemented. Good job though! Put it into the main Elem_infobox template. Also, I'm not sure that every criteria should be directed to the subpage table. Certainly there should be some very basic things listed, but sorting all the stuff like MSDS, complex properties, etc should definately go on a subpage. Maybe we can get Chris to create a new subpage type. If you can figure out the #IF logic required so that only elements of the table display when they are filled (including the title elements) that would be aces. --Robert W King 17:38, 3 April 2008 (CDT)

info box

What do you think of the recent changes I made? I think if the periodic table picture is designed specifically for this infobox, i.e. <200px it should look pretty good, rather than a shrunk down version. Let me know if there is anything you want put back the way it was previously?

As far as the element specific periodic tables are concerned we can write code that enters the right table automatically based on the element name. Something a long the lines of.

{{#ifexist:Image:Periodic table {{{elementname}}}.jpg| [[Image:Peridic table {{{elementname}}}.jpg|center|135px]]}}

Or what evenr the field name is for the element nane. Chris Day 13:00, 4 April 2008 (CDT)

switch/case is the thing you want there IMHO, but we need the .jpg's yet. Maybe if a few folks get to see the one you did for the template we might have some more to work with soon? I really like the way you got it to come out...thanks again. Now there was just one more thing...:-)--David Yamakuchi 01:36, 5 April 2008 (CDT)

Great work

David, great work on the template. It looks terriffic! --Robert W King 09:45, 8 April 2008 (CDT)

Duel identity

Hi David, I have really cut down the content in the ele template, hopefully nothing to damaging. Also, what is the logic of the duel identities, see the following elements for examples?:

{{#ifeq:{{{elSym}}}|Th|
{{!}}{{ele|{{#if:{{{elementColor|}}}|color={{{elementColor}}}|color=#828200}}|alphaOp=100|elOpacity=1|b=0|elSym={{{elSym}}}}}|
{{#ifeq:{{{elClass}}}|Transition Metal|
{{!}}{{ele|color=#ff00ff|alphaOp=60|elOpacity=.6|b=0}}|
{{#ifeq:{{{elClass}}}|Actinide|
{{!}}{{ele|color=#0000FF|alphaOp=60|elOpacity=.6|b=0}}|
{{!}}{{ele|color=#0000FF|alphaOp=10|elOpacity=.10|b=0}}
}}}}}}

{{#ifeq:{{{elSym}}}|La|
{{!}}{{ele|{{#if:{{{elementColor|}}}|color={{{elementColor}}}|color=#00ae00}}|alphaOp=60|elOpacity=.6|b=0|elSym={{{elSym}}}}}|
{{#ifeq:{{{elClass}}}|Transition Metal|
{{!}}{{ele|color=#ff00ff|alphaOp=60|elOpacity=.6|b=0}}|
{{#ifeq:{{{elClass}}}|Lanthanide|
{{!}}{{ele|color=#00ae00|alphaOp=10|elOpacity=.1|b=0}}|
{{!}}{{ele|color=#00ae00|alphaOp=10|elOpacity=.10|b=0}}
}}}}}}

In the above two cases why do you want the Th and La lighting up in the ff00ff colour when the element is one of the transition metals?


{{#ifeq:{{{elSym}}}|Ge|
{{!}}{{ele|{{#if:{{{elementColor|}}}|color={{{elementColor}}}|color=#828200}}|alphaOp=100|elOpacity=1|b=0|elSym={{{elSym}}}}}|
{{#ifeq:{{{elClass}}}|Post-Transition Metal|
{{!}}{{ele|color=#0000FF|alphaOp=60|elOpacity=.6|b=0}}|
{{#ifeq:{{{elClass}}}|Metalloid|
{{!}}{{ele|color=#a5a5a5|alphaOp=60|elOpacity=.6|b=0}}|
{{!}}{{ele|color=#0000FF|alphaOp=10|elOpacity=.10|b=0}}
}}}}}}

{{#ifeq:{{{elSym}}}|As|
{{!}}{{ele|{{#if:{{{elementColor|}}}|color={{{elementColor}}}|color=#00ae00}}|alphaOp=60|elOpacity=.6|b=0|elSym={{{elSym}}}}}|
{{#ifeq:{{{elClass}}}|Non-Metal|
{{!}}{{ele|color=#00ae00|alphaOp=60|elOpacity=.6|b=0}}|
{{#ifeq:{{{elClass}}}|Metalloid|
{{!}}{{ele|color=#a5a5a5|alphaOp=60|elOpacity=.6|b=0}}|
{{!}}{{ele|color=#00ae00|alphaOp=10|elOpacity=.10|b=0}}
}}}}}}

{{#ifeq:{{{elSym}}}|Br|
{{!}}{{ele|{{#if:{{{elementColor|}}}|color={{{elementColor}}}|color=#ffae00}}|alphaOp=60|elOpacity=.6|b=0|elSym={{{elSym}}}}}|
{{#ifeq:{{{elClass}}}|Halogen|
{{!}}{{ele|color=#ffae00|alphaOp=60|elOpacity=.6|b=0}}|
{{#ifeq:{{{elClass}}}|Non-Metal|
{{!}}{{ele|color=#00ae00|alphaOp=60|elOpacity=.6|b=0}}|
{{!}}{{ele|color=#ffae00|alphaOp=10|elOpacity=.10|b=0}}
}}}}}}

It appears you want they to highlight differently depending on the element. But why would you want them to light up in two different circumstances and with two different colours? Chris Day 22:39, 8 April 2008 (CDT)

The idea was that if you called the template for say Br, you could declare it part of the Halogens (elClass=Halogens) from infobox and show those, or you could declare it a nonmetal (elClass=Non-Metal) and lite up those squares. Same for Lanthanides and actinides, which can be designated as those, transition metals, or rare earth metals along with Y and Sc.--David Yamakuchi 22:46, 8 April 2008 (CDT)
It just didn't make sense to me to light up the Non-Metals and _Not_ light up the halogens...the halogens are nonmetals...aren't they?--David Yamakuchi 22:48, 8 April 2008 (CDT)
Why use different colors? Couldn't they show up when defined as non-metals yet still be coloured as halolgens? Also doesn't no-metal in tnhis usage have a very deifinite meaning rather than the in a general sense? This is not rhetorical, I really don't know. Chris Day 22:56, 8 April 2008 (CDT)

When I looked at a bunch of different tables that's what I saw. Sometimes one way sometimes the other. Tables can't even agree on where the transition elements end. I think we might not be done with this one for a while. But what we can do for now is be ready with a mechanism that supports whatever classification system tomorrow brings...I think--David Yamakuchi 23:03, 8 April 2008 (CDT)

modify periodic style

I assume you are going to mess around with the style of the different cells. I think Robert is already thinking about colors. FYI, colors for each element can be defined at {{Elem_Infobox}}. The cell styles, including cell size, line thickness and color, as well as the opacity values, can be defined at {{Ele it}} for the black cell that marks the specific element‎, at {{Ele off}}‎ for those cells in the background of unrelated elements to the black one and at {{Ele on}} for cells that have related elements.

Feel free to change anything I have done. I'm taking a back seat again for now. Chris Day 11:29, 9 April 2008 (CDT)

Catalog pages

  • the catalog subpage is actually supposed to be the root for catalogues, e.g. Colors/Catalogs/Red. Also, these catalog pages need to be seriously organized in some way. I suggest we get David Volk involved. --Robert W King 19:57, 9 April 2008 (CDT)
If/when we implement that, the links in the infobox will need to change.--David Yamakuchi 00:00, 10 April 2008 (CDT)

Template Recursion

Hi, I was about to leave Chris Day a message and I saw your message to him. You might want to check out this help page on Meta, and also this. I also have a list of helpful template documentation pages on my User: page. J. Noel Chiappa 01:15, 14 April 2008 (CDT)

PS: Your comment about C: Templates have a lot of the look-and-feel of a programming language, but they aren't, so don't be misled. 'Calls' of templates aren't calls in the normal sense. All templates do is replace one (sub-)string with a different (sub-)string: in the evaluation of template(s), one string gets turned into another string, which usually then gets turned into another, and so on. Sometimes the order in which stuff gets done can be confusing; the fact that it's replacement means things can happen in odd (i.e. counter-intuitive, confusing, complex, and hard to understand) ways; e.g. whether the arguments get evaluated before the 'code' (e.g. conditionals). See Migration to the new preprocessor for examples of the kind of thing I'm talking about, where changes to the preprocessor changed what you get from certain 'odd' template syntax. J. Noel Chiappa 01:27, 14 April 2008 (CDT)

There's a "strings" package for MediaWiki, which we don't have installed yet. I seem to recall one one of those pages I have links to, people talking about ways to do some of the strings stuff without it, such as this. Does that Help:Advanced templates have any kludges that are applicable? J. Noel Chiappa 14:55, 14 April 2008 (CDT)
I tried some kind of {{#explode:}} template that I found in the MediaWiki docs. It claimed it would parse a string for me by a delimiter value I gave it, but the page just spit it back out at me in grey :-(--David Yamakuchi 19:49, 14 April 2008 (CDT)
#Explode is part of "strings". J. Noel Chiappa 10:56, 15 April 2008 (CDT)

Editorial Council loop

Haha! Good one. The problem is that Category:Editorial Council includes the template {{Editorial Council}}, which... adds the page which includes it to the category.... Category:Editorial Council. Whee! Where's Bertrand Russell when you need him? Alas, no simple way to fix this... other than remove the template. J. Noel Chiappa 22:30, 18 April 2008 (CDT)

Hi, I just saw your message on my User talk: page - the above was prompted by seeing you upload the image.
What's underlying this is that in MediaWiki, a category is two things: an internal list of pages which have that category tag on them (actually, it's just 'what links here' for the category page), and an actual page (of the form "Category:Foo"). When you ask for that 'page' to be displayed, it concatenates the actual page content with a nicely formatted listing of the pages which are in that category (i.e. link to it) and displays the whole works.
What's going on, basically, is that this AJAX thing (which I don't have on my computer) is trying to expand the tree-structure of the categories (which it does by chasing down pointers). Alas, the Category:Editorial Council category contains a link to.... itself - which of course drives a tree-walker berserk, because it doesn't expect a loop in the tree-structure. J. Noel Chiappa 22:44, 18 April 2008 (CDT)
Yeah, to fix it, you'd need to an an optional "nocat=" argument to {{community}} (and changes to that template not to include the category tag when it was set), and then you'd need to modify {{Editorial Council}} to accept and pass along a "notcat=" argument, and finally modify the call to {{Editorial Council}} in Category:Editorial Council to be {{Editorial Council|nocat=yes}}... all of which seemed like it was too much work to be worth bothering with when there's so much else to do! J. Noel Chiappa 23:32, 18 April 2008 (CDT)