« first day (864 days earlier)      last day (4309 days later) » 

09:00
@BoltClock are you familiar with Mihai's story? Or should I fill you in?
ya..i mean how can i do that??
@Gordon Fill me in please
@Lusitanian true :)
@Lusitanian youre telling me some days ago about Orson Scott Card I learned about a movie this year based on a book for him.
@wes tnx :)
@BoltClock He was answering a lot of low quality questions and blatant dupes a few months back. Since those are naturally on my radar, I noticed him doing so. I asked him politely to not answer them, but closevote instead (after all, he has the rep for it). I then went to his profile and checked the other questions he answered and cv-pls'ed those that were poor or dupes.
user652649
sorry @PeeHaa i forgot the preview :P
09:04
The fun part is. The community agreed with the removal of the crap on Meta. And now he's using that to flame you @Gordon. The guy would make a great politician
:D
@BoltClock The rest is basically history. He took it to Meta, without even bothering to talk to me about it.
@Gordon Ah. Well, try not to do what you did in your last sentence in future I guess.
Speaking of which @wes. How did it go ysterday?
But I agree it's not something to get upset over, plus you've already approached him about it
user652649
@PeeHaa i'm still literally pe*ing coffee
09:06
:P You followed it during the night?
@BoltClock Well, yeah, but I was not targetting his answers in particular. I understand how he came to that conclusion, but from his comments and his accusations that everyone is apparently against him I'd say it's quite clear that he has some issues.
Go home @DaveRandom you're drunk
3
epic fail
Yes @DaveRandom, but the same principle applies to, say, visiting a user's profile, seeing that most of his posts are legitimately shitty, and downvoting all of them
@BoltClock plus, I really dont see why I shouldnt close poor questions when I get them served on a silver platter like in his case
09:07
brb. gonna handle the new incoming crap that is called [php] + [oop]
@BoltClock but we didnt dv his answers. we closed the questions.
@BoltClock It's kinda hard to avoid the temptation when you find a user like that, I guess what we need is a way to drip feed the questions into the system so the user doesn't feel like we're targeting them (because we're not, it just so happens that they are a good source for finding poor questions)
There I did it.
Aren't I clever.
Needz moar tea
@Gordon Which led to the deletion of the questions, taking his answers with them. I know voting is different because in your case it's an indirect side effect, but still
Use tags, 10k queues, etc and not a user's profile
If a user is consistently posting low quality content, defer to us
@BoltClock we'll see about the need to defer in a few days :)
@Gordon Yeah :)
09:10
This is like the 30th time I gotta google how to write language hints in SO answers =_=
@DaveRandom Chat doesn't like square brackets in URLs... looks like you'll have to encode them yourself
http://www.dna-et.com/resources/www.dna-et.com%20%20wallpaper-727352%5B1%5D.jpg
@BoltClock out of curiosity, do you know anything about that exchange between him and the SE team?
@BoltClock could you remove other comment too those are misleading
@Gordon No. Emails to team are not cc'd to mods
hey dudes what to do when server response " Unable to send email using PHP mail(). Your server might not be configured to send mail using this method." ?
09:12
@donotusetabtodigitthisnick what it hints at in the error message: configure the mail server.
) so it's server problem not php configuration problem?
@donotusetabtodigitthisnick you are on localhost?
@BoltClock Holy crap. I've always assumed it was the hosting sit doing a Referer: check or something. That explains the abnormally high attrition ration with image links
@PeeHaa Worth auto-correcting that with the plugin thoughts?
@DaveRandom Nope, apparently it's just chat.SO stripping out the [] in the URL
09:14
@donotusetabtodigitthisnick do you check mail configuration on php.ini?
@Gordon i mean, it's not somenthing i can fix in php right? it's a server php ext configuration right?
@JuanFernandoz nope i'm on shared hosting
Yet another victory for chat markdown
need to ask provider i think
@NullPointer I don't know if that would border on censorship. I'm not going to touch it. I'll let the community team know what's going on
Agreed, you can't persecute people for expressing their opinions. This isn't 'Murica
09:15
@donotusetabtodigitthisnick its a shared hosting but you can read the php.ini anyway,
@donotusetabtodigitthisnick you might have luck configuring php.net/manual/en/mail.configuration.php#ini.sendmail-path
@DaveRandom thank you for that ;) [i'd like to believe that that isn't the case]
@donotusetabtodigitthisnick Consider using something like phpmailer or swiftmailer
on a related note why am i still awake
@JuanFernandoz nope i can't they let you only the httpdocs dir
@DaveRandom what i mean man, in this case i should first tell this to provider nope?
09:17
Man, really
problem comes from provider not from Codeigniter/PHP ...
Having to moderate moderator nominations
by the way I have a mail function problem on localhost today .. so Im check all the configuration, sendmail dll's, stunnel configuration.... and the problem its that I actually change my mail pass u.u half hour lost....
@JuanFernandoz if it's a provider problem, provider MUST fix that
i mean, i don't want to do somenthing do not expect to me to do
@BoltClock sounds good idea
09:19
@donotusetabtodigitthisnick No, they are external user-land libs that you should be able to use independent of the platform as long as you use the right sending method. Use the SMTP transport for either with the appropriate relay server settings and it should work. If it still doesn't then you need another hosting provider, that's a pretty basic requirement IMO
They may block mails to avoid getting spam blacklisted though, in which case I do kinda see their point of view
@donotusetabtodigitthisnick if you hosting dont have mail libraries property installed considering another hosting because that really sucks...
@DaveRandom thanks, just let me explain better, before i go for new solutions i first need to tell this to provider who will check the problem nope?
@JuanFernandoz that sure! ;)
@BoltClock how much contact is there between mods and the employed SE.team btw?
just want to understand if problem is 100% mine or 100% from provider :D
so i can contact them saying "Hey dudes fix this or i'll change host provider "
understood ow ? 9
)
@donotusetabtodigitthisnick You can certainly see what they have to say, but even if they can fix it for you you should avoid using mail() directly unless you really know what you are doing (which, no offence, I guess you don't, or you wouldn't be asking the question :-P)
09:21
@Gordon you get a gsm receiver embedded in your brain and wired up to your ears
@Gordon We have a network-wide moderator chat room where the team hangs out nearly as often as we do i.e. all the time
@DaveRandom ehehe understood man thanks )
@Lusitanian is that compatible with Google Glass?
@donotusetabtodigitthisnick why you just test your code on localhost... so if works fine.. its a hosting problem dont you think?
@Gordon yes
09:21
@Lusitanian kewl
Of course there's also that Assembly chat room that I don't know if anyone remembers
anyway in 2013 it's kind unbeliavable php provider without mail() method :/
@JuanFernandoz well providers uses different configurations etc etc, i always develop sites on localhost, but everytime you got surprises on different providers )
u know
Good monring all
Hello
why is this returning 0?
$artistname = "Axwell";
$artist = "Axwell";
$pos = strrpos($artistname, $artist);
echo $pos;
pandora boxes @JuanFernandoz
09:23
@BoltClock thanks
@donotusetabtodigitthisnick blocking outgoing email is a point of view I can understand. Email seems simple on the face of it, but it's actually quite complex to construct emails that won't be blocked by spam filters. And if your server does get blacklisted you are in for a world of pain. So from a shared hosting providers point of view, it probably does make sense to prevent users from sending mail directly. However in this case they should provide an alternative mechanism (although it may be a paid service)
@MikelGarcesEtxebarria because php.net/strrpos returns the position where the needle exists relative to the beginnning of the haystack string. Also note that string positions start at 0, and not 1.
gordon yes sorry
but if I code
@BoltClock ?
$pos = strrpos($artistname, $artist);
if ($pos === true) {
echo "yes"; } else { echo "no"; }
it show no
09:26
@MikelGarcesEtxebarria which is expected behavior
strrpos will never return boolean true
@MikelGarcesEtxebarria that is because 0 !== true. you are using === which is type safe. 0 is an integer type. true is a boolean type.

 The Assembly

You know those boring town council meetings you never attend? ...
@DaveRandom well i think once you do not have solution for that you should never open an hosting service )
Looks like there hasn't been much activity
I want to know if artist is on artistname string
Gordon, in the documentation:
$pos = strrpos($mystring, "b");
if ($pos === false) { // note: three equal signs
// not found...
}
Im using true if it exists
but is returning as false
09:27
@DaveRandom and the world will be btter )
@MikelGarcesEtxebarria note that it says false, not true. strrpos can return false. it cannot return true.
@MikelGarcesEtxebarria You can't do that, the result of strpos() will never be exactly equal to true
The logic is:
okey
solved
if ($pos === false) { // note: three equal signs
} else { ... }
$pos = strrpos($mystring, "b");
if ($pos === false) {
  // not found
} else {
  // found
}
hello i have list of array element "Tq1_1,Tq1_11,Tq1_2,Tq1_3,Tq1_4,Tq1_5,Tq2_10,Tq2_6,Tq2_7,Tq2_8,Tq2_9"
i want to count element which start "Tq1 and Tq2" from that list
09:28
Nothing else
@MikelGarcesEtxebarria yup
okey
I thought that I could use $pos === true
@Nileshpatel You'll need a loop for that, there's no built in function
thanks @Gordon
@donotusetabtodigitthisnick if your project are important to you never use a shared hosting
09:29
@MikelGarcesEtxebarria np
@JuanFernandoz problem is not important ) it's a stupid web site )
@DaveRandom yes but no idea how to use that loop to compare
@donotusetabtodigitthisnick I like a man who takes pride in his work :-P
3/4 pages but email are extremely important cause users can order via email products
@DaveRandom :D
@Nileshpatel Just loop over the array and check if (substr($arrayEl, 0, strlen($compareEl)) === $compareEl) { $count++; }
09:31
@donotusetabtodigitthisnick are you considrering using pigeons to send the messages? :P
Im suffering problems if the string have space
@DaveRandom lol
My favourite part is
> ...but many carriers can be used without significant interference with each other, outside of early spring.
> Audit trails are automatically generated, and can often be found on logs and cable trays.
09:35
@JuanFernandoz lol
@NullPointer lol
@DaveRandom dont miss it you can buy london bridge
@NullPointer resists pedantry temptation re: tower bridge vs. london bridge Damn, I just spent my last £30,000,000 on the Eiffel Tower yesterday.
Frankly for that much money I'd want the sodding bridge as well
@DaveRandom its little costly for me too :P:P
@PeeHaa square brackets in image links
@PeeHaa You know when you get "image not found" images? Basically it's a markdown fail.
Can't SO just stop tweaking the damn templates and start fixing MD bugs? :P
We could pretty easily urlencode non-specials in URLs
@PeeHaa Indeed, `
Oh it works now
Looks like that have fixed something at least
Was it full moon last night btw? There was an influx of wrongly tagged [oop] question it's not even funny anymore
I mean. C'mon I have to do some actual work today
Hey, I just met you, and this is crazy, so here's a question, stackoverflow.com/questions/15084561/…
10
Ugh, why is that song going round my head
In fact I blame @Gordon for referencing it in his nomination post.
Damn you! shakes fist
10:01
Hi,
I have this code but its not sending attachment with it .anybody can guess what will be issue... http://codepad.org/mwt7UF01
how goes the nominations?
6 days are two much
@PHP5.4 The content type header and the actual type of the content don't match. You seem to be trying to embed a multipart/alternative in a multipart/mixed, which is the right way to do it - or an least it would be if you were actually including an alternative HTML/text portion of the message body ;-) - but you need to start with the right boundary type and state that the first part is multipart/alternative
@PHP5.4 You should use a library like phpmailer or swiftmailer instead of creating the message yourself, constructing emails is a problem that is already thoroughly solved. Unless you are just trying to learn how to do it, in which case carry on, maybe go and re-read about how MIME multipart works
@andho The mods have had to step in on the comment thread on the bottom of Gordons nomination. Twice.
Anonymous
10:35
when does the voting begine? I cant see the vote button
@PHPNooB Look at the top right of the election page for all the time-related information
Anonymous
don't understand b/n primary voting & elections
@user1929491 hellow
anyone familiar with codeigniter is here?
10:51
its not that great
@user1929491 yes say
I have a good network question
and now i'm oging to sleep finally
@Lusitanian lol
gn
10:52
sever A must be localhost app that relies on database A, database A must be internet accessible to update values in database A
what is the best way to do that?
@JosephPersie database A must be internet accessible to update values in database A? Does not compute.
i need a edit code for image upload to database
Server B must be internet accessible to update values in database A
lol
@JosephPersie Needz moar context please, can you draw a diagram or something?
anyone familiar with codeigniter?
How is it possible to make that intranet application access database A if it can have no internet connection
and database A must be accessible by an internet application
@JosephPersie Not really seeing the problem tbh, are you talking about multiple physical servers or just one? Either way it doesn't really matter as long as the public server can see the database on its LAN. Is the "internet server" in a different physical location (like shared hosting or something?)
stackoverflow.com/questions/15087514/… "Right, I need to log the user out, so I'd better destroy the session data, I'll turn it into an empty array. Oh, wait, I want to very log them out, so I'll nuke the cookie as well. Hang on, I want to very very log them out, better call session_destroy()"
11:12
The internet server is going to be on a different location
and the problem may be addressing whether the database can be on the the internet as well while allowing the intranet application to connect to it.
Should I use array_push() or just $array[] = $var; ?
Gooooooooood mooorning.
@webarto
@JosephPersie Ahh OK. So you'll probably want a VPN in that case, either that or you can make a bit of middleware to sit on the database server or on another server in the same location to relay data from the database to the public server. Don't get to hung up on the idea of "must not be on the internet" - it will have to be on the internet in some way or there's no way to do it.
You just need to ensure that the firewall is set up in such a way that only the relevant services are exposed, probably with an IP whitelist.
user652649
morning fella
11:15
@webarto Jo jo
> Note: If you use array_push() to add one element to the array it's better to use $array[] = because in that way there is no overhead of calling a function.
@Jimbo
Jo jo
Ah fair point, cheers @webarto
I felt bad voting between Gordon and Madara - can't they just both be mods together?
Isn't this a nomination round?
@Jimbo I generally just use $var[] but if you are pushing multiple elements onto the array in one go you can use array_push() to do it. @LeviMorrison once said that he generally uses array_push() when he is also using array_pop()/array_shift() on the same array for consistency, which I don't personally do but I can understand the viewpoint.
@Jimbo a) there's no voting yet and b) yes they can theoretically, there are 4 mod positions available.
thanks for that tidbit
When it gets to primary you get one vote per candidate (up or down, like questions/answers) and when it gets to the election you get to pick first/second/third choice. So you can actually vote for both of them if you want.
@DaveRandom I understand the array... bit from Levi's point of view. I'll stick with $var[] for the simple stuff then, cheers. And when's voting open?
Also @PeeHaa love the [visited] bit next to cv-pls
@JosephPersie FYI your question subject matter is better suited to ServerFault, but I'm going to take a punt on saying that what you want here is a VPN.
anyone familiar with codeigniter?
@Jimbo 6 days, look at the top right of the election page for full timescale info.
11:23
@user1929491 I am
@DaveRandom I tried with no Firebug and nothing showed up in log, then installed Firebug and tried through it and still no logs
@DaveRandom its a brand new fresh profile, default everything so not sure what is going on
@crypticツ I'm just buggering about with it as we speak. I really hate mozilla for this, they really make debugging harder than it needs to be. I guess Chrome has just spoiled me.
@crypticツ i need some code for updating image path in database
@user1929491 $60/hr or pastebin me what you have tried
11:26
@Jimbo That's a dave feature :)
(tm)
@user1929491 a) That is not a question without a lot more context and b) StackOverflow is not a "write my code for me service". You need to show what you have tried and what isn't working. Or pay @crypticツ $60/hour.
(which would be a bargain)
£40 an hour? Sign me up!
I even write comments in my code! =oD
$row->img_path = $new_img_path
11:28
See, professional. Bargain.
$row->save();
60$ please
@crypticツ Comments like "// create new variable" and "// $_POST is POST data" are not allowed :P
@Jimbo darn =o(
@JosephPersie I like you
Feb 12 at 22:24, by ircmaxell
// this code is executed <-- most useless comment of the year
Exhausted all my downvotes for today ... that was fun :)
@DaveRandom using Firefox 19.0+build1-0ubuntu0.12.10.1 just in case there is a regression or something in this build. Using this repos ppa.launchpad.net/mozillateam/firefox-next/ubuntu quantal distro.
Ubuntu? Bah!
:-P
Fedora ftw
Xubuntu
I hate Gnome
Does anyone else in here run Ubuntu to test cv-pls in FF so I don't have to spin up a VM?
11:37
I'll test it, hold on
@Jimbo document all the things!!!111
/**
 * Returns the current time
 *
 * This function returns the current time
 *
 * @return integer The current time
 */
public function getCurrentTime()
{
    // assigns current time
    $currentTime   time();
    return $currentTime;
}
@Jimbo The specific problem is that [visited] labels don't have persistence, they disappear when you reload the page, I haven't been able to reproduce it yet
@Gordon LOL
@Gordon You forgot to assign it to a variable called $theCurrentTime before returning it
damn! forgot the =
too late for editing now :(
@Gordon make sure you put the method in a class called Current_Time and in a file called current_time.php just for clarity.
@Gordon Don't you also want a class and namespace for current time?
@crypticツ and namespace it accordingly
yes yes yes
you never know where people look for documentation
have to spread it all over the place
I live by the Torvalds mantra, the code is the documentation :)
@DaveRandom There aren't any "visited" links in FF
11:43
yea i know that.. here is the link stackoverflow.com/questions/15088246/…
can u help me now
@DaveRandom In fact, they don't appear - at all
@Jimbo ...and you are running 0.20.1 with the options enabled?
@DaveRandom Oops, 0.20.0... on sec
Can't see dev version on Github
11:45
@Jimbo That's cos it's now full release, but if you open he extension page, and right click->search for updates it should auto update
link anyway
@user1929491 why do you declare the $data array twice?
@DaveRandom Everything seems good - they persist fine after refresh
@user1929491 or is the 2nd one just to test out with?
Sooo much drama with moderator elections :))
@crypticツ i havnt edited code before posting sorry for that.. its jst by mistake
Anonymous
11:50
hmm..
@user1929491 please post the output of print_r($image_data);
Yea sure
@Jimbo good good. @crypticツ it looks like this is definitely a problem with your specific machine/FF install but I'd still like to know what it is in case it is detectable and there is an easy workaround. Being that you are on FF I can actually just store it in a setting instead but I'd rather not introduce too much platform-specific config/code if it can be avoided.
@DaveRandom aww, ok what else would you like me to try?
11:54
@crypticツ I'm just trying to find a reliable way to get FF to show the messages in the log
@Gordon why @BoltClock deleted all those comments?
@Jimbo @DaveRandom did the console messages show up?
@MihaiIorga Because they weren't needed
ok .. if you say so.
@crypticツ I have a few but I ignored them - "no element found", and "the connection to ... was interrupted while the page was loading"
Hmm
11:56
Deleting a flame to hide it.
@crypticツ He won't be getting them because that build was a special one just for you :-P
I'm not getting them in my FF either, I have a cunning plan though
@MihaiIorga Yes. That is correct. Because it was a flame. And by definition, not constructive.
@DaveRandom I didn't knew that all comments have to be positive on elections. This is like real life elections :))))
@crypticツ plz check i gave some print details

« first day (864 days earlier)      last day (4309 days later) »