« first day (810 days earlier)      last day (4143 days later) » 

12:00 AM
@PeeHaa I have to wonder why php is the most populated channel when it's definitely not the most asked question type on SO.. interesting
 
It's a known fact that active chatrooms generally get more traffic. I'd probably hang out in CSS chat room more often if others did.
 
^ what happens when I'm away
 
@ShaquinTrifonoff Hello
 
@MirwaisMaarij hi
 
@ShaquinTrifonoff Whats up?:)
 
12:17 AM
@MirwaisMaarij Right now, I'm browsing online shops for keyboards & mice :)
lol
 
@ShaquinTrifonoff :p
@ShaquinTrifonoff If you gonna get a keybaord, get them flexable ones hehe
lol
 
am I the only person who did not know about this?
 
lol I think maybe yes
 
I tried really hard to find it... damnit
 
0
Q: Weird z-index with rotate-y in safari but not in chrome and firefox

Mike BoutinI got this problem and i did a lot of try to get it worked... Look at my http://jsfiddle.net/9LjB6/ I... change position relative to absolute change the z-index to be 1000, 1000000, etc... tried to change it with jquery tried to put it inline in the tag but it didn't work. My action when mouse...

If anyone can help its really apprecied
double +1
 
12:32 AM
@igorw yes :P
though I have to say that they hid it very well ^^
 
it used to be a link called "instructions on how to merge", way back in the good old days.
 
@MikeBoutin I have had issues with jQ and -webkit-*, -moz-* etc properties. Try using .attr('style', cssStr) to set an inline style attribute instead of using the el.style object.
 
Nite all
 
@PeeHaa Nita nita
:-P
 
:)
 
12:36 AM
:-P
Never new people actually used that face anymore
/me test
aww :P
I wanted to join the android room inaddition to this one, but alas
they are request to join only -.-
 
@VoidWhisperer Somebody audits the requests very regularly, but they can be quite harsh, they don't just let anyone in, they'll look at your question/chat history and basically make sure aren't a help vampire.
 
>.> I've h elped people where applicable, and also asked for help in problems i can't solve myself
So not exactly a help vampire
 
No I'm not suggesting you are, just saying that they don't let everyone in. Also it's an idea to stay in the room because I've seen them reject requests on the grounds that the user is not in the room. They are a decent bunch in general though, they just try and keep the idiots out.
 
Well I'm not an idiot.. >.> lol
@DaveRandom random question - do you actually use the android emulator to debug stuff or do you use something else? It's laggy as all hell imo
 
> Your search did not match any documents. >:)
Not quite ^
 
12:50 AM
@VoidWhisperer I have never actually written anything for Android. I'm really not entirely sure how I ended up with access to the room, I think there was a stupid flagging episode/debate. Having said that - is the emulator maybe made artificially slower? Is it tunable? Because I know my PC is way faster than the average Android phone - I'd have though they'd add artificial lag that you could control to make is closer to the real platform.
 
@DaveRandom It's artificially slower because they force it to emulate a ARM processor and a gpu
:/
which obviously is a really stupid idea
 
Well can't you sub the gpu out to your gfx card?
 
no, atleast not in the emulator
intel has built a x86 version of the emulator i might both to use
 
idk I've never actually used it or even had cause to need one, it seems a little odd though that an emulator would be slower than the real thing in that scenario.
 
well it IS trying to replicate a ARM processor in software
which is never a good idea
 
12:53 AM
FFS
I really, seriously hate this computer
brb
Right, apparently my laptop has decided it no longer likes the battery and is refusing to boot, and I cba sitting on this uncomfortable chair at this wobbly desk so I'm going to bed
nite all
 
user1125394
@igorw nice and could mention erlang
 
@ShaquinTrifonoff Have you got the chat system to stop repeating itself?
 
@cyril it could also mention ruby and python :)
and java, and vert.x
 
user1125394
1:09 AM
ruby and python are not much sexier than php finally
 
user1125394
vert.x ~ nodejs?
 
afaik vert.x is an async platform based on java with front-ends in a number of languages
not quite sure how it works
 
user1125394
> Vert.x will do the magic to ensure
 
user1125394
I never like this
 
@MirwaisMaarij Not yet... I'm thinking about starting again with Server Sent Events (SSE).
 
user1125394
1:50 AM
vertx.createHttpServer().requestHandler { request -> println “hello world”}.listen(8080,”localhost”)
 
user1125394
for the people who don't like chaining (groovy)
 
@LeviMorrison I think Salathe took care of it - thanks anyway :)
 
 
2 hours later…
3:51 AM
>php -r "eval('var_dump(__FILE__);');"
 
nice, found in the tests?
 
no, while debugging an issue with file paths (which are now working in my local copy)
 
4:42 AM
Hi all, could someone out here help with this stackoverflow.com/questions/14116533/… please:
 
Woot! got support for debug_backtrace working :-D
 
4:57 AM
hi
 
5:08 AM
nobody in this room I guess
 
5:25 AM
@CheJug Hi
 
hi @sravan
I'm having big issue with this stackoverflow.com/questions/14116533/… .
 
@CheJug I have a doubt in Php mysql can i ask
 
sure
 
I am from Android not in Php
 
ok
 
5:27 AM
i have a table which conatins data with some other language like Hindi and telugu , i want to import that data in MySql
how can i import that file
u there ?
 
Do you have it in a file?
 
I have that file as a .sql
means filename.sql ( exported sql file )
 
do you have a database name already set?
 
yes , I am able to import data base , but i am unable to view that data instead of Hindi font i am getting as ?????
like that i am getting
 
then you need to edit that data file before you import it to database
open filename.sql with notepad or anything else
then change the CHARSET to utf-8
it should look like this:
 
5:34 AM
where i have to change charset to UTF-8
 
ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=2008 ;
in your filename.sql
Do you have a notepad?
 
ok i will try
 
Change it to utf8_general_ci
 
I am unable to find utf8_general_ci option
 
are you using phpmyadmin?
 
5:40 AM
yes
 
don't import your file to your database until you change CHARSET in your file
you can paste some of your code here pastebin.com and I can look at it if you want
 
@CheJug do u have team viewer , so i can share ur screen
 
nop
use this pastebin.com
 
i can share my screen
 
I don't have anything like that
sorry
 
5:44 AM
@CheJug ok
 
like I said use pastebin.com
 
its not code i have sql file
 
just paste it there and send me the link
 
if u have skype i will share my screen
 
I can't do that
 
5:51 AM
ok
 
I gave an option if you are looking for help
you can't paste you full code/file text here
copy paste to pastebin.com
 
morning
@sravankumar dont use mysql_* function there are deprecated in php 5.5 and above
 
i am getting response like that
wat i have to use
?
 
use PDo
 
5:55 AM
po means
PDO means
 
you did not change charset to utf8_general_ci
 
i am unable to find that option
 
you imported filename.sql to database! Do you insert data into your database?
Do you have a form in your page?
 
So when you look at you database you see ???????????????? like this?
 
6:01 AM
@sravankumar check this answer to know hwy not use mysql_* and how to use pdo
 
ok
if u dont mine can u give modified code
 
nothing is wrong with your code
 
mens change tp PDO
 
your database can't read those kind of letters
PDO is safe
 
6:04 AM
@CheJug which question or post are you guys pointing at ?
 
@NullPointer He is having hard time reading hindu
 
@CheJug ahh .. its about post on so
 
@sravan you still there?
 
yes
i dont know any thing about Php , just I started to learn php from last 3 days
so i want some time to implement that
 
Just post some of your filename.sql and I help you change it.
if the data in your database already look like ?????????????????? then you only echo ????????????????
 
6:14 AM
@sravankumar last 3 years ...
?
i cant not believe that ..
it takes 20 days to learn basic and 20 days for oops and 1 year for pratice
 
i have idea in c, c++, java , j2ee , Android
so i think its not hard to me
 
Ello :)
 
@sravankumar ohhh.. timing is same ...
oops time can be reduced to 5 days
 
EHLO @user1914940
 
6:23 AM
@sravankumar have you fixed your filename.sql?
 
no
if u want i will send that sql file
 
jsut paste it in pastebin.com
 
how u will import that db file ?
 
open it first then copy/paste it
 
6:30 AM
@sravankumar This seemed related -> stackoverflow.com/questions/8453998/…
 
@ShyamK where i have to change this
 
@sravankumar try it like this CREATE TABLE sravan(
qid integer,
question text,
opt1 text,
opt2 text ,
opt3 text ,
ans integer,
lid integer ,
sid integer)ENGINE=MyISAM DEFAULT CHARSET=utf8_generale_ci AUTO_INCREMENT=2008;
 
^ that way will also do
 
ok i try
 
What do you think will be the server-language of the future?
 
6:35 AM
you can just set AUTO_INCREMENT=1; it doesn't matter
Scottlish
 
@CheJug I am getting Error like below #1115 - Unknown character set: 'utf8_generale_ci'
 
1-Go back to your database and drop your table. 2- Click on your database and on the right side on top select operations- 3 at the bottom change or somewhere change Collation to "utf8_generale_ci" the click on your table again then select SQL and paste this code there pastebin.com/RhCA9qNF
 
export database and open in notepad++ replace all utf8_generale_ci manually would be simplest solution
 
6:50 AM
@Null
@NullPointer I've tried to tell him that, and he said he couldn't find it
 
7:08 AM
Hi, Does any one know about how to convert amazon scratch pad feeds and url to curl request.
I did it for order, but for submit feeds there is an xml, and the api always return does not match signature.
 
What is wrong with this query, it doesnt work...

"INSERT INTO complaints (id,date,account,product,contract,text) VALUES ('','$date','$dropBox1','$dropBox2','$dropBox3','$text')"
 
@user1914940 Are there quotes in the input?
 
What's the relevant code?
 
What do you mean, sorry?
 
7:16 AM
How are you querying the database? With what code?
 
I just want to insert what users select and write in database
 
@sravankumar how is it going?
 
Anyone here? :)
 
8:06 AM
mornings
 
hello;-)
 
user652649
morning
 
morning
 
morning
 
lolx morning
its noon here
pee ache pee ache pee ache pee ache pee :p
 
8:22 AM
@CheJug I paused that work
@CheJug thanks for ur help
 
@wes is your name Wesley?
 
user652649
no, just a nickname. why you ask?
 
coz some people named wesley use wes as nickname
Any questions?
 
user652649
you are right, wes is short for wesley, but it is not my name
 
lolx its mine
 
8:26 AM
does any one know about amazon submitfeed
 
@abdulwakee idk
 
user652649
ntmu wesley xD i picked "wes" from the limp bizkit's guitarist Wes[ley] Borland
 
idk?
I can connect to amazon, and fetch order.
 
user652649
idk = i don't know
 
but when I use submitFeed, and send some xml along with the request. its not working
ok
 
8:29 AM
@wes I thought you were impressed of me and used it as nick
 
user652649
someone knows a good tutorial about paypal's integration with php... sandboxing etc? the official documentation is a colossal pain
 
user652649
do you play guitar? no? then i'm not impressed at all xD
 
@levi pingel
 
@wes yesh i play but everyone says stop it stop it or runs away idk y?
 
@NullPointer good noon
 
user652649
@vascowhite you can't in a "safe way", you can only test and guess the best pattern
 
@RomanticElectron good noon you too
 
It's not my question, I want it closed.
 
user652649
oh ok... and it is your personal crusade? i think it is a legitimate question
 
8:37 AM
@PeeHaa pingel mingle morning
 
@vascowhite i agree with wes
 
@NullPointer jo :)
 
user652649
@RomanticElectron i agree with both wes-es too xD
 
I'm asking for close votes, not a discussion on the question :)
 
8:39 AM
Mornings
 
I cant close i m sorrie
 
@DaveRandom morning ... :)
 
@vascowhite again :-\
 
@vascowhite Why?
 
8:40 AM
@vascowhite i v already gone through that twice
 
user652649
i don't get why should be closed
 
user652649
because it is an old question?
 
@wes Its a dupe
 
@vascowhite Why don't you close the other one
 
@vascowhite Of? And is the dupe older? I prefer not to close as dupes of newer questions if poss...
 
8:42 AM
Jeez I'm sorry I asked.
 
:-P
 
forget it
 
lol
 
user652649
lol
 
8:42 AM
loly
 
lolly pop
 
@DaveRandom Hey there :) May I ask something?
 
I think I linked the wrong q :/ lol
 
I'm having the strangest issue with a wordpress page that I am pulling my hair out over...
 
@user1914940 You may. In fact you just did. If you're really nice I might even let you ask something else as well...
 
user652649
user19NNNNNNN you're welcome for me
 
:-P
 
@vascowhite again
 
@vascowhite what are you doin?
 
8:44 AM
hangover
 
@DaveRandom Thanks :) Hopefully Im not too annoying...I just created a new table in my db where I store my values then, the only thing missing now is that it saves value instead of name.
 
dont ask to close gist here ... its really ..... lolwt
 
@vascowhite There ya go, that's the badger :-)
@user1914940 Yeh so are you still getting the key instead of the name sent back?
 
@user1914940 value instead of name?
 
it was my 50th yesterday and my friends threw a surprise party, so I'm a bit worse for wear today. Sorry.
 
8:45 AM
I'm doing a Delete query and then an insert query in a for loop and if I use a _POST var as the count in the for loop it doesn't insert, if I replace it with a number it works.
 
0
Q: Why is this not changing the class of the table in my row?

Ben JonesI can see the html table generated, but the rows are not highlighting based on the CSS clas I have defined called "match"? My goal is to highlight each row that satisfies the match condition, as defined in the SQL query. I think the error has something to do with the variable match being defined ...

 
but the _POST var is a number and it runs the loop
 
@user1914940 In fact, that's a good thing (as discussed yesterday) and you can still insert the name into the DB based on the key if you want, in a single query, just use a sub query like:
 
can someone help me out?
 
user652649
@benJones i don't know PDO but seems that you didn't actually fetched the row $record = $result->fetchxxxx();
 
8:48 AM
INSERT INTO newtable
  (date, product_name)
VALUES
  ($dateFromUser, (SELECT Short FROM products WHERE Key = $keyOfProduct))
@user1914940 ^^
 
Thanks, let me try :)
 
@wes woops. how could I do this while utilizing the fetch obj?
I've been all over the map with suggestions on different ways to do this...
 
user652649
@BenJones oh no ok i'm sorry you are using foreach. my bad. try var_dump() to the row
 
@BenJones $row = $stmt->fetch(PDO::FETCH_OBJECT)
 
@wes var_damp() how would I go about changing the rows for the table where they satisfy that condition in the SQL?
 
8:49 AM
You can set the class that will be used to instantiate the object with setAttribute()
 
user652649
@DaveRandom hes using foreach() that implements Traversable then fetching is not needed
 
Otherwise you get a stdClass
 
how do I et the class that will be used to instantiate the object with setAttribute()?
* set the class that will be used to instantiate the object with setAttribute()
Here's the script:
 
@DaveRandom Ok, where do I get $keyOfProduct?
 
<?php
require_once 'config.php';

$dbh = new PDO($dsn, $dbuser, $dbpass);

$dbh->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$dbh->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);

$result = $dbh->query("
    SELECT a_aif.aif_id,
      a_aif.fee_source_id,
      a_aif.company_name_per_sedar,
      a_aif.document_filing_date,
      IF (a_aif_remaining.aif_id IS NULL, 0, 1) `match`
    FROM  a_aif
      LEFT JOIN a_aif_remaining
        ON a_aif_remaining.aif_id = a_aif.aif_id
    ORDER BY aif_id DESC");
 
user652649
8:51 AM
I pass sorry I don't use PDO, mysqli here xD
 
@DaveRandom that is really much easier eh? $row = $stmt->fetch(PDO::FETCH_OBJECT)
 
user652649
in this actual chat is there a way to auto-complete the nick, like in mirc (Ctrl+Enter) ?
 
@wes dont pass sorry ...lol
 
OK so before you create the statement object, you do $db->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_OBJECT); $db->setAttribute(PDO::ATTR_STATEMENT_CLASS, 'NameOfClass');
 
@wes Start typing with @ then complete with tab
 
user652649
8:53 AM
what @NullPointer
 
@user1914940 It's the value you got from $_POST, the key you are echoing (where you say you want the name, but it's not required if you do that ^^)
 
user652649
thanks @vascowhite
 
@wes no problem
 
user652649
brb
 
is anyone here pretty experienced with wordpress?
 
8:55 AM
@DaveRandom was that directed at me? that was a little over my head...
 
Okay, can someone please translate this one for me?
@Charles Thanks s lot your comment is most accurate and very informative and helpful. I actually wanted exactly this. I must accept your answer if you paste it as answer. — Nirob Hasan 1 min ago
Now, great comment, right?
 
@DaveRandom Aha I see, but when I use this:
$qr = mysql_query("INSERT INTO `complaints` VALUES ('','$date','$dropBox1','(SELECT Short FROM product WHERE Key = $dropBox2)','$dropBox3','$text')") or die(mysql_error());

I get (SELECT Short FROM product WHERE Key = 0203) stored in my db
 
All I posted was an SQL injection notice that didn't even attempt to touch the question.
 
@DaveRandom but thanks for trying to explain this question: stackoverflow.com/q/14135361/1788087
 
So either the user is confused or I am confused, and I wouldn't count out both of these.
 
8:56 AM
@wes You should learn PDO, it has a much nicer API IMHO and I know I'm not alone on that. It does have limitations in terms of what you can do, but most of the stuff that's missing is stuff that no-one ever uses anyway (like multi-query) - the biggest problem it has is that you can't set the connection charset after you have connected (unless you SET NAMES, which you shouldn't)
@BenJones Which part? The PDO comment was but the $_POST one wasn't
 
@Charles haha
 
@DaveRandom PDO Comment
 
hello guys, may I ask you some questions regarding to being a freelancer?
 
@user1914940 Remove the quotes from around the inner query, you don't want to store the statement in a string, you want to execute the statement ;-)
 
@TemporaryNickName what's the question?
 
8:58 AM
@Charles lol
 
@DaveRandom Ohh :) You mean the quotes around (SELECT Short FROM product WHERE Key = $dropBox2)?
 
@DaveRandom this part "$db->setAttribute(PDO::ATTR_STATEMENT_CLASS, 'NameOfClass');"
 
I've been surfing on the website freelancer.com but most of freelancers on that website seemed like they are in a team of many people
is it possible for 1 person to be a freelancer and score many jobs?
 

« first day (810 days earlier)      last day (4143 days later) »