« first day (1286 days earlier)      last day (3887 days later) » 

15:07
@dystroy can u help us (me, @jhawins) to get SSL working with apache2 on a VM ?
@AbhishekHingnikar sorry, I never did that (the SSL/Apache2 part)
posted on April 24, 2014

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) {} From now on, only time travel jokes.

3
@Feeds eh, not great, not the worst you've given me of late
better than most of the recent lazy ones IMO
user3071008
I don't get it
15:16
@MehLON the smbc ?
user3071008
yes
uhh... what was the console command to stop the javascript file at a certain point and freeze it so that you can see the values?
user3071008
debugger?
guess so
Hello guys.
I've been investigating Facebook JavaScript SDK
and I've noticed they initialize the library (FB.init) before the async call of the script. How do they do that without throwing errors?
15:27
@user3387522 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.
room mode changed to Public: anyone may enter and talk
@IvoPereira unicorns pro
@IvoPereira unicorns probably
hi guys just wondering what is the best way to call a php function within a javascript function
@SteamFire what was i gunna do?!
@user3387522 pray to the gods of the impossible?!
@mihai 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.
15:31
@DrogoNevets why is it that hard ??
errr.......
ASR
ASR
@DrogoNevets whre are u from?
@user3387522 It's about as easy as a knife through butter.. on the moon.
@Neil at least i wasnt that sarcastic
@ASR UK
user3071008
!!afk
15:35
@t1wc what do you mean?
@DrogoNevets Pray to the gods of the impossible is not that sarcastic? I beg to differ, sir.
@Neil well seems man has reached the moon and there would be no difference cutting butter with a knife on the moon than on earth that seems to me that it is possible so what would be the best way ?
@IvoPereira they must have some kind of system invented by an unicorn to do so (I'm joking if you didn't notice)
@user3387522 My point was not that it is impossible, simply that you'd have to go through the amount of time and effort equivalent to the amount of time and effort required in being able to cut butter on the moon
@t1wc I thought so, but did not discarted the possibility of having any library named that :P
15:37
@IvoPereira unicorn.js... I think it exists
Unless you're talking about the theoretically impossible, anything is doable given enough time and effort
ASR
ASR
@DrogoNevets how much experience u have?
Damn, rainbow text. So lovely @t1wc
15:38
@IvoPereira :P
What can cause that ?
@user3387522 Once javascript is running, you're on the client computer. If you want to be able to run php, you cannot do it without performing a request to the server, since it'll be the server that will run php
@AbhishekHingnikar SSL connection error
One does not simply call PHP from javascript
@Neil you can theorically
15:39
One does not call javascript from php !
@t1wc Oh? Then I am mistaken
Please explain to our mutual friend how you would do this. I'm curious
Simply call*
I'm curious on that one too @t1wc xD
@Neil by simply changing the url of the page to ?+ a variable+=1
then checking with php if that variable has been set
if so php will run
that's what my chat does in my page
@AbhishekHingnikar and from php you change the hash of the url and check with js if it is for him
15:42
@Zirak why do I feel she knows nothing about the subjects she was there to discuss
Because of her title and the subject.
i know it can be done because i have managed to do so what i am trying to do is just call the PHP function from one page to another more simple than my current method@Neil
@ASR approx. 7 years, ever since I left uni aged 20
it was a rhetorical question
ASR
ASR
@DrogoNevets its great
15:44
Good Afternoon
Good morning
Good Night
@Zirak you won a something!
I wish I could go back to bed and sleep
@t1wc Huzzah
@Connor good afternoon - almost evening and home time - woohoo, except that means house tidying, boo!
15:47
Where you at?
I mean, where do you live?
timezone?
ASR
ASR
@DrogoNevets bye good night
@t1wc what i did was $.post to call a php page that included a the mast php scripts then using the class select in that page to call the function it looked like this

`<?php
include "select.class.php
echo $opt-> phpfunction();
?>`

the only problem i have got is i have about 7 of these scripts and i want to put it all together
@user3387522 not really a good practice
@t1wc i know thats why i asked if there are better ways
but I'm not the one that can talk with superiority about php here
15:49
@Arbi 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.
@user3387522 window.loacation.href+='?doStuff=1';
its the javascript side that i would like to know if there is a way i can just call the function instead of redirecting
that's all the script you need for js
on php:
if(isset(doStuff)) //do stuff
what ??
on php
@user3387522 that's the receiver
and since it's on the same page it won't reaload it all
15:52
Hi. Would a web based spread sheet app be a good use case for using angular js?
it'll just refresh the php scripts
have to go now
@Neil it is still clear what the answer was there
16:03
If you want to calling a php page as "calling a php function" then fine
Though, to my knowledge, php isn't client-side
Hello guys! Is anybody of you fammiliar with phonegap?
@Neil Your knowledge is accurate in this case.
And generally speaking, when I say javascript calls a function, I don't mean that it sends a request to the server
So neither would I say that javascript "calls" a php method
My Aunt: I always wish for a postcard for Easter from Ukraine. How are you doing in the midst of all this turmoil?
Ukrainian Friend: preparing for war with Russia
:-/
@Neil +1
user1596138
16:07
What's wrong with this?
user1596138
NameVirtualHost *:443

<VirtualHost *:443>
    ServerName ******
    ServerAlias domain.me
	ServerAlias *.domain.me
	DocumentRoot /var/www/domain/public_html

    SSLEngine on
    SSLCertificateFile /etc/ssl/domain.cert
    SSLCertificateKeyFile /etc/ssl/domain.pem
    SSLCertificateChainFile /etc/ssl/root.pem
</VirtualHost>
You wrote it
user1596138
Thank you so much
Welcome.
oh how I've missed Zirak
16:10
@Tobias 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.
hi there :)
need help with the google charts api. anyone of you able to help maybe?
user1596138
This guy recommends an entire book??? — Jhawins 14 secs ago
user1596138
lmfao
user3071008
maybe
user1596138
What kind of answer was that
16:13
@Tobias See the message above. Ask your complete question. Average case scenario and noone here knows google charts, we can at least google.
user1596138
What!!
@Jhawins the first half is a partial answer, though
user1596138
user1596138
I missed on the copy/paste for the cert!
user1596138
lol
user1596138
16:13
40 minutes ago
user3071008
lol
@Jhawins lets talk here
heh. ok. have a look. asked in the google group already buuuut... groups.google.com/forum/#!topic/google-visualization-api/…
and your rep is 1337
enjoy for 30 seconds before i upvote to ruin this moment
user1596138
Yes because I am 1337 and I don't use main now because of it haha
user1596138
16:14
I'll get it back to it
@Jhawins upvoted.
and talk here bro, its easier for me to keep a track off
i just have 3 devices in front of me now, a phone a windows tablet and a windows pc
@AbhishekHingnikar a windows phone, I guess?
if the phone also has some m$ os installed some people would be tempted to say wrong os
@JanDvorak android,that is why am calling it a phone
user1596138
@AbhishekHingnikar ok
all off this will change to Ubuntu, iPad Mini with Retina, and Nexus 5 in 2 weeks :D
> Hi

This is a very minimal "hello world" HTML document.
user1596138
Haha
just installed elementary os at home. works like a charm so far. looks pretty good. plus its based on ubuntu 12.0x - maybe give it a try @AbhishekHingnikar
@Tobias i have elementary on one of my machines
16:23
how do you like it?
@Jhawins i have a few words for you :-)
great job !
@Tobias after using the real OS X . no
i see. still osx fan eh :)
@AbhishekHingnikar random / stupid question. Any idea how well supported overflow: scroll is when its not the on the html / body element, like a div?
I know you love scrolling and touch devices.
user1596138
@AbhishekHingnikar Ha. Thanks
user1596138
I guess the server name doesn't match the cert... But it at least connects correctly on both 80 and 443
16:28
@mikedidthis what ?
@Jhawins you can make new certificates, you know right ?
to match the server name
@AbhishekHingnikar ha. Its ok, I am just clutching at straws.
> snapick.me uses an invalid security certificate. The certificate is not trusted because the issuer certificate is not trusted. The certificate is only valid for www.snapick.me (Error code: sec_error_untrusted_issuer)
@mikedidthis well overflow:scroll is fine except for iOS < 6
and microsoft has tons of touch savvy properties.. in the -ms-overflow* thingy and -ms-touch-*, webkit has a special property for enabling momentum scroll so do check that too
and thats all i know about it.
@AbhishekHingnikar thanks, I will do.
oh btw Android < 4.0 won't support position:fixed and overflow:scroll atall
if you experience a performance hog on webkit browsers use the zindex trick
yeah, I am using scroll on a div to get around using position: fixed.
user1596138
16:31
@AbhishekHingnikar Nah just changed hostname
@AbhishekHingnikar thanks man, I appreciate it.
> snapick.me uses an invalid security certificate. The certificate is not trusted because the issuer certificate is not trusted. The certificate is only valid for www.snapick.me (Error code: sec_error_untrusted_issuer)
user1596138
Now it's just the cert is not trusted. That's CACerts fault
its ssl though
and when we get those nice lil real ones
all we have to do is generate these certs :D // aka config works :D
so where do i place my flasky stuff ?
Hi all
user1596138
16:34
@AbhishekHingnikar Yup soon as you got a real one it should be good to go!
user1596138
Uhh. I've been busy lol
@ShadyManaa 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.
Hey guys, i'm having a problem is anyone available to help me with it?
...see the message just above yours
@ShadyManaa Sometimes.
16:36
Well, i'm having a problem with installing this Jcarousel of Sorgalla
I've been trying to implement it for an hour but i can't find my way around i'm too confused by that documentation!
Demo? Fiddle? Banana?
user3071008
banana?
@Jhawins because of the server thingy
here is what i did and u gonna have a hard time stop laughing.
user1596138
ok
now the only thing server is needed for is to convert the text to nlp
the client also searches now xD
on facebook, bing, 500px
I'm trying to implement it on some Divs that i want to carousel between
services like Outlook->OneDrive, LocalHardDisk(sadly) need server to search.
in short basic searches work almost everywhere.
@ShadyManaa Code pls
so photos of, near, by ,in ,etc works everywhere now :D
SourceCodePro is a nice font I just found
My own code you mean?
user3071008
are you sure that's the documentation?
@qwertynl flag flag phallic object flag
3
@ShadyManaa Some code that demonstrates your problem
star star phallic object star
this is the documentation but i'm very confused
@ShadyManaa Yes, yes, I'm aware of jCarousel
16:40
@RyanKinal <div class="row">
<article class="latestNews col-xs-12 col-sm-12 col-md-6 col-lg-6">
<span class="header">Latest News</span>
<div class="jcarousel">
<div class="jcarousel-items">
<section class="Slide jcarousel-item">
<img src="images/meeting.jpg" alt="News Item"/>
<div class="slideText">
<h4>T.P.D CEO meets Affiliations</h4>
<p>Mr. baker meets with the representatives of different affiliations of TPD in order to provide the latest feedbacks in the teacher’s education program.</p>
</div>
But in order to diagnose your problem, we need your code. Or some code that demonstrates the problem you're seeing.
well, the carousel itself doesn't work, as if i'm not setting it up.. as if i haven't included anything..
Are you seeing errors?
on google inspect i see : -
Can you point us to a live example?
16:41
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///S:/My%20Documents/Portfolio/TPD/js/jquery-1.11.0.min
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///S:/My%20Documents/Portfolio/TPD/js/video.js
Uncaught ReferenceError: jQuery is not defined jcarousel.js:229
Failed to load resource: net::ERR_FILE_NOT_FOUND file:///S:/My%20Documents/Portfolio/TPD/css/bootstrap.css.map
Well, it seems as though jQuery is not being loaded. Is the path correct?
what i am trying to do is something like that carousel on the right of this website: -
http://www.mofa.gov.sa/Pages/Default.aspx
for the Jquery i've tried google CDN
same error :/
Literally the same error? Or the same error with a different path?
@RyanKinal wait it's gone..
@RyanKinal it was kinda firewalled or something now it's gone yet i can't get that carousel to work
@Zirak @RyanKinal @rlemon @SomeGuy There's now a client side bot API in miaou with an example of a useful bot running under my account
3
16:44
@Nidheesh 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.
@dystroy Ooh, nice
@dystroy Sweet
@ShadyManaa Any other errors?
What does your jCarousel config look like?
@RyanKinal all gone
@Tobias yes
@ShadyManaa - jquery no conflict mode maybe?
16:46
@RyanKinal i'm trying to run it with defaults, i've not included any certain config for it..
@Tobias i think that my problem is in the setup, i am certain that Jcarousel setup is wrong, i may not have installed it right that's why i would be greatly thankful if someone who has implemented this one before told me what to do about it.
user1596138
Ok @AbhishekHingnikar flasks are running
user1596138
Err. Bad way to word that
user1596138
But you can do it now
where do i drop my python code :->
cause all i do will upload it via ftp xD
16:49
@Shady the example installation looks quite simple. hm
and ofc. config :-)
user1596138
/var/www/snapick.me/test is set up like a simple hello world
user1596138
So just check it out
thank you so much :-)
let it be on that today
user1596138
/var/www/snapick.me/test$ ./run.py
 * Running on 127.0.0.1:5000
 * Restarting with reloader
127.0.0.1 - - [24/Apr/2014 16:48:17] "GET / HTTP/1.1" 200 -
16:51
err :-/
shouldn't mod_wsgi take care of that itself ?
> You've earned the "php" badge. See your profile.
user1596138
Errrrrrr
wait are we using apache as proxy ?
@Tobias i've created multiple divs, and i want them to carousel between one another
user1596138
Err oops
16:52
@ShadyManaa Did you include the CSS?
@RyanKinal where do i get it from? i didn't find it on the documentation
@Jhawins happens.
works for now but mod_wsgi is much better for scaling, and crash logs etc come in apache logs
@ShadyManaa Hmmm. I'm not sure there's a default version.
@RyanKinal the documentation is totally awkward.. i really don't understand the steps for implementation
user1596138
K lemme set up a flask user...
user3071008
16:56
implementation?
Deployment whatever you call it
setup

« first day (1286 days earlier)      last day (3887 days later) »