The Sample Gold Standard Object doesn't work with anything except pin 0. While you can pass in a different pin parameter it's never assigned to led_pin.
Also, the first public method should be one which can't do any harm. It was even suggested in the forum to list stop first followed by start(...).
In addition, the Sample Gold Standard Object does not contain the MIT License, as the description of Gold Standard Objects says it should.
Not sure what version of Safari you are running on what type of system. The fonts render normally on my Safari 5.0.5 with Mac OS X 10.6.7. I did a preliminary Google search on "safari font problems" and there were quite a few results, including some good troubleshooting guides. You may find some appropriate solutions if you do a similar search on your particular version of your software/OS.
The Sample Gold Standard Object doesn't work with anything except pin 0. While you can pass in a different pin parameter it's never assigned to led_pin.
Also, the first public method should be one which can't do any harm. It was even suggested in the forum to list stop first followed by start(...).
Kuroneko,
Thank you for the suggestion and find. I made changes to fix the LED pin assignment issue and moved a "non-destructive" method up as the first public method. The changes will appear shortly when they have been approved and "published".
Bump and I tried the font smoothing options in Safari. They resulted in the fonts looking more bold, less bold, fuzzy, etc. But we were unable to recreate the larger/smaller lettering as seen in your screen shot. If you are on a Mac, it may be a conflict with the fonts in your Font Book (duplicates, incomplete fonts, etc.).
I have verified all the fonts and resolved duplicates in Font Book and the issue still persists.
I wouldn't want you to waste time on something that only affects my two iMacs. Since this is the only instance of fonts displaying that way that I have seen, I don't think it is worth my digging any deeper either. Hopefully the problem is unique.
Something that needs to be addressed on the web site is the issue of debugging. Engineers used to having on-chip debug hardware are bound to be curious about this, and I can't see any mention of it.
Interesting. Safari 5 has no font smoothing options.
Bump's Safari browser for the PC still had font smoothing available.
The appearance panel on 5 looks like this.
My Safari browser doesn't have the smoothing option either. For me, it's an OS-wide selection in the "Appearance" section of "System Preferences". My normal setting is Automatic Smoothing, but none for fonts smaller than 8 pts. With that setting the website looks fine.
Just took a look at the App Note AN011 for the Program template. Do you think you should mention the DAT section and that it normally goes at the end of the code?
Robert
Hi Robert,
When I wrote that AppNote, I had considered putting in a DAT section at the bottom. I ended up making the decision to leave it out because the AppNote was targeted at a "Simple Multi-core Template". In my experience, to write assembly code that takes advantage of the processor's strengths requires intimate knowledge of the processor's architecture and instruction set. There is no simple way to describe architecture to someone new to a platform. I chose not confuse the reader with extraneous information. For now, I'm going to leave it as it is. However, I am most certainly happy to change it if the community thinks it is important to have in a template.
I do like the AppNote and think it is well written. I've been using that to go back through some programs I writing now to make sure they conform to the "Standard" way of coding.
However I think you may want to reconsider mentioning the DAT section in the template. Although I can understand why you may have left it out in regards to mixing in assembly it still seems to have merit if you just want to use it for data. Data tables, text strings to display, whatever. When I see a template I would expect most of the sections to be there. I'd rather leave unneeded sections unused or remove them, instead of adding to the template. It would also help solidify that the DAT should be at the end of the code too. Even if you don't have anything in there for the example you can just have a comment that the section is used for data tables or assembly code. I think it probably belongs there but others may have a different view.
Would it be worth mentioning the "Gold Standard" for the naming of Objects and how those are referenced when I want to include an external object? Is it more appropriate it follow the method name that starts with a Capital letter or should it all be in lower case like a command? If the app note is supposed to cover the convents that should be in there too. So, I see a "Gold Standard" for method naming, variable naming, contants, commands/reserved words, comments, and white space. I don't see them for Object naming/references within code, nor details on the DAT. If it isn't specified then anything goes for that particular item.
The Propeller is a unique multicore microcontroller consisting of eight concurrent symmetric 32-bit processors.
True concurrency is one of the core Propeller design attributes, and is a competitive strength. Not sure I like the placement, but I think that word should be part of the core defining statements.
Comments
In addition, the Sample Gold Standard Object does not contain the MIT License, as the description of Gold Standard Objects says it should.
On note - Beau's name is spelled incorrectly in the text of his biograpy. (actually, it is a word spacing issue)
Not sure what version of Safari you are running on what type of system. The fonts render normally on my Safari 5.0.5 with Mac OS X 10.6.7. I did a preliminary Google search on "safari font problems" and there were quite a few results, including some good troubleshooting guides. You may find some appropriate solutions if you do a similar search on your particular version of your software/OS.
Cheers, Jen J.
Rich H
Kuroneko,
Thank you for the suggestion and find. I made changes to fix the LED pin assignment issue and moved a "non-destructive" method up as the first public method. The changes will appear shortly when they have been approved and "published".
Good suggestion, and thanks again!
Daniel
Bump and I tried the font smoothing options in Safari. They resulted in the fonts looking more bold, less bold, fuzzy, etc. But we were unable to recreate the larger/smaller lettering as seen in your screen shot. If you are on a Mac, it may be a conflict with the fonts in your Font Book (duplicates, incomplete fonts, etc.).
Cheers, Jen J.
I wouldn't want you to waste time on something that only affects my two iMacs. Since this is the only instance of fonts displaying that way that I have seen, I don't think it is worth my digging any deeper either. Hopefully the problem is unique.
Rich H
But these are definitely not the settings I normally use.
-Phil
Something that needs to be addressed on the web site is the issue of debugging. Engineers used to having on-chip debug hardware are bound to be curious about this, and I can't see any mention of it.
I do use these settings all the time - I can't stand the look of the smoothing applied to smaller fonts.
Rich H
Bump's Safari browser for the PC still had font smoothing available.
The appearance panel on 5 looks like this.
My Safari browser doesn't have the smoothing option either. For me, it's an OS-wide selection in the "Appearance" section of "System Preferences". My normal setting is Automatic Smoothing, but none for fonts smaller than 8 pts. With that setting the website looks fine.
-Phil
Hi Robert,
When I wrote that AppNote, I had considered putting in a DAT section at the bottom. I ended up making the decision to leave it out because the AppNote was targeted at a "Simple Multi-core Template". In my experience, to write assembly code that takes advantage of the processor's strengths requires intimate knowledge of the processor's architecture and instruction set. There is no simple way to describe architecture to someone new to a platform. I chose not confuse the reader with extraneous information. For now, I'm going to leave it as it is. However, I am most certainly happy to change it if the community thinks it is important to have in a template.
Thanks,
Daniel
I do like the AppNote and think it is well written. I've been using that to go back through some programs I writing now to make sure they conform to the "Standard" way of coding.
However I think you may want to reconsider mentioning the DAT section in the template. Although I can understand why you may have left it out in regards to mixing in assembly it still seems to have merit if you just want to use it for data. Data tables, text strings to display, whatever. When I see a template I would expect most of the sections to be there. I'd rather leave unneeded sections unused or remove them, instead of adding to the template. It would also help solidify that the DAT should be at the end of the code too. Even if you don't have anything in there for the example you can just have a comment that the section is used for data tables or assembly code. I think it probably belongs there but others may have a different view.
Would it be worth mentioning the "Gold Standard" for the naming of Objects and how those are referenced when I want to include an external object? Is it more appropriate it follow the method name that starts with a Capital letter or should it all be in lower case like a command? If the app note is supposed to cover the convents that should be in there too. So, I see a "Gold Standard" for method naming, variable naming, contants, commands/reserved words, comments, and white space. I don't see them for Object naming/references within code, nor details on the DAT. If it isn't specified then anything goes for that particular item.
Robert
There is a typo on the drop-down Support menu on the home page: Parallax Semicondu(c)tor Forum.
True concurrency is one of the core Propeller design attributes, and is a competitive strength. Not sure I like the placement, but I think that word should be part of the core defining statements.
Site looks great Ken!
The distributer network here in India is pretty weak.
The official distributer "Sumeet Instruments" doesn't respond to queries and orders.
Can something be done about that?