« first day (334 days earlier)      last day (4839 days later) » 

10:00
I see
Of course, such a thing has added features. You might want to also accept an integer instead of $obj and do the ajax call there, like so:

/**
 * @param integer|object Question ID or raw question object.
 * @return Question The question.
 */
function SoQuestion($q){
    return is_object($q) ? $q : json_decode( file_get_contents( $SO_API_URL.'questions/' . $q ) );
}
My question is kind of philosophical. As in, "is it ok to waste space to have these empty classes so that you get proper DocBlock documentation?"
Then again, I suppose you could put the empty classes inside a file you don't load. Or perhaps if you're using autoload, this should be automated.
What do you think @Gordon?
@ChristianSciberras I'm not sure you want to know that ;)
@Gordon I'm more inclined to be informed than not. I might not be this lucky in the future. :)
user680786
@ChristianSciberras you can write phpdoc blocks in any line of your script
user680786
just /** here is documentation */
10:07
@OZ_ Uhm, that's not my point...
You can't write PHPDoc of a class if you don't have a class. And as I said above, you can use SO API directly without using a class. Simply by using an object as data only.
user680786
@ChristianSciberras ok, I can use API directly. What is the question?
user680786
sorry, I'm just trying to understand you
Quick question: are CSV headers optional? Or they must be?
@OZ_ No problem. Let's try this.
@Robik yes
10:10
@ChristianSciberras the question apparently is: how do I document something that doesnt exist?
echo $question->title; What does this say to you? Let's say you wanted to write the body, is it $question->body, $question->content, or $question->description? You'll have to look the API up. A waste of time considering a simple ctrl+space would have done it for you.
@Gordon Exactly.
@salathe Okay, thanks.
@salathe where have I seen your name before, have we spoke before?
@TimothyPerez That's exactly what I asked him the first time.
@ChristianSciberras and the answer to that is: you dont
user680786
10:13
@ChristianSciberras I will write class to get autocomplete. I have examples already in my practice
@OZ_ I'm kind of asking whether it is good practice. Apparently, it's not ^
@Gordon So you'd use the API directly? Of course there's the query/api-url building part, but let's leave that apart.
user680786
@ChristianSciberras it helps me to don't care about typos and it works much faster, than looking into sources each time
This salathe guy is the real deal it seems. I've seen his name before, and I swore I probably spoke to him once.
I wonder if it was in an IRC chat or something
@TimothyPerez Could be. He contributes to PHP as well.
can i able to change the vertical scrollbar in selectbox?
with different layout
10:17
@ChristianSciberras you didnt ask about the API. You asked about documentation. If the returned object is a stdClass then dont pretend it's a Question object. It's not. If you want it to be a Question object, instantiate it. Otherwise it's a stdClass.
Yeah, that's it... I met Salathe on PHP Freaks I think
@maulikpatel First of, this is the PHP chat. Secondly, what do you mean by "change"? Visual appearance? Hide it? Scroll it?
Is anyone here using EXT JS for his work? Is it worth 300$+ in your opinion, or is it better to stick with jQuery/UI + self-made forms ?
@Gordon Ah, I get it. OK that pretty much answers my question. Thanks.
EXT JS is pretty heavy and closed source
@Cesco stick with jQuery
10:18
@Cesco its one of the most mature frameworks and worth the money.
bbiab. laters
@Gordon you think EXT JS is good?
thank you. So I have a vote against it, and a vote for it. I'm still confused ;-)
@ChristianSciberras i want to change vertical scroll bar... default scroll bar is like dirty.. i want to change its appearance.
user680786
@maulikpatel just to note: it's PHP chat :)
@Cesco It's a bit heavy in my opinion, but it's a very extensive JS library
10:22
@TimothyPerez thanks.
Hello, I've got a question about colours and just wanted to know if this is a good place to ask?
user680786
@oshirowanen I like blonds
@OZ_ How about redheads?
user680786
@oshirowanen :)
user680786
10:29
@TimothyPerez was question about colours.
Well, if anyone is able to answer please do. I make my websites on IPS monitors and have recently realised that a lot of the shades cannot be seen on TN monitors. Considering most people probably have TN monitors, is there a colour list of TN safe colours for web development?
user680786
Web colors are colors used in designing web pages, and the methods for describing and specifying those colors. Hexadecimal color codes begin with a hash (#). Authors of web pages have a variety of options available for specifying colors for elements of web documents. Colors may be specified as an RGB triplet in hexadecimal format (a hex triplet); they may also be specified according to their common English names in some cases. Often a color tool or other graphics software is used to generate color values. The first versions of Mosaic and Netscape Navigator used the X11 color names as the...
user680786
that's what I found
user680786
@oshirowanen it depends on OS and browser too.
10:34
@TimothyPerez Was that an answer for my question?
@OZ_ Yes, so taking everything into account, I'm after a safe colour palette...
You should always save out your images with sRGB embeded
@TimothyPerez I'm onmipresent :-)
+1 to redheads...
@TimothyPerez How about colours via css without images?
@oshirowanen As far as CSS I dont know, either Hex or RGB
user680786
10:44
@oshirowanen In Adobe's soft I saw tools to check if colour is web-safe and to choose nearest safe
11:09
Can't see to find a web-safe colors on photoshop, but maybe that's because I have an old version of photoshop, 6. However, I've just discovered web-smart colours... cloford.com/resources/colours/websmart1.htm. I will have to have a look at this link on my home TN monitor.
11:52
Hi @ircmaxell
12:05
greetings PHPers
Hi @JohnP
hey @Robik, how's it going?
nice DP :)
DP?
display picture. for your profile
@JohnP Not bad, just bored. And you?
12:09
I am stuck. stuck stuck stuck stuck
so I'm taking a break
user680786
@JohnP with?
device detection. I'm working on code that a few people have worked on, and they've all moved on
user680786
@JohnP you mean browser?
device detection for app stores. the code's throwing up apps that should not be compatible with the device
user680786
ahhh
12:12
Sort of. we figure out what device the user is using depending on the UA. We use TeraWURFL
but our implementation is buggy
/me tosses a wet trout to @salathe
WWhoops. Robik, your avatar looks too much like salathe's
lol
@ircmaxell Really? :(
12:29
Ya
@TimothyPerez yes, i do.
12:44
@ircmaxell Really? :(
Oh God @salathe you remeber the avatar!
you should sue @Robik for that.
lolz
13:13
@OmeidHerat heh :)
:|
@Salathe & @Gordon what's the best technique you utilize when trying to make a Package of Classes polymorphic? I'm trying to stay away from "if/then", "for", & "switch conditionals".
Just tought the concept of Exceptions to a front-end developer. It was easier than I thought...
@ChristianSciberras wait... front-end developer ?
13:20
@OmeidHerat Yup.
so by a high chance a JS developer ?
He does do JS.
But, I kind of am the JS guy at my company as well.
and yet didn't knew about Exceptions ?
/faceplam
@OmeidHerat Not really surprised. Many people out there say they know web development, designing, branding and 3d design just because they know what echo does and how to make a jquery button (lol)
Agree, that is a sad reality :|
13:27
@OmeidHerat What really saddens me is the fact that when I come here, many industry professionals forget that where I come from, the best programmers don't do much more than boil big things together, without a clue of what they just did really does.
@Gordon Thank you
@TimothyPerez yw
@ChristianSciberras That is so true, believe me or not, for a good couple of hours I was explain to so called web-developer expert that Joomla can't do everything but he was keep saying that there is a Plugin/Module for everything that you don't need to touch PHP.
I challenge him to cleanly add pages dynamically on Joomla 1.5
(that is because I tried, and failed :D)
13:31
Joomla... eh. Was responsible making some major fixes to this site, including a SQL injection hack from a Russian: ConceiveOnline.com and suggested I re-write their web framework. They are still using Joomla till this day.
user680786
finally I found VERY detailed explanation why globals and public fields are bad and should not be used: objectmentor.com/resources/articles/ocp.pdf
Yeah that is a good example.
user680786
now I'll post this link each time when I'll write "don't use globals".
and guess what he was saying that html_module is the magic.
write the HTML for what ever you want.
C++ >:[
I'll read it because you said it's good...
13:32
@OZ_ that's the website of Uncle Bob. There is PDFs for all of the SOLID principles there
user680786
@Gordon I know :)
@Gordon Uncle Sam's relative !? lol
user680786
@Gordon before that I used to give link to your answer: stackoverflow.com/questions/5166087/global-in-functions/…
Robert Cecil Martin, known colloquially as "Uncle Bob", is an American software consultant and author. Martin has been a software professional since 1970 and an international software consultant since 1990. In 2001, he initiated the meeting of the group that created Agile software development from Extreme Programming techniques. He is also a leading member of the Software craftsmanship movement. He founded Object Mentor Inc. , a consulting firm that specializes in training their clients in C++, Java, OOP, Patterns, UML, Agile Methodologies, and Extreme Programming. From 1996 to 1999 he...
user680786
but Martin has more detailed explanation
13:34
@OZ_ now you can give both ;)
user680786
@Gordon yep :)
@Gordon So yes! another american symbol :)
Ah, the SOLID PDFs are not linked there. Its butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod
Since singletons/static classes are ebil, how would you create a settings class?
@salathe :-D
13:43
(or how would you replace one)
Zirak.turnEmbarassed();
@Zirak echo "<?php class Settings { /*stuff*/ }" > settings.php
@Gordon so essentially in that example you sent, it's still using a switch conditional in a XXXtype subclass?
or file_put_contents('settings.php', $new_settings_class)
(no, I'm not serious :P)
13:52
@TimothyPerez no. the only switch/case will be in the factory creating the appropriate subtype. its okay to have them there.
14:04
@TimothyPerez the if, switch, while, and ... are called Control structures for a reason.
@OmeidHerat I was just trying to see if there were other ways to morph an object to it's own method without the traditional conditionals
method* sorry, subclass instantiation
turns out there isn't any, its about how using them.
It sucks that in PHP you can't instantiate a class that is abstract.
@Zirak you usually only need the settings class in the beginning of your script, so there is no need for it to be globally accessible, nor does it have to be unique. Instantiate it once and then pass it to all classes that need it. That means all the classes you create in your bootstrap already and then pass it to the factory instantiating the object graph that will handle your request.
Personally, I think it's backwards to not be able to create an object from an abstract class.
14:09
@TimothyPerez abstracts are made to be extended so it makes to not create an object from them.
@TimothyPerez Uhm, that's actually intended. I mean, why would you want to instantiate an empty class?
My best example for this...
Imagine you had

abstract class animal {
abstract function eat();
animalType(){ ... }
}
class monkey extends animal{
function eat(){...}
}
@ChristianSciberras abstract classes aint empty
It would make sense to do the following....
@Gordon it has abstract methods though.
14:11
$monkey = new animal();
$monkey->eat();
@OmeidHerat It can also have Template Methods.
@Gordon They're just an entry in the VT table. They don't constitute tangible code, no?
but it must have at least one abstract method ?
user680786
@ChristianSciberras it's about Interfaces
@OmeidHerat no
14:12
Or let's say you created an interface for animal with the "eat" method....
@TimothyPerez Huh? Usually it's done like:
@Gordon then why would you define that class as abstract ?
@TimothyPerez eat doesnt have logic in your example. so whats going to happen when you call that eat method?
$animal = new monkey();
$animal->eat();
Well, it's suppose to be polymorphic
A monkey eats differently from a Giraffe.
14:14
@TimothyPerez And? You don't tell it how to eat, you just tell it to eat.
@OmeidHerat because it contains logic shared in subclasses but an instance of it wouldnt be a valid class of its own
class monkey extends animal{
function eat(){
echo "I ate a banana";
}
}

class giraffe extends animal{
function eat(){
echo "I ate leaves";
}
}
I know that's a horrible example of the eat() function
user680786
@TimothyPerez for your example it will be better to declare Interface Animal
@Gordon I don't know about template methods, but abstract methods do not have code, hence there is no logic.
But let's imagine they do two different things between the two animals.
Right
14:15
@OZ_ He doesn't have to.
So you would do...
Wait... scratch that last post
Let me do this in a IDE
@ChristianSciberras Template Method
@TimothyPerez abstract is at the top of the graph most of the time.
@Gordon let's see...
14:18
@Gordon erm, you lost me right after "bootstrap"
abstract class Foo implements SomeInterface
{
    public function templateMethod() {
        $this->interfaceMethod();
    }
    public function interfaceMethod() {
        // override in subtype
    }
}
user680786
@Gordon I think templateMethod should be "final" then
@OZ_ you should never ever declare anything final. it will make mocking and stubbing impossible and it violates OCP :)
user680786
@Gordon wow
user680786
@Gordon if templateMethod will be overriden without calling interfaceMethod, that algorithm will not work
14:22
@OZ_ yeah, it should be private/protected. my fault
@Gordon The guy just used final in the PHP example. lol
@OZ_ but then again, overriding templateMethod in a subclass is likely a violation of LSP
But I think I'm getting the hang of it.
It seems they're using an abstract class in a different way than usual.
I'm not sure I like it. Not the way it works, but the way it is implemented. Looks like a load of hacks to me.
user680786
@Gordon yes, I just used to design classes in "fool-protected" style :)
@Gordon @OZ @ChristianSciberras Ok, here's the example...
interface animal {
public function eat();
public function run();
}

class animal implements animal{
protected $animalType;

function __construct($type){
// ...auto instantiate subclass based on type
}

// Error with no eat() run()?????
}

class monkey extends animal{
function eat(){ // ...Eat's like a monkey }
function run(){ // ...Run's like a monkey }
}

class giraffe extends animal{
function eat(){ // ...Eat's like a giraffe }
function run(){ // ...Run's like a giraffe }
}
$monkey = new animal('monkey');
$monkey->eat();

$giraffe = new animal('giraffe');
$giraffe->run();
user680786
14:26
"class animal implements animal" - and your IDE allows it...
IMHO it should be template class Xyz {} instead of abstract...
You can't implement something without declaring it in the scope of that class.
Brb, going home. laters
user680786
@Gordon heh, thanks :)
14:28
@Gordon & @OZ & @OmeidHerat How would you setup that animal example?
user680786
@TimothyPerez in that example should not be any abstract classes, only interface and implementations for each animal
@OZ so what you're saying is...
@TimothyPerez can you use FixedFont when pasting code please
class monkey implements animal {...}
@Gordon how do I do that?
user680786
@TimothyPerez well, actually I would declare interfaces InterfaceEat and InterfaceRun
14:31
when you put multiline messages in the textbox there will be a button that says FixedFont
user680786
@TimothyPerez because it's better to split interfaces
<?php
interface animal {
  public function eat();
  public function run();
}

class animal{
protected $animalType;

  function __construct($type){
  // ...auto instantiate subclass based on type
  }

}

class monkey extends animal implements animal {
  function eat(){ /* ...Eat's like a monkey */ }
  function run(){ /* ...Run's like a monkey */ }
}

class giraffe extends animal implements animal {
  function eat(){ /* ...Eat's like a giraffe */ }
  function run(){ /* ...Run's like a giraffe */ }
Awesome thanks @Gordon . Also, how would you take this on?
user680786
"class monkey extends animal implements animal" - kick your IDE
I'm using netbeans why?
user680786
@TimothyPerez because it's syntax error
14:34
typo $animalType is $type sorry
in class animal, change $animalType to $type
Wait, that's not it
It's giving me an error... wth?
user680786
@TimothyPerez i'm about declaration. It's impossible to declare interface and class with the same name
user680786
I know NetBeans have some code inspections
user680786
try to turn then on
@TimothyPerez because it's better
@TimothyPerez Im not sure Animal should be an Interface. What about Humans? They can eat and run, too. Wouldnt it be more correct to have two interfaces Eater and Runner? Also, how about Birds? Birds are Animals. They usually fly. And snakes dont run at all. They crawl. And fish swim.
14:37
No errors... except it recommends placing monkey and giraffe in seperate files, which this is only an example
user680786
<?php

interface IEat
{
public function eat();
}

interface IRun
{
public function run();
}

class Monkey implements IEat, IRun
{

public function eat()
{
// TODO: Implement eat() method.
}

public function run()
{
// TODO: Implement run() method.
}
}

class Giraffe implements IRun, IEat
{

public function eat()
{
// TODO: Implement eat() method.
}

public function run()
{
// TODO: Implement run() method.
}
}

//Or:

interface IAnimal extends IRun, IEat
{

}

class Human implements IAnimal
{

public function eat()
@Gordon & @OZ you both have good points
@Gordon & @OZ so where would you utilize an abstract class instead of an interface?
What you really want is the Strategy Pattern. See my answer stackoverflow.com/questions/1957732/… for an example.
user680786
@TimothyPerez it can not be utilized instead, it's different things. Abstract class is good when you want to extend something. Interface is good when you want to.. well, Interfaces are always good :)
Funny meow example, except I'd use an spl_autoclass_register() instead of require_once()
14:43
@TimothyPerez yeah, me too :)
user680786
PHP 5.4 with Traits will change that answer :)
@OZ Traits?
@TimothyPerez Traits = fancypants preprocess copy and paste classes
Got it
fancypants = meaning several different availble methods to invoke to modify the copied before pasting?
@TimothyPerez no, meaning: looks like a cool idea for horizontal reuse but you should consider carefully if you really need it like everything that has lots of bling because its easy to mess up your inheritance hierarchy with it.
14:57
hi hi
@salathe How did you know bugs.php.net/bug.php?id=55698 is [FR] ? After checking docs, it is right, but how did you find out?
@Gordon hi :)
@TimothyPerez i should rephrase that
@Gordon whatup with SourceMaking you keep posting links from that site ?)
I'm sure I'll see it once it becomes availabe
15:03
god I hate smarty
@Gordon template method is like singleton maybe even worse (in the sense of being bad idea)
@OmeidHerat That's an awesome reference for design patterns
Ui, 5.4 is going beta :)
@ircmaxell Cool, Bookmakred.
@NikiC Exemples is french, and I check to see if the problem was present in that translation
15:04
@OmeidHerat it just happens to have the GoF patterns and the Refactoring patterns. That's all.
@ircmaxell what's wrong with smarty ?
@salathe oooh, that's genius. I didn't notice the tiny difference Examples vs Exemples
@KamilTomšík you have about 30 minutes to explain. Then I leave ;)
@OmeidHerat the PHP examples for the GoF patterns are just horrible though
@Gordon I see, I somehow thought you are involved and was a bit impressed.
what are we talking about ^^
15:07
@OmeidHerat nah, im not. You can find somewhat better examples in the blog posts of css.dzone.com/users/piccoloprincipe
You know what, even though its about the content but still the design is important in articles.
@Gordon template method is bottom-up inheritance dependency - not only it's bad because of extends (future-compatibility issues because every new method in parent will be published in all children) but also because of implementation dependency - you're coupled to the fact that parent will your method at the right time - and usually you also pretend it will be called just once
@Gordon and "right time" means you're also coupled to parent internal state
@KamilTomšík so you are saying not to use extends at all?
@Gordon there are very few proper use-cases for inheritance (and I can't name even one right now)
@KamilTomšík Polymorphism is probably one of the proper use of inheritance as its not possible without it. ?
15:14
@KamilTomšík how would you prevent code duplication in classes that share the same behavior?
@OmeidHerat It';s a piece of garbage
3
it's a template engine.
Polymorphism is 100% possible without inheritance. In fact its possible without classes altogether
but not in OOP.
15:29
Yes, it's possible without inheritance even in OOP
@ircmaxell You are sigh-ing too much ;)
I'm going to make a kids show -> "Polymorphic Rangers".
2
@ircmaxell I can't see it, can you shot an example ?
no time
15:34
laters
16:07
@Gordon composition
sorry for that delay
@Gordon oh - you mean when you don't want to delegate by hand - in that case - you can use either mixins/traits or leverage __call
Going to sleep see you guys later
@Gordon mylang addresses this by first-class delegation support - it's possible to delegate to whatever you want and even alter interface
anyway, gtg again see you later
16:52
9
Q: Match a^n b^n c^n (e.g. "aaabbbccc") using regular expressions (PCRE)

NikiCIt is a well known fact that modern regular expression implementations (most notably PCRE) have little in common with the original notion of regular grammars. For example you can parse the classical example of a context-free grammar {anbn; n>0} (e.g. aaabbb) using PCRE: var_dump(preg_match('~a(?...

17:03
@NikiC tag it as perl - those guys are just crazy, they do base-convertions using pcre :)
@NikiC Gratz 14k
I want to sort an array of arrays, dependent on an element within the nested array. I'm looking at usort(), but the callback syntax is awkward to me.
@NikiC btw: I'm not sure, if it's possible by preg_match, but should be possible by preg_replace - because you can "build" your own "var stack" which will be then replaced again. hope you get the idea (means it should replace everything resulting in empty string if it doesn't match -> empty string == false)
@Incognito why is it awkward ?
@OmeidHerat Well, if I write a usort such as
usort($a, "cmp")
how do I specify arguments to cmp?
17:11
function cmp($anything) { // Check $anything }
@KamilTomšík I think I got a solution:
0
A: Match a^n b^n c^n (e.g. "aaabbbccc") using regular expressions (PCRE)

NikiCInspired by NullUserExceptions answer (which he already deleted as it failed for one case) I think I have found a solution myself: $magic = '~^(?=(a(?1)?b))a+(b(?2)?c)$~'; var_dump(preg_match($magic, 'aabbcc')); // 1 var_dump(preg_match($magic, 'aaabbbccc')); // 1 var_dump(preg_match($magic,...

omfg :-D
Should it fail at aaabbbcccd ?
@Incognito Look at this :
function sortByOrder($a, $b) {
        return $a['order'] - $b['order'];
    }

    usort($myArray, 'sortByOrder');
Right, but that's hard-coded the key I want to sort on.
I'd like to specify that key in the call.
Rather than make a n number of custom sort function to check n-keys.
17:14
are you in > 5.3 ?
$my_key = 'derp'; usort($myArray, function($a, $b) use(&$my_key) { return $a[$my_key] - $b[$my_key]; });
Or whatever.
@Charles that wouldn't work in < 5.3
anonymous function right there !
This is 5.2, upgrading shouldn't be a huge issue however.
@OmeidHerat To hell with < 5.3!
@Charles yeah but sometimes you just can't upgrade the whole code base just for a small tweak.
17:16
@OmeidHerat Throw caution to the wind! Forget everything and do it live! Arrrrghdfsadfhasujhbargle
Man, I'm feeling dangerous today.
Also [redacted] everything about Zimbra.
So, I can't provide arguments to a callback unless I'm in 5.3?
Its not caution, who cares ! I am just to lazy to port Gigantic load of Code just for a small thing.
@Incognito 5.3 introduces a new way of creating anonymous functions that also conveniently allows you to make them closures by capturing specific variables either at call or define time. This functionality is not easy under earlier versions.
The closest you're going to get is using create_function aka glorified eval to create the body of the function as a string with the key pre-defined.
And then people ask why PHP sucks.
@Charles Because they haven't switched to 5.3
17:20
@Charles Annnnnnnnnnnnnnddddd /FUUUUUUUUUUUUUUUUUU Personal Home Page.
Alright, I'm going to upgrade it to 5.3
THEN I can provide an argument, right?
@OmeidHerat Yeah, but when they do upgrade to 5.3, then there's the namespace separator argument.
Charles snap should work charming !
Wait!
what!
that looks horrible !
huh?
the namespace sparator looks like broken code.
17:25
Yes, it does.
@Incognito , what do you mean but "i am gonna upgrade to 5.3" ?!
it has been out for 3 years
hell , the 5.2 is officially dead for somethign like a year
/Runs phpversion........ one second....
Yeah, but that doesn't stop prehistoric "enterprise" linuxes from shipping prehistoric PHP versions...
5.2.10-2ubuntu6.10 with suhosin-patch 0.9.7
built may 2, 2011
=/
10.04 LTS?
17:29
@Charles Correct.
if you had come back with something from 4.x , i would have spent all my point on downvoting you .. everywhere
Le hmm.
@Charles I mean it wouldn't have been a big deal if they used '::' for namespace separator, look at the concatenation and Plus sign in C/C++/JS and some other languages.
@tereško Oh come now, I'm not that bad at updating :P.
on related note , ubuntu i a really bad choice for keeping server infrastructure fresh
17:30
@OmeidHerat Apparently the PHP parser is so brain-dead that both :: and ::: couldn't be considered. At least that's the story I remember reading on php-internals...
@tereško It's better than RHEL5.
there are many thing better then rehhat
Still shipping 5.1.6 as the default version. You have to pick specially named packages to get 5.3, and then they don't build all of the extensions (like, say, mcrypt)
they aint really trying to set the bar too high .. more along the lines of digging a hole an hiding it
Yeah. And now, afk, meeting.
@Charles that is a bad news.
will there is that logistic function for life growth of basically everything.
17:32
@Charles , imho , you are better off going with old server systems
maybe its the Limit of PHP's Growth
... well .. except slackware , that is for people who like punishment
A logistic function or logistic curve is a common sigmoid curve, given its name in 1844 or 1845 by Pierre François Verhulst who studied it in relation to population growth. It can model the "S-shaped" curve (abbreviated S-curve) of growth of some population P. The initial stage of growth is approximately exponential; then, as saturation begins, the growth slows, and at maturity, growth stops. A simple logistic function may be defined by the formula P(t) = \frac{1}{1 + e^{-t}} \! --> :P(t) = \frac{1}{1 + e^{-t}} where the variable P might be considered to denote a population an...
Blah! There's no package way to 5.3 on ubuntu without making from source.
....But, why?
17:56
26 mins ago, by tereško
on related note , ubuntu i a really bad choice for keeping server infrastructure fresh
@Incognito , i thin this about covers it
@tereško Yeah I saw that. What would you suggest?
CentOs?
how much time do you want to invest into learning about nix ?
Thats what I use on all my servers is CentOS 5.5
@tereško As much as is required, I just won't be able to drop it all in at once.
17:58
in that case , yes , CentOS is a pretty good choice too set it all up ASAP
I'd say my knowledge of linux is probably 2.5/10, respecting that 10 requires insane guru level skills that are in the top 0.2%.

« first day (334 days earlier)      last day (4839 days later) »