Congrats on the new OSS site, some suggestions...

Adobe folks: congratulations on this new open source site. It looks well done, and a good step for Adobe. I have a few suggestions:
(1) svn via https. Many of your customers will be behind corporate firewalls that may implement a transparent HTTP proxy. Some of these proxies (Symantec's enterprise firewall offerings, for example) do not understand Delta-V WebDAV methods used by subversion breaking svn over http. Consider using https to get around this and to marginally increase security (most svn users will cache ssl certificates, preventing a hypothetical, but unlikely man-in-the-middle injection of evil code into a checkout).
(2) Wiki-type offerings. Much of the site is very much producer-to-consumer distribution model; there may be value in increasing community contribution (e.g. documentation) above and beyond the forums.
(2) Some kind of source browsing (like Trac, for a good example of this done well in commercial open-source projects, look at Apple MacOSForge pages such as this: http://trac.calendarserver.org/projects/calendarserver ).
Sean Upton

I didn't attempt to preserve formatting in that post intentionally to illustrate some poor code I've encountered.
Everyone has their preference, I've found that in lengthy programs the vertical scrolling gets ridiculous really fast. Right from the start a program that consists of five functions and twenty if statements gets 25 extra line breaks, add else blocks and it gets a little silly.
I can't see the benefit: the visual que from a rapid access point of view actually favors omitting extraneous line breaks:
eg:
if()
else
// 8 lines
vs.
if() {
} else {
//5 lines
b Next issue then:
function f(a:Array /* of Number */):Array /* of Object */
This I have an actual legitimate issue regarding rapid development and corporate implementation guidelines that are pretty prevalent (at least in my 11 or so years of development)
b case in point:
For a particular change order made to some integral part of a hypothetical proprietary business application.
// Change order #011198
// Client[Client Name] requested return value changed to unsigned integer from array.
// 12/5/2008 2:30pm montana p [email protected]
function f(a:Array /* of Number */, i:uint ):uint /* of Object */
return uint;
function f(a:Array /* of Number */):Array /* of Object */
return array;
b ^ this obviously doesn't work, and costs more money to do since the programmer must take the time to edit out the nested comment blocks, or use // single line comments
b The preferred method is:
// usage: f(Array of Number);
function f(a:Array):Array { /* of Number */
return array;
The resultant change:
// Change order #011198
// Client[Client Name] requested return value changed to unsigned integer from array.
// 12/5/2008 2:30pm montana p [email protected]
// usage: f(Array of Number, uint);
function f(a:Array, i:uint):uint {
return i;
// usage: f(Array of Number);
function f(a:Array):Array {
return array;
b this method has the added benefit of adding rudimentary documentation for the function call itself
There's always room for improvement. Saying "we already have so much code formatted x way so we shouldn't change our practices", even if there may be value to doing so, is no good. I understand the hesitance. However, if there is evidence supporting a particular design pattern's
inherent value, it should be considered notwithstanding existing methodologies.
thank you for your time, I look forward to more amazing work from the adobe team.
(sorry about not taking the time to format this post a little nicer...back to work)

Similar Messages

  • I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?

    I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?  Will the new one become less effective if it sits around too long?

    How much capacity is remaining on your current battery?
    Check your power status
    From the  menu: Hold OPTION and click System Information... èHardware è Power
    Copy and Paste in your reply.
    The new battery will become less effective if you store it in a hot or humid environment. It should be stored at room temperature (22 C).
    Long term storage (6 months):
    Apple recommends that you store the battery with a 50% charge. If you store a battery when it’s fully discharged, it could fall into a deep discharge state, which renders it incapable of holding any charge. Conversely, if you store it fully charged for an extended period of time, the battery may experience some loss of battery capacity, meaning it will have a shorter life.
    http://www.apple.com/batteries/

  • Why can't I scroll down on windows of certain sites? Like the new BMO site!

    Why can't I scroll down on windows of certain sites? Like the new BMO site!  Please help, I'm going crazy!

    Use two fingers held together to scroll within a window on a web page.
    The iPad User Guide is bookmarked for you in Safari. If you're new to iOS devices, you may want to give it a read through.
    Best of luck.

  • I just uploaded the new software and some of the heading on the phone have switch over to French i want them back in englisg=h

    Uploaded the new software and some heading switch to french how do I swutch back to english, my setting is in English?

    Hi there,
    It sounds like your purchased content is not transfering via a flash drive. It may be easier to re-download this contnet directly from iTunes. Take a look at the article below for mor information.
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/ht2519
    -Griff W.

  • How do i BUY tunes on the new itunes site / store

    how do I BUY tunes on the new i tunes site / store

    It should be clearly visible when you're on an album page, e.g.
    If you're looking at individual tracks, it's always been the case that you click the button with the price.
    If that doesn't help, please post back and let us know what specific item(s) you're looking at so we can check it and see if there's perhaps a problem with a particular item.
    Regards.

  • When firefox trys to auto update, or I manually download the new version, or some but not all downloads off of the web, I get this error message. C:\Users\John\AppData\Local\Temp could not be saved, because you cannot change the contents of that folder.

    First off, when firefox trys to auto update, it fails. It tells me to try and download the new version from mozilla's site. When I try to download the new version I get this: (C:\Users\John\AppData\Local\Temp could not be saved, because you cannot change the contents of that folder.)
    This is the same message I have been getting when I try to download other things off the net. (When I use other browsers to download I dont have this problem)

    Please help.
    It is getting worse
    Adobe flash player is crashing. I already uninstalled and re installed the latest ver. Also it is hanging randomly.
    Please help.

  • My photo stream does not seem to be working as before with the new PHOTOS update. some of my devices are not getting the uploads/downloads

    My photo stream does not seem to be working as before with the new PHOTOS update. Some of my devices are not getting the uploads/downloads, anyone have this problem?

    Recommend that you post your question in "Photos".
    Remember, Photos is not a replacement for Aperture.

  • I have firefox 8.0 but i don't have the new user interface.Any suggestions??? :s

    any suggestions on how do i get the new interface even though i'm sing firefox 8.0

    See:
    * http://kb.mozillazine.org/Lost_bookmarks#Restoring_bookmarks_in_Firefox_3_and_above

  • Why after upgrading to the new os do some songs in the Ipod library have a dashed circle next to them.

    After upgrading to the new os some songs in my library will not sync to my Ipod. I can see them on my computer in the Ipod library with a dashed circle next to them.  How do I get them to play on my Ipod.  They are songs from store bought CD's in my Itunes library that will play on my computer in Itunes.  They do not appear on my Ipod.  I can see them when the Ipod is connected to the computer in the Ipod library.  I reset the Ipod by holding the home & power button, I went into general settings and reset the device.  I synced again but still no songs.

    I have the same problem even from iTunes bought music it appears with dashed grey circle beside the ones that I have recently added to my iPod by downloading them from the iPod itself. I honestly think it has to do with the 7.0.3 update that they have recently released. It may have solved other problems but it has created more problems along the way.
    Hopefully there will be a solution soon, if anyone has news or solutions please post thankyou
    At least now I know I'm not the only one with the same kinda problem

  • If we have the original ipad, how can you open a pdf in the ibooks? the menu tap bar does not appear at the top of the screen like the new ipad2. Any suggestions?

    If we have the original ipad, how can you open a pdf in ibooks? The menu bar does not pop up like it does on the ipad2. Any suggestions?

    Are you in Safari and you want to copy them to iBooks, or you in a different app ? Assuming that you are using Safari, then if I open a PDF on my first gen iPad in Safari and tap on it, I then get a pop-up bar at the top of it with the 'Open In' options.

  • Why on the New Zealand site to I have to buy products in Australian Dollars

    Why have a link to a Kiwi page and then charge us in Aussie $$ - we then have to pay credit card fees and exchange fees!!
    Also why so many broken links when you try and use Help on the Lightroom test software - bit hard to decide if I want to buy when Help don't work!
    Same goes for trying to watch online tutorials, why they no go?

    If you have the purchases on your computer, copy them from there.
    If not, go into the iTunes Store on your iPhone and tap the More button at the bottom, then the Purchased section above, then Music, and there is a section called Not on this iPhone where you can redownload.

  • When I try to upgrade to the newer version of Firefox, this is the message I get (I am using OS 10.4.11): The operation cannot be completed because you do not have sufficient privileges for some of the items.

    I have recently dropped Earthink as me dial-up provider. I now am using Virgin Mobile Broadband2GO. I was using Safari. I am now using Yahoo! Mail Plus. It suggested I switch to Firefox. I had an older version of Firefox (2.0.0.6) and started using it. It suggested I needed to upgrade because many of the newer web sites wouldn't work well on this older version. I downloaded the newer version and proceeded with the installation and it would tell me this: '''The operation cannot be completed because you do not have sufficient privileges for some of the items.''' I have re-downloaded and tried it again two more times. I haven't a clue what that means or what to do about it.

    If there are problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 6.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the Firefox Profile Folder, so you won't lose your bookmarks and other personal data.
    * http://kb.mozillazine.org/Profile_folder_-_Firefox

  • HT5534 I  DOWNLOADED SOME UPDATE FOR PAGES, AND NOW MY OLD DOCUMENTS CANNOT  BE OPENED UNLESS I  BUY THE NEW PAGES APPLICATION.   THIS *****,  I HAVE WORK TO DO NOW AND AM NOT INTERESTED IN AN UPGRADE.

    I  downloaded some upgrade for pages, (not the new version for $19.95) now my computer will not open previous pages documents on my desktop without me buying the new version.  I am not interested in the new version as I have seen numerous negative comments.  I  simply want my system to work as it did before Apple pulled this trick to force me into buying the new pages.  Any suggestions would be appreciated.  I have work to do !

    You are aware that Pages for Mac and Pages for iPad /iPhone/iPod are 2 different program?
    Looks like you have Pages for Apple mobile devices but not for your Mac.
    If that's the case
    Pages for Mac: https://itunes.apple.com/au/app/pages/id409201541?mt=12
    Pages for iPad/iPhone/iPod touch: https://itunes.apple.com/au/app/pages/id361309726?mt=8

  • If I use the new sync-function, I keep losing my bookmarks or at least some of them during syncronisation. Is the new sync just as bad as the old one?

    Just like with the old version of Firefox Sync I keep losing at least parts of my bookmarks when I'm using the new Sync version.
    Anytime I change any of my bookmarks on one of my computers, I not only miss the change on other computers, but I also loose parts of the original bookmarks as well.
    To me it seems that the new Sync is no better than the old one?

    When you switched over to the new account, when you set it up the profile was blank and the name was: "uglings Firefox auf home1-ugling". Then on another login for the same computer, the name on the account was the same, so you changed the name.
    So when you added bookmarks on the newly named computer account (the restricted account), all of the bookmark folders disappeared.
    Summary for clarification, sorry for the repetitiveness.
    STR:
    # unlink account from old sync
    # create new windows account on same computer
    # on new account create sync account that has a blank profile and wait to sync. name is CILBMHVM6DT
    # go to the previous windows account and add the new sync account to the old profile. (i did get a warning that there was an older account that was signed into, but I hit sync anyway) name was WIN-CILBMHVM6DT
    # Wait for it to sync.
    # rename the computer name associated with sync on old profile because it has the same name.(renamed old one to WIN-2)
    # Add bookmarks to new windows account
    # Go back to old windows account and see the new folder, but some previous folders are missing and bookmarks are out of their original folder.
    Expected:
    Merged folders to remain same file structure
    Results:
    Some bookmarks are not in folders that no longer appear in the bookmarks toolbar folder.
    2 accounts on the same computer connected to the same Firefox Sync account had the same name and deleted some bookmark folders.
    I filed a bug on this:
    [https://bugzilla.mozilla.org/show_bug.cgi?id=1046954]
    However in the meantime we can only recreated the folders that are missing on the accounts that you have set up. If this happens again, I will ask if it has to do with the unique identifier of each device attached to an account (I am assuming that its just the name that we renamed) But please also continue the discussion for this in the bug.
    Thank you!

  • Why does Firefox 6 struggle and stutter with the new 4Od?

    Why does Firefox 6 struggle with the new 4Od?
    OK, so here’s my question. I have been using Firefox for years; it’s a wonderful piece of software and an excellent browser. Recently I’ve been having problems with plugin-container.exe. The general advice has been to make sure that Flash Player is up to date (10.3.183.7) and that Firefox is up to date (6.0.1). I still have problems, particularly on YouTube and the new 4Od site, so much so that I used about:config to disable “dom.ipc.plugins.enabled”, I set the value to false. Plugin-container.exe was, prior to this, hogging all the CPU it could get its grubby little mits on, this no longer happens but whilst watching 4Od Firefox eats my entire CPU and the rendered video stream is filled with stutter, almost like frame dropping. It’s fun to watch Firefox struggle, but its no fun trying to watch a program. In desperation I downloaded and installed Chrome. Watching 4Od my CPU usage dropped from 98-100% down to 82%. I don’t particularly want to use Chrome but I do increasingly use my browser to watch streaming video content. Incidentally, if I use Firefox to watch the BBC Iplayer I only burn 35% CPU using Firefox. Oh, and I’m XPSP3, up to date.
    How do I solve this stuttering problem?
    Is this a codec issue with-in Flash Player?
    Does 4Od use some sort of unsupported codec?
    I can’t be the only one out on this limb and I know the problem solvers like a good challenge. Any help or suggestions will be much appreciated.

    You can use Themes or Personas to change the display of Firefox browser.
    * https://addons.mozilla.org/en-US/firefox/themes/
    * https://addons.mozilla.org/en-US/firefox/personas/
    You can Middle-click a link using Mouse or use '''CTRL + Left-click''' shortkeys to open a link in a New Tab. See these articles:
    * [[Mouse shortcuts]]
    * [[Keyboard shortcuts]]
    Check and tell if its working.
    Not related to your problem but some of your Firefox Plugins are out-dated, so you need to Update them.
    -> Update All your Firefox Plugins by visiting the following link:
    * http://www.mozilla.com/en-US/plugincheck/
    * '''When Downloading Plugins setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, etc.)'''

Maybe you are looking for

  • How to tell if new MacBook Air is a lemon?

    I purchased a MacBook air two weeks ago and have been noticing problems with it since then. I'd like to list them below and solicit your feedback as to whether this is pointing to a larger problem I should seek Apple Care help for, or if this may be

  • Firefox crashes randomly on numerous webpages

    Starting around the beginning of August my Firefox browser has been constantly crashing. It was around the same time that Firefox 6 came out, but it was also the same time that I upgraded my video card and memory. Microsoft Security Essentials was al

  • Keeps asking for Dual layer DVD

    I made a slideshow in iMovie and shared to iDVD8. The media windows shows the file as 2.7 gig. But when I go to burn it says to insert a Dual Layer DVD because the project to large. I dont have anything else in the project other then the menu which i

  • I can't seem to power off

    After charging, my new iphone 4 sometimes gets funky. the screen locks and if I tap an icon, a fast voice identifies the icon and nothing else. I've tried to both shut down and reset to no avail. What am I doing wrong? btw...63 yeas old and first i P

  • Handling unit creation in the out bound Process

    Hi All,         If we are not activate Storage Unit management/HU management in the warehouse and still create HUu2019s during outbound process via packing transfer order? We donu2019t want to manage stock at SU/HU level but create handling unit for