« first day (742 days earlier)      last day (4432 days later) » 

00:00
lol
 
3 hours later…
02:40
hello
echo "";
@ucefkh You there?
Well I'm not!
echo 'Hey guys, anybody active here?';
02:59
hello
Hi, question: how do I set a timeout to a getdocument function?
@henrymb67 isn't that a javascript question?
erm no.
Let me give you an example of what I'm trying to say..
 
1 hour later…
04:12
Hey
Could anyone place the normal mysql comment here?
0
Q: PHP Mysql Query Troubleshooting

user1043610Novice PHP/Mysql user here... hoping someone can help me make this bit of code run a lot faster. Trying to do a simple calculation of football team's offensive and defensive averages for season-to-date... in ms excel this takes less than 10 seconds with sumifs. With the bit of code posted below...

0
Q: accessing php session variables on different pages

Beanno1116I have a sign-in form that calls a page called connect.php. That page connects to a user SQL database and uses the information to validate the login. Once the login is verified I store the word go into the session variable $_SESSION['user_ID']. After that I set the session variable I use to echo ...

Here too please
04:36
...You just put them there?
 
1 hour later…
06:12
hai
 
2 hours later…
08:17
morning
08:30
starting countdown! 994 to go til 100k
2
user1125394
08:46
@Gordon ok I'll review your answers :D
morning
@Gordon so you are allowed to answer duplicate and very localized question then close .... I'll keep that in mind
@Baba I'm not sure how to interpret that sentence?
@Baba if you think that question was too localized, then why didnt you closevote for it?
@Baba on a sidenote, there is no such things as "being allowed" or a fixed set of rules by which we answer questions. The existing Close Vote reasons are a heuristic at best. You cannot decide in a rule based manner from them (except for dupes maybe). It still has a lot to do with gut feeling, whether something is too localized or Not a Real Question.
09:26
Actually, this is why closevoting is a community effort. If it was rule based, we'd have automatons for that
@hakre .... what are help vampires ??
a bit lost
11:07
@Baba that are those folks that put in a question that is totally akward. Then they get some feedback and they continue to ask back akwardly over iterations until their "issue" is solved.
Oh i see .. then i should delete the answer
thanks
Yes, because they become trained to come back with their next "issue". Also they tell their friends how "helpful" this site here is.
or close the question
Best thing is to not give them any answer and to be sparse in comments. Like giving only some general advice so they don't get any more feeding.
@Baba don't take my comments to stackoverflow.com/questions/10368620/… personal please. I am really just adding them for the OP. Alex has asked a number of questions in the past which indicate she does not have a firm grip on OOP. She doesnt know when something is bad practise.
11:09
Also closing the question is good, too, yes. Like "Not a real question" in that case. It's obvious that the OP didn't do any kind of research here. How would basename on that URL work to get the filename? It can never work.
Apart from the question how do you know they are help vamps
@Gordon Its ok ...... i never take it personal .... thanks for clarification
@hakre i totally understand now
@hakre First, to identify a victim foolish enough to attempt to answer the impossible question .... lol
11:24
@Baba Read the question, it often becomes obvious. Also if it's not their first question, check their questions so far. A typical help vampire does not give any answers, only asks questions. Or the answers are of tremendous bad quality.
@hakre .... cool noted
Question, I'm using mtputty to login via ssh. Happens I forgot one of my passwords, but it has been saved inside mtputty. mtputty encrypts said password, but I don't know how and I can't waste time to figure out the encryption. Since I can connect to the server, how can I find the password? Note I cannot reset the password because some other people depend on it.
2
Q: What are the pre-requirements before setting up PHP connection to Oracle

DibyaI just started learning Oracle. I have Oracle 10g Expression Edition and 11g Enterprise Edition installed in my system. I can directly use oci_connect() method to fetch data from the data form tables created in Express Edition only. I am not able to fetch data form the tables that are created in ...

not so obvious example of a Help Vampire question. It sounds answerable from the question text, but the title already suggests that the OP could want someone else to do all the work for him. or be given a tutorial.
@christan
hi
11:39
@Baba the Vampire reveals itself in the comments to my answer
there is a xml file which stores all psw
@Gordon .... lol lol
@Saurabh They're encrypted. The funny part is that encrypted passwords look like base64
@Christian Find where the encrypted password is stored. I don't know mtputty, however, it might work as long as you have that file. So it would be equally to knowing the password.
@Gordon then this must be the DRACULA stackoverflow.com/questions/13077578/…
11:42
@hakre I can "export" the settings, problem is pw is still encrypted.
@Christian Why is that a problem?
I need the actual password, no?
@Christian Well if you can export the password, you should be able to import it as well, so you have the actual (encrypted) password and it works (or doesn't it?).
@Baba yeah, the question by itself is already sure sign of a help vampire. We have hundreds of these already. The OP just didnt bother to search.
@hakre I need the password to log into the control panel - hence why I need the actual unencrypted password.
11:43
@Christian Okay, the control panel can not import the exported password then.
@Gordon his last 3 comment where
I tried 5 passes on live data, and m6() actually seems slower than m1() (shown in my previous comment) and are both slower than my original as follows: Running [5] trials on method [Emo1 - original]... Elapsed time: 0.12484383583069 Running [5] trials on method [Baba6]... Elapsed time: 0.81396174430847 Perhaps that walk function is being created/destroyed each iteration and slowing things down?
@hakre Correct.
2
OK - it's looking like my benchmarking method is flawed. When I reversed the order that I test the algorithms, I get different results. Sorry about that. Something is slowing down the operations as the script runs, so disregard my trial results up to this point - I'm going to look into it further. Stay tuned. :) – Emo Mosley
3
So, using Baba's script, I added my original routine and ran 50 trials (instead of 2). I've confirmed that m6() is slightly faster: [m6] => 3.4863839149475 [Emo1] => 3.57093501091 However, I'm still trying to figure out why the sample trial data I have behaves differently, so I'm looking into it further.
@Gordon never satisfied
Hmm, I've got an idea.
@Baba If I first answered such question and then seeing the OP just keeping pinging the answer (asks more and more), I just delete my answer ;)
11:45
@Christian ttyplus.com/multi-tabbed-putty/faq.html says it's stored in %User Profile%\Application Data\TTYPlus\mtputty.xml but it doesnt say which encryption is used.
mtputty still needs putty processes it to run. It needs to pass on the password to the process, via cli.
@hakre good idea ... that is what i would start doing ...
YEAH! It works!
"C:\Program Files (x86)\PuTTY\putty.exe" host.com -ssh -pw XXXXXXXXXXX -l user
@Baba A good thing is, that if the question is some hours older, and you remove your answer then again some hours later, it will normally go into oblivion unanswered. The clean-up scripts will also pick such questions later on and remove them.
@Christian You can reveal that with a process monitor?
11:48
@hakre Yes. ProcessExplorer..
@Christian Well, fine then ;) Yeah, it's hard to do that in a secure fashion.
Which is kinda lame if you ask me...can't see the point behind the encryption..
But actually putty offers that, looks like mtputty folks didn't make use of that feature lucky for you.
@hakre interesting ... very interesting
@hakre There's an option to pass the password via the cli.
Again defeats the purpose of encryption.
11:49
@Christian ah okay.
@Christian I guess the encryption is used for disk storage. The commandline is only there if the computer is switched on (and not hibernated).
@hakre Dunno...if the file was stolen, it can be used by a different instance somewhere else.
@Christian Well the encryption could be related to another secret that is generated per installment. So it would not work with any installment.
But I do not know if that is the case.
@Baba But..but...it's a valid question! How do you post a variable from a <td/>?!
@hakre It's not the case.
11:53
@Christian hmm. Use a better password storage in the future. I suggest KeePass classic.
@Christian ok .. i"ll take one more look at it .....
If I like to learn to make sites like kde.org , is it better to study pure html+css+js or some CMS?
@hakre even better: KeePass Portable
@hakre Funny thing putty completely washed off their hands from this issue.
@Gordon Well you can have the classic edition portable. Just from the project website: keepass.info/download.html
11:55
You can tell putty to save every setting you want. Except the password.
At first, I was doing it with shortcut files; I wrote the password directly there. Bad practice, I know.
@Christian On windows I use WinSCP. It is able to store passwords and open a putty connection. So you can do file access (normally the case for webmastering) and have a remote shell at hand, too, when you need it.
The URL thing looks very interesting. I wonder if it's able to launch local files?
Huh, what does putty have to do with passwords?
For shell intensive work, there is also SecureCRT
@hakre putty connection? last I checked it was just a plain ssh terminal? (I use winscp as well, just not as much)
11:58
w00t!! I just found out VLC can output any video in colored ASCII mode. Awesome!
@Christian You can tell WinSCP where putty.exe is, then you can press a button and it opens putty and logs you in (if you like).
@Gordon lol
@Gordon Old joke, yes yes ;)
@Gordon may be you close VLC too often as duplicate ..... :)
@hakre I see. I think I'm going to try keepass...it looks pretty sweet.
12:03
@Christian there is also KeePassX. can open the same db files as KeePass
@Gordon Do you know if either of them allows launching a local file instead of a url?
@Christian i dont know what that means
@Gordon Well, it seems you can associate an entry with a URL, presumably so you can "launch" the website with user/pass filled in.
@hakre igbinary is not speed but memory optimized iirc
@Christian i've never tried to do that
Now, what I need more than that is to be able to launch a program instead (obviously assuming the program accepts the password as an argument).
well, it would be quite handy in some situations.
Plus, I dislike copying passwords around...
12:10
@Christian keepass would need to know how to supply u/p to individual websites or local commands. I dont think it can do that.
Hey is there a know exploit in preg_replace ??? that would make it run PHP CODE ??
@Baba /e.
@NikiC .... Interesting .. what does that do .. how does it work
I see preg_replace("/.*/e",
@NikiC speaking of /e … what was the final status of your suggested removal?
12:13
Well, we'll known when I'm there. Anyway, thanks everyone for the advice.
@NikiC thanks .....
@Gordon I was thinking about this problem a while ago.
@NikiC cool
What if PHP stopped the retarded eval() business and instead made use of a simple expression parser?
It's what most people want anyway.
12:15
@Christian You obviously have data to back up that claim, right? :P
@NikiC Sure I have. Me, me and me.
That's three people. :D
Because evaluating simple math expression is really not something you commonly do, but running generated code is a not particularly rare thing :)
@NickC how do you decode such packet .... was looking at stackoverflow.com/questions/13100009/… ... after 8 levels of gzuncompress(base64_decode it got me here codepad.viper-7.com/FPV3Dk
@NikiC Well, each time I really needed to use eval(), it was because of expression parsing requirements.
Though I suppose you could have a mechanism for plugging in functions or something.
user1125394
12:17
I'll show what another developper put for one of its view that was not IE compatible:

You are using Internet Explorer, a web browser which does not meet the standard of the Internet. <br />
This site is optimized for a large number of browsers such as Firefox <a href="http://www.mozilla.org/fr/firefox/fx/"> </ a> <br/>
or <a href="http://www.google.com/intl/fr/chrome/browser/"> google chrome </ a>. <br />
But (and most importantly) it wouldn't have PHP's functions enabled by default.
user1125394
this guy is either lazy or mad, where did he invent that IE doesn't meet Web standards
@cyril Easy way out for not fixing sloppy code.
@Baba just echo, removing the e-modifier: codepad.viper-7.com/BA7Bf8
user1125394
@Christian but this guy can't understand IE is >50% of market in our country
12:21
@hakre i did that .. just impressed that how it was crafted then i saw \x65\x76\x61\x6C\x28\x67\x7A\x69\x6E\x66\x6C\x61\x74\x65\x28\x62\x61\x73\x65\x36\‌​x34
It gave it away ...
@cyril IE has numerous bugs, just like any other. I have yet to write code which doesn't work in a particular browser because "it does it differently"
Except when it comes to floats. That stuff is unintuitive magical positioning in my eyes. No wonder most browsers disagree on the end result.
@hakre ..... thanks anyway
12:23
@PeeHaa "decrypt"....
@hakre my anti virus was just popping up left and right .. after final decode ...
@Baba sounds like you made it ;) However, that antivirus needs some training to not pop up at the beginning ;)
@hakre .... lol .... it was trying to download some files to my system
12:29
@Baba that's what it is for ;)
@hakre .. you are right .... :)
@Baba Why are you running malicious code?
@PeeHaa was doing a little research to see how i can prevent such
Actually some found it on their server stackoverflow.com/questions/13100009/…
@Baba Ah. Old wordpress installations. Gotta love those
@PeeHaa it as well crafted and really messed up
12:32
@Baba What is well crafted? That "hack"?
yes ......
Yay triple ping :P
stackoverflow.com/questions/13099990/… because the "situation" is errrm, weird. But @hakre might want to suggest igbinary nonetheless.
@Baba They are mostly all the same.
@PeeHaa this one is cute
Download Files , Burute force FTP password
Scan and steal files
It even actionSelfRemove() after its done
can you beat that
lol
12:36
@Baba Sure I can beat that ;) I can make one that at least tries to not be detected ;)
Hi, What is baba
Then again. How many people have intrusion detection and other protection for strange things happening on their (shared) server :P
@PeeHaa you are right but the self actionSelfRemove sounds cool
Hi, PeeHaa i am new to stackoverflow chat...
12:38
@lucianie Welcome
@Baba :)
yas
*yes
@Peehaa its not 100% PHP
it also uses PERL
13:04
How do you search for questions from either or ?
(OR between them)
hello
user1125394
@MadaraUchiha open 2 tabs :D
user1125394
'or', good to know thx
user1125394
13:21
are input type='date' & 'time' working in your browser ? jsfiddle.net/P9MZx
user1125394
it seems time works for Chrome >= 23
user1125394
and date for Chrome >= 22
13:41
does anyone knows how t add color to line in a file
@Gordon I left some answer there. Dunno if that is really fitting, I suggested var_export as another alternative now.
morning ...
@jhonraymos you mean delv not dv. dv is downvote and is discouraged because it feels like ganging up to many people.
ohh sry
it was mistake
13:51
@jhonraymos yeah, no problem
@Gordon :)
@jhonraymos Also if you believe that question is bad enough to down/close/del vote, why did you answer it?
@Gordon i was trying to just help OP .So that He can get some idea about the problem
@jhonraymos that's risky with such questions because it can educate users that it's okay to not even search.
those users than ask one bad question after the other.
14:08
-1
A: transparent pixel renders different on PC and iPhone

Madara UchihaThere should be a very special reason you're not just using: background: rgba(255,255,255,0.6); Or something similar. (That's not a comment, use rgba.)

Is there something I missed here causing people to downvote it?
Is it possible to prevent the browser from doing If-Modified-Since requests for resources that have Cache-Control max-age set?
@MadaraUchiha dunno, but apparently the OP is trying to use a transparent PNG in IE, which is a dupe
(I add a "version" query string to the URLs of my resources (based on their "last modified" value), so there's really no need to do If-Modified-Since requests...)
@Gordon He corrected himself and said IE7.
This is not solution. I need png pixel. — Radio 2 mins ago
I give up.
14:16
@MadaraUchiha Help Vampire OP
stackoverflow.com/q/13100847/871050 Too localized please. Not as a duplicate
Is this a good method of creating a new log file daily,
When someone calls the function writeTolog , the function checks whether the log file opened matches the current date or not, if not it creates a new file and writes to it
@meWantToLearn If you're writing to a file (you could write to a database), have a look at il.php.net/manual/en/function.fopen.php, especially the w flag.
3 mins ago, by Madara Uchiha
http://stackoverflow.com/q/13100847/871050 Too localized please. Not as a duplicate
Please fast... ^
That guy, OMG. Hehe. I love to place such answers then. ;)
@MadaraUchiha Voted - since he seems to be fixated on the fact that RGBa does not work in stupid browsers that nobody should be using any more anyway, why not suggest a combination of background-color:, opacity: and filter: which can be done in such a way that it should work anywhere - even IE5.
14:26
Well, the truth might be that there is some color profile inside the PNG which is reflected by some browsers and not by others.
But apparently the OP was just moaning.
Striping the color profile out of the PNG normally does the job. IE6 and onwards.
the other alternative is to use a GIF IIRC.
anyone wants to bet he will ask the same question again
Yes but if the objective is just to apply a flat translucent white mask, the image approach is doing it wrong.
@Gordon I'll bet you -£5
@Gordon Then keep the original question undeleted. Just with the DV's. Next time this pops up, we close against the original one.
@hakre ...and dv the new one but don't delete it.
@hakre Exactly. @Gordon
14:29
@DaveRandom Well that sounds tooo easy, right? :)
He edited it.
-7
Q: transparent pixel renders different on PC and iPhone

RadioGenerated transparent pixel in Photoshop. On PC it looks like expected, on iPhone it looks darker. http://jsfiddle.net/QMrLB/ div { background-image: url('/images/pixel-white.png'); } Browsers: PC - Chrome version 22.0.1229.96 m iPhone - 21.0.1180.82 Pixel: PNG-24 / Transparency layer...

stackoverflow.com/questions/13101026/… He shouldn't have deleted that question based on my comment.
why does he need a pixel for that anyway? that's a div with opacity
@Gordon background opacity* and yes, he really shouldn't use a pixel for that.
@MadaraUchiha Interestingly it looks like the OP has already seen that dupe - he commented on the accepted answer 3 weeks ago, but make no mention of it in his question...

« first day (742 days earlier)      last day (4432 days later) »