From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-November/019820.html | 113 +++++++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-November/019820.html (limited to 'zarb-ml/mageia-dev/2012-November/019820.html') diff --git a/zarb-ml/mageia-dev/2012-November/019820.html b/zarb-ml/mageia-dev/2012-November/019820.html new file mode 100644 index 000000000..a15238228 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/019820.html @@ -0,0 +1,113 @@ + + + + [Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel. + + + + + + + + + +

[Mageia-dev] [soft-commits] [6416] Initial commit of Admin Panel.

+ Guillaume Rousse + guillomovitch at gmail.com +
+ Tue Nov 6 20:55:01 CET 2012 +

+
+ +
Le 06/11/2012 16:33, Matteo Pasotti a écrit :
+> -----BEGIN PGP SIGNED MESSAGE-----
+> Hash: SHA1
+>
+> On 06/11/2012 13:16, Guillaume Rousse wrote:
+>> information in every single file, whereas a single top-level README
+>> file would be enough.
+>>
+> Hello Guillaume,
+>
+> GPLv2 says:
+> It is safest to attach them to the start of each source file to most
+> effectively convey the exclusion of warranty; and each file should
+> have at least the "copyright" line and a pointer to where the full
+> notice is found.
+>
+> http://www.gnu.org/licenses/gpl-2.0.html
+Come on, you really think someone will sue you because running your code 
+crashed his system, and you have to be that "safe" ? It's a pain to have 
+to skip multiple lines of legal bullshit before reaching the code, and 
+you'll need to update a gazillion files in just a few monthes because 
+we'll change year.
+
+[..]
+>>> +use Data::Dumper;
+>> Unused anywere. Don't load debug-related modules in production
+>> coed.
+>>
+> afaik, apanel is not "in production" so what's your concern?.
+Don't bloat memory by loading unused modules. Keep your debug code in 
+your working directory, not in svn.
+
+[..]
+>>> + +sub ask_for_authentication { +    my @args = @ARGV; +    my
+>>> $command = wrap_command($0); +    unshift(@args, $command->[2]);
+>>> +    exec { $command->[0] } $command->[1], @args or die ("command
+>>> %s missing", $command->[0]); +    die "You must be root to run
+>>> this program" if $>; +}
+>> You're duplicating the condition from previous function here. die
+>> "You must be root to run this program" if
+>> !require_root_capability();
+>>
+> Don't blame me too much for readability and duplications, please.
+> I was inspired by /usr/lib/libDrakX/common.pm and other modules that
+> are not very readable and that contain similar duplications.
+I wouldn't consider drakxtools a reference for readability...
+
+-- 
+BOFH excuse #23:
+
+improperly oriented keyboard
+
+ + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1