« first day (1072 days earlier)      last day (3892 days later) » 

11:00 PM
@JohnBlythe :-S What line of you code causes the error? (i.e. what PHPExcel method did you call with what args?)
 
@DaveRandom what's going to happen if I tell it to send the email through GMail? Does it make any difference?
 
i run win XP, but ram is only 256 MB, 1.7 GHz, about 2 GB free space only :(
I code in VB.NET and PHP but 1st i do experiment in VB6 :)
 
@MadaraUchiha Oh yeh you want to send it via Gmail, you don't have a public relay unless you want to set one up, which I don't recommend because it's stupidly complex
 
@DaveRandom k
 
Actually it's not that complex but it's still a total pita
I personally have better things to do with my life
 
11:02 PM
btw, u guys are really programming "gods", just by looking at half code u can tell the programming language :|
 
@NokImchen Where do you live? I have junker PCs that I would happily give you that are better than that... (not a lot, but still better)
 
@DaveRandom i stay far away from u..... India :|
 
@DaveRandom did you get it?
 
@DaveRandom use your old PC for mining bitcoins :P
 
@NokImchen I've had the distinct displeasure of writing a lot of VB recently, so it was immediately obvious. Also there are very few languages that tend to be written in TitleCase
 
11:04 PM
:11943471" distinct displeasure " lol
 
@MadaraUchiha Yo Dorg, I got yo email
I cba making a proper xibit meme
 
@DaveRandom Awesome, thanks for your help
So from now on I'm signing up to different sites with different emails :D
a luxury I didn't have before
 
@DaveRandom
@DaveRandom i was wrong, it's actually in the core/security.php file (codeigniter)
this line: `$str = preg_replace("/<(\/?[^><]+?)([^A-Za-z<>\-])(.*?)(".implode('|', $attribs).")(.*?)([\s><])([><]*)/i", '<$1 $3$5$6$7', $str, -1, $count);
 
@MadaraUchiha Now you just need to register a thousand more domains and change you name to @webarto and your conquering of the world will be complete!!!! buahahahahahahhahahaha!!!!!1
 
@DaveRandom Why do I need a thousand more domains for that?
 
11:07 PM
@DaveRandom Mind if i bug you with another question? ;3
 
@JohnBlythe I believe the term is "jesus". Umm... just what exactly is in that $attribs array? That looks an awful lot like HTML/regex to me...
@MadaraUchiha @webarto is a domain camping fiend, he registers domains just for something to do
 
@DaveRandom that seems like a huge waste of money
 
That's when he's not running his porn empire or shooting random passers by with his AK47
 
@DaveRandom tell me if feasible: when receiving mail into (.+)@domain.com give it a GMail label of $1, whether or not it was explicitly created before
 
@VoidWhisperer Depends what it is... only one way to find out I suppose ;-)
 
11:09 PM
I'm trying to get the most recently edited file in a directory
d:
I could probably find half of these out by googling but bothering you with them is more fun :D
 
@MadaraUchiha Good question, don't know. Almost certainly possible via an API, not sure if through the UI.
 
How do you manage it?
Create a label for each? Or do you have some magical way?
 
actually
Scratch that idea
I just realized since i'm only tailing the file it shouldn't matter if i have 1 large file
or multiple small files
and 1 large file is much easier in my case
 
night all
 
Bye @PeeHaa
damnit valve
Why do you lie to me e.e
 
11:15 PM
@DaveRandom will have to look into it, it's part of the codeigniter core and i've not had to deal with the file (security.php) before so i'm not 100% on how when where it gets called and used. thanks for talking thorugh things, will investigate some more and may come back. best-
 
@MadaraUchiha Well, tbh I have yet to really have an issue. I've given out sitloads of addresses but I rarely get mails to any of them. The majority I get a couple of signup emails and nothing, for sites I just need a throwaway I have a "probably junk" label, and for anything that starts accumulating spam I just set up an auto delete rule.
 
I see
Alright, so I'll go with the same approach, and only do something once it starts to be problematic :P
 
sv_log_onefile : 0 : , "a" : Log server information to only one file.
set that to one, and yet
still logging in multiple files.. Damnit valve
 
@JohnBlythe Well it's not my area tbh (frameworks) but I see a lot of people slate CI, and seeing something like that in the core code makes me understand why. I'm aware you're probably not in a position to drop it and move to something else but that kind of thing is scary, especially in something that claims to be "security" related...
If you want to patch up CI core, try and work out exactly what the expr is supposed to be doing and re-implement it with DOM
@VoidWhisperer Are you still requiring the "last 50 lines" thing at the moment then?
 
no
I'm trying to get these damn server variables to work first e.e
 
11:19 PM
@MadaraUchiha I'd be surprised if what you suggested is not possible via some API or other, could be done with a cron job (assuming that it is)
 
@DaveRandom probably
2
Q: How can I manage Gmail labels using Google API?

AlexanderI'm creating an aplication in GAE that uses the Google API. I need to manage the labels in a Gmail account, but I can't find an API that allows me to do the regular CRUD (create, delete and consult).

 
Humm. Added to the very very long list of things I could do but will probably never get around to.
 
@DaveRandom :P
 
Well if i'm going to do this purely linux then i found an easier way to do this xD
 
...and on that note I'm going to do take a shower and go to bed
@VoidWhisperer sed?
 
11:23 PM
ls -Art | tail -n 1 in popen
gets the most recent file in the directory
 
Oh well that's pretty easy to do anyway
Right, I actually am going to go to bed
nite @all
 
Now i just need to learn how popen works.. yayyyy...
 
11:36 PM
if I set a foreign key in one table referencing a column of another table, does it work both ways if I delete with CASCADE set on delete, or in which direction?
 
anyone know how to specify the directory for popen?
 
I'm using CentOS 6.4 and just installed the Netbeans IDE. I'm using nginx, but I can't figure out how to make Netbeans work with the nginx user. I cannot copy anything from the directory where nginx is (/usr/share/nginx/html), because it belongs to nginx:nginx... If I want to use Netbeans correctly, it will need the owner to be root:root, but that way Nginx wouldn't work
Long story short - Netbeans is not copying files that have nginx:nginx rights. Nginx cannot work with root:root files.
 
@VoidWhisperer does this help? stackoverflow.com/questions/8567937/…
 
Warning: chdir(): Permission denied (errno 13)
becuase they aren't owned by the same user
lol
 
how can I bypass this
I want to work on this project, using Nginx
and Netbeans would only work with root:root
 
11:45 PM
@CvetomirLazarov you usually create a group 'www-data' add Nginx and whoever owns the files in the project you're editing to the www-data group.
or just copy the files and then chown them.
 
@CvetomirLazarov why does netbeans require root privileges ?
 
i have 2 classes of checkboxes with 2 different names. The first checkbox class name is : list and the second is : type. I pass the values of the checkboxes to php by an onclick function. I am able to get the :
if(isset($_POST['list'])) && (isset($_POST['type'])) {
foreach ($_POST['list'] as $list ) {
echo "The list is : $list<br />";
}
foreach ($_POST['type'] as $type){
echo "the TYPE is : $type<br />";
}
}

how can i use these values to search in mysql ?? I want to be able to use both the values to search ?
 
@JoeWatkins I don't know, really.. It's just that I can read/write files which has nginx:nginx, but can't copy them via Netbeans
if they have the root:root privileges, it works just fine for Netbeans
but not for Nginx, because it requires its special permissions
 
@CvetomirLazarov you shouldn't need root privileges to run an IDE, add yourself to the group that nginx is in and then restart netbeans ... how are you starting netbeans and how did you install it ?
 
I downloaded an rpm package
 
11:50 PM
if root:root permissions allow you to edit the files then you are running the ide as root, which doesn't seem right ...
where was the rpm from ?
 
netbeans.org
 
I can't install that, silly dependencies...
 
maybe uses ports that require root...
see if you can find starter script ... maybe it does sudo/gksudo ...
 
maybe it does, I have no idea
okay
but.. wai
wait*
if it uses root
then why can't it copy a file which uses nginx:nginx
root rules them all, doesn't it?
 
11:55 PM
yeah ... not sure what is occuring to be honest, best guess it starts as you, gksudo/sudo's to get root privileges to open ports and while normal operations occur under your uid which is not in web group ...
total guess ...
 
what is the default configuration for the user that I am logged in with
user:user
?
where user = the username
 
it's user:group, a user can have multiple groups
 
yeah, but what is it by default
 
Hey .. how can i get help in this room ??
 
well it depends on setup, but normally group/user share name ...
@user2742581 ask a question ...
 
11:58 PM
I have a basic question .. will somebody please look into my issue ?
thanks Joe !!

i have 2 classes of checkboxes with 2 different names. The first checkbox class name is : list and the second is : type. I pass the values of the checkboxes to php by an onclick function. I am able to get the :
if(isset($_POST['list'])) && (isset($_POST['type'])) {
foreach ($_POST['list'] as $list ) {
echo "The list is : $list<br />";
}
foreach ($_POST['type'] as $type){
echo "the TYPE is : $type<br />";
}
}

how can i use these values to search in mysql ?? I want to be able to use both the values to search ?
I am having a hard time understand the explode
i am unable to understand how to use it in this scenario
 
there is no good answer; I don't see a use of explode, I have no idea of the format of your database, what kind of query you want to execute ...
 

« first day (1072 days earlier)      last day (3892 days later) »