Search completed in 1.74 seconds.
Appendix: What you should know about open-source software licenses - Archive of obsolete content
yukihiro mat
sumoto, the developer behind the ruby scripting language, published a “free software license diagnostic” in his personal blog.
... the title hints at mat
sumoto’s diagnostic approach, since it mentions “free software.” this is slightly different from open source.
... (mat
sumoto updated his free software license diagnostic for a special open-source section in the january 2007 edition of softbank’s open source magazine.) if a company is considering releasing its own software as open source, it should consider dual-licensing or the cpl.
SpiderMonkey Internals
an example, from perfect.js: function perfect(n) { print("the perfect numbers up to " + n + " are:"); // we build
sumofdivisors[i] to hold a string expression for // the sum of the divisors of i, excluding i itself.
... var
sumofdivisors = new exprarray(n + 1, 1); for (var divisor = 2; divisor <= n; divisor++) { for (var j = divisor + divisor; j <= n; j += divisor) {
sumofdivisors[j] += " + " + divisor; } // at this point everything up to 'divisor' has its
sumofdivisors // expression calculated, so we can determine whether it's perfect // already by evaluating.
... if (eval(
sumofdivisors[divisor]) == divisor) { print("" + divisor + " = " +
sumofdivisors[divisor]); } } delete
sumofdivisors; print("that's all."); } the line number to pc and back mappings can be tested using the js program with the following script: load("perfect.js"); print(perfect); dis(perfect); print(); for (var ln = 0; ln <= 40; ln++) { var pc = line2pc(perfect, ln); var ln2 = pc2line(perfect, pc); print("\tline " + ln + " => pc " + pc + " => line " + ln2); } the result of the for loop over lines 0 to 40 inclusive is: line 0 => pc 0 => line 16 line 1 => pc 0 => line 16 line 2 => pc 0 => line 16 line 3 => pc 0 => line 16 line 4 => pc 0 => line 16 line 5 => pc 0 => line 16 line 6 => pc 0 => line 16 line 7 => pc 0 => line 16 line 8 => pc 0 => line 16 ...
Separate sites for mobile and desktop - Developer guides
in fact, mozilla picked this strategy for the mobile versions of addons.mozilla.org (amo) and support.mozilla.org (
sumo).
... if you’d like to see the source code behind an example of this approach in action, feel free to check out the github repository for amo or
sumo.
Getting Started with Chat
channels here is a list of channels you should be aware of as a member of the mozilla community: (remember to use irc.mozilla.org and port 6697 or 6667 for your server settings) #qa a channel for qa discussion #developers a channel for mozilla development discussion #
sumo a channel for support with firefox for more information about the mozilla irc network and more channels, go here.