« first day (985 days earlier)      last day (3957 days later) » 

1:00 PM
Mildly nsfw (cussing)
 
screen_x => screen_x_0 + game_x * screen_dx
 
someone answer my question about jquery stackoverflow.com/questions/17343824/…
 
@JanDvorak can i use the same coordinates as that of array to move my cursor?
 
@Suja 0,1 on the screen would probably a border, and skipping 0,1 in the model would be wasteful
so, it's best to not use the same coordinates for both
where "model" = "your 3x3 array"
so, you should be recomputing between screen coordinates (cursor position) and board coordinates (array access)
 
@JanDvorak in that case, i may have to make a lot of comparisions, manually to check if the array elment is empty and can be filled, right??
 
1:07 PM
for the board-space => screen-space conversion, no bounds checking is neccessary
 
@Neil that is a response to the video
he doesn't even swear
 
for reacting to key presses, you'd need to apply some logic if the move attempted is a valid one
if not, you ignore the input
(moving the cursor off the board, placing a stone where there is already one)
 
Oops
 
moving the cursor => redraw; placing a stone => apply game logic and redraw
 
lol
 
1:10 PM
Well maybe that wasn't a reference, but the voice in my head read it with her voice
 
We0
Hey Guys
 
@JanDvorak okay got it :)
 
We0
quick question
I am having the weirdest problem
 
@We0 Blue. Quick answer.
 
your clock is ticking, @We0
 
We0
1:10 PM
So I am ajaxing in json with html in it
is set it into a divc
and it gets displayed
there is also a pagination ul/li in
but for some reason my styles arent loading
 
You're...ajaxing. in json. with html in it.
 
@We0 You're receiving.
 
We0
Yes
receiving
 
@We0 how are you applying the styles?
 
We0
html appears fine
just the styles arent being applied
 
1:12 PM
@rlemon lol I saw that
 
We0
how do I apply them?
 
the 2 clock pens.. wtf?
 
if it's via CSS rules, check the paths are correct and that there's nothing overriding them
 
We0
I checked them against another page that doesnt use the ajax yet
 
if it's via javascript, you'll need to rerun the respective function
 
1:13 PM
my lighting is gone even lol
 
We0
where it works
same html paths
 
Crap ... gotta trim my hair, I'm starting to look like a hippy ...
 
We0
but mine fails
 
@We0 fiddle please
 
We0
Its really big :(
will try to fiddle
brb
 
1:14 PM
@We0 check the element's view in the debugger
 
Don't add everything into the fiddle, learn to abstract.
Just the most relevant part.
 
@Loktar :(
 
if the styles are not applied, find out why. If they are overrided, find out by what and why
 
@We0 Some browsers won't include other scripts/css if the page is modified after initial load
Namely internet explorer..
 
@Neil WAT?
 
1:16 PM
Maybe the page isn't loading the css you're including?
 
are there any styles inside the response?
 
@JanDvorak What A Tragedy, I agree
 
We0
I am using chrome
Where can I upload image
 
@We0 Have you tried opening the page with the html already inside and seeing how it renders?
 
We0
?
image hosting quick
got screenshots
where can i upload?
 
1:18 PM
Just upload them here in chat ... click on the ... drum roll ... upload button.
 
Yeah, I could mention OOP and POOP in a comment and nobody noticed :) Can we say JavaScript is a POOP language ?
 
im retarded
this damn laptop resoultion
was hiding the top 2 pens
 
We0
See on the one the pagination is loading correctly
on the second not
but same html "path"
 
1:20 PM
@Loktar see that ^_^ for a good morning
 
We0
never saw the upload button
:/
 
@We0 How's that supposed to help us help you?
 
We0
it shows html path and that the one style doesnt load
 
hey @JanDvorak i asked you yesterday that how to read excel file from the user i came yp with a code can you help me with that
path = "C:\\";
filter = "Excel Spreadsheets|*.xlsx";
dialog = new ActiveXObject("UserAccounts.CommonDialog");

dialog.Filter = filter;
dialog.InitialDir = path;
dialog.Flags = 0x80000 + 0x4 + 0x8;
result = dialog.ShowOpen();

var excel = new ActiveXObject("Excel.Application");
excel.Visible = false;
var excel_file = excel.Workbooks.Open(dialog.FileName);
 
@Darkyen wow the balls on that guy to ask that
 
1:22 PM
@We0 I'm aware of what it shows, but how do you think can we help you by looking at two pictures?
 
@Loktar back then steve wasnt as big as today
but literally going to wwdc and asking that is ... brave :D
he looked pissed though :-P
 
@user2502227 sorry, not AX advice from me
G2G, anyways
 
@ja
 
@JanDvorak but yesterday u was sayin that you know stuff about that
 
1:23 PM
apple trolled big way xD
 
@user2502227 did I? Quote me
 
any ways ..can u refer it to a person that have knowledge abut it
 
@Darkyen I don't see how it's been trolled.
 
@We0 if you send me a link to your site, I'll take a look in ~ 30-90 mins
 
You can't compare apples with screw drivers.
 
1:25 PM
@OctavianDamiean iPhone features about "Fastest bootup phone" :3
we can see nokia boots much faster ;D
 
If you're surprised by that, I might have to slap you again.
 
posted on June 27, 2013

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} SMBC Theater has created... a love compilation.

 
can anyone help me with this
 
!!tell user2502227 format
 
@user2502227 Format your code - hit Ctrl+K before sending and see the faq
 
1:28 PM
 path = "C:\\";
    filter = "Excel Spreadsheets|*.xlsx";
    dialog = new ActiveXObject("UserAccounts.CommonDialog");

    dialog.Filter = filter;
    dialog.InitialDir = path;
    dialog.Flags = 0x80000 + 0x4 + 0x8;
    result = dialog.ShowOpen();

    var excel = new ActiveXObject("Excel.Application");
    excel.Visible = false;
    var excel_file = excel.Workbooks.Open(dialog.FileName);
 
Cheers.
 
@user2502227 It is difficult to help you, and near impossible without a question.
 
ok i want to read excel file
from user define location
and after reading the file i have to show the output
 
Sooner or later I'll have to do that too.
 
1:30 PM
@OctavianDamiean anyways jokes over :-)
 
Javascript doesn't read anything from the disk
Unless you're talking about node.js
 
or ActiveX ;)
 
Or... cookies?
 
Is there any phone that allows bg javascript ?
 
If anything, you have a file input which specifies the location of a file, and the server deals with reading it
 
1:30 PM
obviously
ActiveX
 
Or uploaded files?
With, you know, the file API.
 
i dont know that
how you guys do this code in your way
if you have to read a excel file
from unknown directory
 
^ will not work in some browsers
 
i know that//it will work on IE above 8
 
@user2502227 Laugh my ass off at whoever said this was a requirement
 
1:36 PM
i was just setting an example man
what to laugh in it...:)
 
@RyanKinal /dndfiles
 
if someone dont know one thing , you should have to tell him ,dont make fum of him
 
huh, I was expecting some Dungeons & Dragons - stuff :D
 
@user2502227 You've not even said what the problem is.
 
1:39 PM
problem is that i had to show the out put on the speedometer
 
o_O
Wha?
 
and the input of the speedometer is excel file choosen by the user
 
@We0 I'm here. Show me
 
i just did
and you tld me that you dont know about activeX
 
user1125394
wtf sql is case insensible for values?, I did SELECT * FROM account WHERE broker_technology='MT4' AND status = 1 and got all rows with 'm4'
 
1:41 PM
This could use some closing: stackoverflow.com/questions/17344730/…
 
@user2502227 Who are you even talking to!?
 
who ever ask the Q :)
abut my naswer
 
user1125394
'Mt4' also works and 'mT4'.. but this weirdity is cool in my case
 
@user2502227 I thought you were the one asking the questions?
 
damn this..
 
1:43 PM
Now I'm confused.
Did I ask a question? Maybe I forgot about it.
 
@OctavianDamiean please check out my code please
 
@user2502227 don't beg
 
I don't know why you think I know anything about ActiveX.
 
@cx which db engine?
 
I never said I do.
 
1:45 PM
then why every on jumps and give answers to me
 
uh? are you angry we tried to help?
 
@JanDvorak i a'int begging..
 
Wait, I never gave you an answer either.
What the hell are you talking about?
I just told you to format your code.
 
calm down man
thats not the answer
 
@user2502227 he is not angry
but you seem to
 
1:46 PM
damn..one person at a time
please :)
 
Everyone stop chatting!
 
Let's alternate :-)
 
user1125394
@NagaJolokia mysql ENGINE=MyISAM DEFAULT CHARSET=latin1
 
My turn! Oh shit, it's the end of the sentence already
 
NOOOOOOOOOOOOO
 
1:47 PM
OOOOOOOOOOOOOO
 
OOOOOOOOOOOOOO
 
OOOOOOOOOOOOOO
 
OOOOOOOOOOOOOO.
 
C-C-C-Combo-breaker
 
pants
 
1:49 PM
 function readdata(x,y) {


        try {
            var excel = new ActiveXObject("Excel.Application");
            excel.Visible = false;
            var excel_file = excel.Workbooks.Open("D:\\Test.xls");// alert(excel_file.worksheets.count);
            var excel_sheet = excel_file.Worksheets("Sheet1");
            var data = excel_sheet.Cells(x, y).Value;
            //alert(data);
            drawWithexcelValue(data);
        }
        catch (ex) {
            alert(ex);
        }
        //    return data;
 
oh no, not another repost
 
:P
:l
 
Maybe it's fun.
 
I don't think anybody here would touch ActiveX with a mile long pole.
 
my manager is goin to kill me
 
user1125394
1:50 PM
@user2502227 maybe start by uncommenting return?
 
@user2502227 You didn't alternate!
 
@user2502227 If not your manager, then IE.
 
user1125394
if not all them, then us
 
@user2502227 Tell him his requirements suck.
 
@cx Well, I'm not familiar with mysql, but I believe it depends on the collation. You can change it on the fly in your queries if you want override the default.
 
1:51 PM
If not IE, then us
 
@BenjaminGruenbaum wait, does that mean we're in permanent gallery - mode now?
 
@GNi33 No. Proof: We're not in gallery mode now.
 
user1125394
@NagaJolokia yes, in that case It was a 'positive' bug for me;) thanks
 
Even if, because of Caprica it wouldn't be too much of an issue.
 
user1125394
I wanted it to be case-insenstitive
 
1:52 PM
well yeah, could've checked that myself ;)
 
guys u all play with peoples and make fun of them...god will punish you for this ,u all will forget your code skills :D
 
LOL
 
@user2502227 That's based on the assumption that I have some skills.
 
@user2502227 Oh my. You've made me repent. I CAN SEE THE LIGHT!!!
 
@user2502227 that's based on the assumption that we're making fun of you
 
1:54 PM
Oh wait. @OctavianDamiean stop pointing that flashlight at me.
 
@user2502227 yeah, who's that "god" you're talking about?
 
!!s/LIGHT/PANTS/
 
@OctavianDamiean @user2502227 Oh my. You've made me repent. I CAN SEE THE PANTS!!! (source)
 
god know all this thing
 
@jaybob007 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
1:54 PM
Then maybe if you pray hard enough he'll help you use excel files with ActiveX
 
hehe
 
hehhe ..i did it already but i thing he is listening to pitbull :P
 
pitbull? the rapper?
 
To a dog?
 
so.... god is a white-trash douchebag? cool
 
1:55 PM
he is rapper
 
then pig another god
 
@JanDvorak Was that typo intentional?
 
ah wtf!
 
i was asking that myself too
 
What encoding is this!?
 
1:56 PM
@GNi33 y u so racist
 
ā㉀„ဂ⅀€@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 
@user2502227 because pitbull sucks
 
@user2502227 He's Austrian, it's legit.
:D
 
ok then what abut lil wayne
 
:D nah, I'm just in my half-hour of writing bullshit again
i don't care about the music-taste of other people, listen to what makes you happy
 
1:57 PM
lady gaga
 
eeek
 
@GNi33 I know what you mean, 'cept for me that half-hour spans 24 hours.
 
you right
 
No
 
wearing animal meat... because fur is so mainstream
 
1:58 PM
@OctavianDamiean yeah, my time-span tends to differ to ;)
 
@JanDvorak No
 
@JanDvorak lol
 
@Darkyen what are you disagreeing with?
 
eminem...tada
 
Just No
because no
 
1:59 PM
Nah, it doesn't work like that.
 
No
 
we made you listen to it
 
No...
 
Also, that's my thing ...
 

« first day (985 days earlier)      last day (3957 days later) »