« first day (1115 days earlier)      last day (4059 days later) » 

16:00
@stewbydoo does it pass the if else?
first thing people cancle is insurance
yea it does every time
@stewbydoo Maybe you don't have sendmail installed on the server
it says Check Your Email
well if thats the case im fucked
cuz network solutions wont let me install it I bet
its shared hosting, it has to already have it, right?
Who knows, contact them and see.
16:01
son of a
@Cool2beblue Depends what country you're in surely :o
I had the same issue the other day, but I use a VPS so I just isntalled it.
yea VPS is the way to go but I don't make those decisions :(
Well at least you have your next step in where to check. If it turns out it's not installed you can wag your finger at the people who do make those decisions.
@MackieeE Maybe O.o I only know the african states
16:04
@Fabien truth lol
google: browser market
network solutions -> sadface
Anonymous
@SweetieBelle I wander where you are hosting now..
Going to start my self a blog :)
Anonymous
@Cool2beblue TryGhost
16:12
Yeah I need to finish my damn blog.
@Simon_eQ Nah, Ive designed my own platform as a side project a while ago
want to give it a try
Going to trash google abit
LOL
Anonymous
Should give it a try. It's amazingly fast
Hi, could anyone help me out with terminal / putty / ssh of my server? I noticed that since a few days my curl requests in php are SUPER slow, and I need to find out why. What should I look for?
@Simon_eQ Maybe in time thanks ;)
Anonymous
np
16:19
Hi! Anyone with any experience on beanstalk?
@Simon_eQ You have a blog now?
Anonymous
@Fabien Yeah, Not for personal use though.
Oh, work?
Anonymous
Nope. Political activism.
@Simon_eQ What sort?
16:23
@Simon_eQ Well as long as you're not in Central America that's fine :P
@Simon_eQ Haha What are you protesting :)
@Fabien Or china
heh yeah.
Anonymous
@BenjaminGruenbaum Support for government, & anti-US .
Would love to hear feedback on current state of my side project: bitbucket.org/MadaraUchiha/pulsis
2
Current edge is at development branch
@Simon_eQ Where do you live?
16:26
Bitbucket?
@Fabien Or iran
XD
So many places
@Fabien It allows for free private repos, which is why I'm using it.
Not intending it to be OSin the long run.
Uganada, zimbabwe
Anonymous
@BenjaminGruenbaum Many places :)
Going to assume your DB is locked down/local :)
Anonymous
16:29
@MadaraUchiha OOP: are static methods or accessing static methods through the keyword operator result in faster run time than using $this
@Simon_eQ you don't have to apologize for your opinions or be ashamed of where you live if this is where it's stemming from...
shm going to need a european hoster
@BenjaminGruenbaum I believe he is from the Switzerland. The US has been up to no good in europe aswell.
XD
Anonymous
@BenjaminGruenbaum Nah, I live in Switzerland. I am supporting ~innocence of the current Eritrean government, whose image should now be synonym with a dictator, all for the false/wrong reasons perpetuated by the f*cking US government.
'MERICA! Land of the free! Unless you're gay... or poor... or foreign... hmm...
Sigh, My alliance is with UK... so I am biased. If everything goes south here In south africa XD I am immigrating there.
16:34
@Simon_eQ Cool, for what it's worth the US/USSR cold war fucked things pretty bad for us too -_-
@BenjaminGruenbaum Are you a commie?
Ignore this -.- tired
Anonymous
@Cool2beblue ain't no shame in being a commie
(I'm from Israel like @MadaraUchiha ) Now we have this shit storm with all the arab nations around us because of the cold war and proxy war started because of the arms race here.
Anonymous
Jesus was a commie
16:36
@JoeWatkins I restored wiki.php.net/rfc/expectations with "Withdrawn" status, for future reference. Hope you don't mind
Not to mention we're suddenly in hostilities with countries like Iran which hate us and the US. I totally get why they hate the US though after they installed a puppet dictator there and all.
Anyway, I'm off - peace.
@Simon_eQ Wha?
Anonymous
self::method() vs $this->method() or static function foo() vs function foo()
Anonymous
@MadaraUchiha
@Simon_eQ I know :P Im teasing
16:40
Gahh I'm definitely having a retarded moment
@Simon_eQ Try it ;)
I can't mess with the client-side filesystem, so how do I transfer bytes over to the client to eventually make up a file that could be in the GBs?
How fast that kind of stuff is depends on your php version, best simply to write a quick microtime-benchmark
Anonymous
@NikiC microtiming sucks :p
Anonymous
Every-time you refresh, it's a different benchmark.
16:42
hmm ... "Shoot 'em up" was a good action movie. What we in post-soviet countries refer to as 'boyevik'
btw, @Simon_eQ , did you had the time to watch "Ghost in the Shell" ?
Anonymous
@tereško Yeah
Anonymous
I saw it three time. First time, the first 10 minutes, second: the first 20 minutes. After the 30th minutes. I called it quit.
Anonymous
It sucked!!
@Simon_eQ The two are conceptually different, you can't compare them.
hmm ... shame
Anonymous
16:45
@MadaraUchiha I was talking about performance issues. If I wanted faster result, which one I should use.
@tereško may I have your 2c?
@Simon_eQ The two are conceptually different, you can't compare them.
@MadaraUchiha wut ?
It's like asking "what's faster, a function or a class"?
20 mins ago, by Madara Uchiha
Would love to hear feedback on current state of my side project: https://bitbucket.org/MadaraUchiha/pulsis
Anonymous
I think the static keyword is faster
@MadaraUchiha it's on bitbucket, therefore it sucks
16:46
@Simon_eQ You clearly aren't listening to me, so I'll stop talking now.
@ircmaxell False, it's on bitbucket because it's private. That does not mean it sucks.
Anonymous
foo::bar();
$foo->bar();
@MadaraUchiha which branch ?
dev
@ircmaxell my first thought as well :P
16:48
@tereško development
Anonymous
@MadaraUchiha I don't think you understood the question. But, it's fine
@Simon_eQ I understood perfectly.
@MadaraUchiha , you have this bit in bootstrap: $router->setBasePath("/"); .. what's the point of it ?
16:50
One is like calling a normal function, the other is calling an instance method on an object. The two are very different.
it seems to be doing same thing as the first parameter in $router->map() method
@tereško It was originally hosted on localhost/pulsis (so base path was "/pulsis"), also in the future I may want to have www.example.com/pulsis or whatever
@tereško setBasePath gives a base to route from.
16:52
$router->matchCurrentRequest() seems to bo doing something, before Request instance exists
@tereško Yes, Request was added later, and I was yet to integrate it with the router. mathCurrentRequest simply gets the current URL and matches against it. (BTW, it's not my own router, it's a 3rd part project I took from github, standby for link...)
Anonymous
Anonymous
1 year-old memories.
PHP
PHP
evening
16:55
the current router seems somewhat weak
you have no ability to match custom patterns
I do
It's not documented well, but I do
At the absolute worse case, I can setup my own regular expression if I need to
But this isn't intended to be the final Router.
It just works for now.
I just wanted to push ahead and not hang on the router, since I'm still not 100% sure of implementation details
public function setUrl($url)
{
    $url = (string)$url;
seems like a bad idea
Heh, like I said, I didn't make it.
public function getGet($key) {
people tend to use getQuery() for that ... less confusing
17:00
@tereško Noted, figured I have Get and Post, so might as well name it as such
also, the Request has this "glorified array" vibe going
It's pretty much that, at least for now.
@MadaraUchiha this was one of the reasons why I decided to the rid of the distinction
I have no idea what kind of functionality it should have otherwise.
and you probably will want some runtime caching for data mappers within the factory
mappers usually do not hold any form of state, which means that you can reuse them
17:05
@tereško As in, cache the new $class as well?
Noted, not sure why I didn't do it earlier, added todo.
well .. it kinda depends on how your code is structured, but I think cached mappers would be the "safe default" approach.
        $this->cache[$serviceName] = new $class($this->doFactory, $this->dmFactory);
        //The above line is a violation of LoD, tough luck.
@tereško Well, it's likely that I'll use the same mapper at least twice (Controller once, View once)
wrong ... there is no LoD violation ... but I still have not got around to writing that damned answer
17:07
@tereško SO FREAKING DO IT!
in past two weeks I think I have written one answer in total
public function setDefaultTemplateDirectory($directory = "Templates") {
@tereško It should've been mine!
MINEEEEEEEEEEEEE!!!!!!
you might rethink that method
and all the implication that come with it
@tereško Well, I see that the default value to $directory is a bit silly
also, you have there an abstract class, with no abstract methods
17:12
But what implications does it have?
for some reason, your template does not need to know in which directory the file is located
@tereško The template is the file, unless I'm missing something?
and, think on this for a bit: if you have a method called setDefaultXXXX() , shouldn't that be something you set in a constructor?
@MadaraUchiha here is a small "template class": codeangel.org/articles/simple-php-template-engine.html
@tereško Hmmm, probably
that's what you are calling "view" there
17:17
@tereško What's the "view"'s responsibility then?
if model's state indicated that a HTML response has to be sent, view is choosing which templates (usually multiple) to use for providing the interface
Multiple template classes?
Can you give an example usecases for this 3 level hierarchy? (view, template, template files)
Also, in that case, what does $view->render() do?
Alright, going to get some food
I'll be back later this evening :)
cya
Anonymous
@MadaraUchiha Did you mean bite someone on the neck ? :p
17:33
no1 dare to bite me!!!!!!!once a dog bite me, he gets 10 injection and 1 month bed rest !! just kidding
bye
Anonymous
@web2students.com interesting to know
LOL
Chats so silent\
Time to close up
Nighty night everyone
Night
@HamZa sorry, I'm not the biggest user of unit-testing ;-P
@bwoebi e'nin
17:47
@JoeWatkins enin??? please don't abbreviate so much :o
@bwoebi but it's so many letters !!!
Anyone actually follow any marvel comics?
@JoeWatkins and what does it mean?
evening ... which should read morning ...
pretend it did ...
ah okay :-)
17:52
m'nin @Joe ^^
m @NikiC
@Joe
^-- here, I got the shortest one!
@J
^ even shorter
Anonymous
17:53
@
@bwoebi that will either not ping at all or ping too many people ;)
no ping
@JoeWatkins @bwoebi Just checked, three chars is minimum for ping :)
oooh :-/ ^^
okay, so I just installed an UML editor...
17:56
Clint Priest showed up earlier ...
@JoeWatkins so, you're not planning to come back to internals … or just wanting to take some break?
have you had email from him ?
...you may speak your condolences now
@NikiC well, just looked up what UML is ;-P
@bwoebi It's what Java programmers use to jack off
Such a waste of my precious time :(
17:57
@NikiC igitt. My condolences :o
@JoeWatkins Maybe this will convince your wife?
Anonymous
lol
@bwoebi Thanks!
this part is unacceptable IMO. Always shave that bit.
yo guys, what does LTS in LTS build mean?
18:04
@Fabien Fortunately mine stays pretty thick and full and I don't have that scraggly look
@Fabien me "hey, come and look at the fun you can have with beards", her "fuck off, I'm cooking dinner"
@cspray Lucky you :( Mine is crappy.
long term support
@JoeWatkins Hmm, timing is everything!
@Fabien I've only just recently (3 or 4 years) gotten to where it is like that
18:05
3-4 of growing or in the last 3-4 years your beard thickened?
Fortunately my wife loves my beard and has said she'd be upset if I shave it off
@bwoebi I dunno
I'm 26 now. I don't think mines getting any thicker sadly :(
@Fabien 3-4 beard thickened
Like, significantly
Age?
18:06
30~
Hmm, i'll not lose hope yet then.
My dream of a thick full beard isn't over.
@JoeWatkins Okay ;-)
Anonymous
Ok, beard-talk is a good time to leave this room.
Injustice: Gods Among Us <-- Pretty badass.
can i have some advice on which solution is best from the answers i was given here: stackoverflow.com/questions/19773850/…
18:20
@Dave None.
RAND() is slow. Use this method of selecting a random row
the answer in that uses RAND() too
Not in the same way
In regards to getting enough rows, IE 6 rows from 4. I am a little unsure I would most likely get all 4 then pick random 2. But maybe someone else can give you a better answer.
well the idea was the chance of duplicates even if i had enough rows
but ill take a note of the rand() issue thanks
What about doing it in PHP?
If it's not many rows, select all then use PHP to randomly pick from the array
hmm
interesting
18:24
Your question hasn't been up long, hopefully you'll get a more expert answer from somewhere.
yeah true
Evening yall
Hey Porn King
So, @NikiC you coming out on Wednesday?
2
@Fabien yo
@ircmaxell chat.stackoverflow.com/… you ask him too often ;-P
I know, because he told me I didn't ask enough last time
@ircmaxell ah, then it's fine :-)
4 mins ago, by ircmaxell
So, @NikiC you coming out on Wednesday?
18:43
emm ... @NikiC , which oppressed minority group are you in ?
@tereško Is there a way to return a requested number of random rows beyond that of the number of rows available? so 4 rows 6 results randomized with just mysql? Or is it overly complex. Selecting a single row 6 times is just more sensible.
@tereško thanks
@tereško oppressed minority?
@ircmaxell @NikiC I pinned it. And now that remains pinned until Wednesday! So that you won't forget!
well ... ircmaxell said that you are coming out .. I assumed it's "out of closet"
18:44
lol
lol
hehe
You have our support @NikiC
@Fabien the pre-update version does not enforce UNIQUE entries. And with few rows, this approach will be sub-optimal. The method that I describe there is worth the effort when you have over 100 rows, otherwise, ORDER BY RAND() will be faster
@tereško Ah fair enough.
BTW, you follow any marvel/DC stuff?
18:49
not really. I have been reading "Witchblade" lately, but I prefer mangas over vestern comics
I do too, but some graphic novels are pretty good. Check out "Injustice: Gods Amongst Us". Not a graphic novel but I am reading it now, it's good.
19:03
@tereško still around?
Did you have the chance to review some further?
Is there any alternatives to Remote Desktop? Slow at peak hours to work from home =/
plenty of them, google vnc
@MackieeE I like logmein
Has a web interface
Best with Firefox
19:09
I'll have a try with both, thanks :D
if I want to have the mail function use a specific from address I just spcify that right?
like
$header = "From: [email protected]";
right and it should send the email from that email address correct?
Provided you have whatever.com =)
right lol I just can't get this damn thing to work I don't understand
if I login and send email from that email address it sends mail just fine
but when I try to have PHP do it nothing happens.
I guess the I need to setup something in the php.ini...maybe?
There's probably a good few reasons why
Use PHPMailer, It'll make your much easier
I would but it's not installed on NetworkSolutions hosting
shared hosting that is
If I try $mailer = new PHPMailer(true);
it gives me undefined
19:15
And you've included the autoloader?
what is the autoloader?
require 'PHPMailerAutoload.php';
@MadaraUchiha Insssstalllin'
@MackieeE Hmm?
Almost done with Loginme :X Exciting
19:21
It's a joke that my work has only like, 5-10mb internet speeds.
@MackieeE Should be more than enough
Nice! :D!
good evening
@MadaraUchiha Love it! Thank you!
19:30
blah
19:41
1
Q: Encourage the posting of Canonical Questions by making "Answer Your Own Question" posts Community Wiki automatically

Robert HarveyHere on Meta, we have a faq tag. It contains many topics that describe in high-quality detail how the SE network functions. By convention, we mark these posts Community Wiki and protect them. This lowers the bar for community contributions, but raises the bar for would be spammers. I propos...

@MadaraUchiha enough if you're using that alone.. but for a 100 people office sharing 5-10mb, that sucks
@reikyoushin Yeah, probably, it does indeed!
=)
@ircmaxell Is this trolling? Or are they serious?
ummm
have you never heard of the onion before?
19:51
No, but I'm guessing trolling :P
The Onion is an American news satire organization. It is an entertainment newspaper and a website featuring satirical articles reporting on international, national, and local news, in addition to a non-satirical entertainment section known as The A.V. Club. It says 90 percent of its web site readers are between 18 and 44 years old. Since 2007, the organization published satirical news audio and video online, as the "Onion News Network". Web traffic on theonion.com amounts to an average of 7.5 million unique visitors per month. The Onions articles comment on current events, both real a...
@ircmaxell ahahahhahahaa
3 hours ago, by ircmaxell
@MadaraUchiha it's on bitbucket, therefore it sucks
19:54
:-P
@ircmaxell If you were on a different chat, I'd totally suspend you now.
uh huh
i know we shouldn't use php mail function but its my only option on NS, and I want to kill myself cuz it wont work!!!!!!!
@stewbydoo Have you tried turning it off and on again?
I did lol
19:57
> ownCloud is an open-source software suite that provides a location-independent storage area for data (cloud storage).
@ircmaxell (I don't have powers on Stack Overflow or Meta Stack Overflow chat, but I do on all other chats :P)
We used to just call something like that a server
@PeeHaa I know, right

« first day (1115 days earlier)      last day (4059 days later) »