« first day (1318 days earlier)      last day (3636 days later) » 

10:00 AM
"ML" ?
!!urban ML
 
@dystroy [ml](http://ml.urbanup.com/3965281) "mind laughing"
abbreviation used mainly in instant messaging to express laughter to oneself. similar to lol, but without actually producing sound.
 
ok, just calculated how much time an actual render of my game is now
 
@GigaByte568 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.
 
first I'm going to tell you how much it was before I fixed the drawing images on nonfull pixels
it was about 50ms
now that I've fixed it I get the marvellous time of 1ms!
 
10:02 AM
@dystroy no, machine learning
 
oh, ok, didn't thought about this one... Acronyms are painful...
 
hello
 
yeah when benji used it as acronym for the first time
 
@GigaByte568
 
i thought he meant markup language
 
10:04 AM
@Sanya_Zol hi you from?
 
@shin 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, what javascript-based timer plugin can you suggest?
 
@user3656963 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.
 
!!tell gigabyte mdn setinterval
 
10:08 AM
setInterval.js framework is nice
 
I... what?
 
not sure either...
but still... I bet it's trolling...
 
ok. thanks for the suggestions guys. :)
 
Hi Guys!!

I am building a parallax website using [ScrollMagic](http://janpaepke.github.io/ScrollMagic/).
I have lots of SVG background which change on section to section... but as the number of section increased so the lagging in browser due to heavy svg usage now i am looking forward to change it to Canvas but i am not sure which canvas/webgl library should i use... so far i have found Three.js & pixi.js any suggestion would be much appreciated.
 
It depends on why you need a library. For general canvas use, you don't need one, it's standard HTML5.
 
10:16 AM
copot.eu/matei/games/dastul/game test new rendering engine?
 
who's the youngest here?
 
I don't like you
 
who? me? =(
 
...but @dystroy hates you
:-P
 
@dystroy hmm you are right but a library will make things easier for development wouldn't it?
 
10:18 AM
@ImranBughio it really depends on what you draw or redraw
 
@t1wc freezes for me
 
@JanDvorak really???
@GigaByte568 depends... how old are you?
 
@dystroy I want to use it for full page background images with parallax effect and masking.
 
@t1wc crashes for me too
 
I'm 14 years old. you?
 
10:19 AM
@GigaByte568 same
 
lol nice
 
@dystroy are you using chrome?
 
@t1wc Usually yes, that's why I pasted the link in another browser (FF) as to not crash the one I use...
 
@dystroy I am getting "an ActiveX control on this page might be unsafe to interact with other parts of the page" error when I load my page. Can you help me pls
 
@dystroy in chrome it really works well
@JanDvorak chrome?
 
10:21 AM
@t1wc u too
 
@Illaya you already asked. Answer is NO
 
@t1wc yep
 
@JanDvorak shit
 
@t1wc that's what I'm thinking, too ;-)
 
No means... you dont no, or you cant help me?? @dystroy
 
10:22 AM
@GigaByte568 @t1wc statistically there is a 0.000096501% chance I'm the father of both of you !
 
@jAndy what? did you have any doubt, pa?
 
unless I made a mistake by the number of woman I had sex with from 15-17 and the worlds population of women
 
I don't no...
 
lol jAndy
 
@dystroy ok thanks
 
10:25 AM
@UğurToprakdeviren 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.
 
@CapricaSix u there?
 
@FlorianMargaine Thx, That works, it also makes me sad...
 
@Illaya yes!
 
lol @ flag faggot :p
 
@CapricaSix May I ask onething?
 
10:27 AM
hello
 
sure
 
@dystroy done
 
That flag wasn't needed...
 
@CapricaSix you always says this information.. "Welcome to,..." when a new user come into this room, are you an admin in this rrom?
 
10:28 AM
guys I'm just new to this chat room, is Caprica Six a bot or a sort of chat moderator?
 
@Illaya yes I am
@Illaya yes, I own everyone in this room.
@Illaya yes I am
 
STAHP
 
HAMMAHTIME!
 
@GigaByte568 chat mod. Illaya will ask her out shortly, just wait.
 
@CapricaSix you from? and you are mal or female?
 
10:29 AM
@Illaya don't waste her time plz
look at her profile image
 
@Illaya hey can u plz help me i have doubt
 
and she's pretty reservative about those things
 
Where is @Octavian Damiean when you need him.
 
is there a chat mod in other rooms?
 
!!s/.*n\sD.*//
 
10:30 AM
@jAndy Could not process input. Error: invalid quantifier on line 231
@jAndy (source)
 
lawl
 
humanz
 
because i just joined the php room, and there was nobody who welcomed me like Caprica did (Hurray @CapricaSix)
 
@GigaByte568 yeah, she doesn't like PHP
 
lol
 
10:32 AM
@RohitWagh 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.
 
oh I thought this chat would accept HTML content, but i was wrong lol
 
This would make a mess...
 
Hi all, I want to check whether div 9 inside a div class="left" is visible or not , how to achieve it ?


<div id=6>
<div class="left"></div>
</div>

<div id=7>
</div>

<div id=8>
</div>

<div id=9>
<div class="left"></div>
</div>
 
@GaneshPravin define "visible"
jQuery has a :visible pseudoclass
 
@JanDvorak : div 6 also contain div class="left"
 
10:40 AM
@GaneshPravin $("#9 .left:visible").length?
 
are numerical id's spec legit ?
 
@JanDvorak : thanks . i'll try .I think this will work
 
Yo JS room:
in PHP, 38 secs ago, by PeeHaa
Anybody has experience with http://www.videojs.com/ and knows whether it is worth investigating?
 
@jAndy I think they are since HTML5
 
I'm in doubt
 
10:43 AM
@jAndy I think so
 
@Xavi 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.
 
spec:
The id attribute specifies its element's unique identifier (ID). The value must be unique amongst all the IDs in the element's home subtree and must contain at least one character. The value must not contain any space characters.
 
@jAndy IOW numeric IDs are legit
 
If you ever have have any issues with web requests from your JS, don't use jQuery! Use this instead:
 
@JanDvorak I don't know. character !== number ?
 
10:46 AM
!!define character 2
 
@JanDvorak [character](http://en.wiktionary.org/wiki?curid=50290) A being involved in the action of a story.
1898, Winston Churchill, chapter 1, The Celebrity:
The stories did not seem to me to touch life. […] They left me with the impression of a well-delivered stereopticon lecture, with characters about as life-like as the shadows on the screen, and whisking on and off, at the mercy of the operator.

2012 April 26, Tasha Robinson, “Film: Reviews: The Pirates! Band Of Misfits”, The Onion AV Club:
@JanDvorak My pocket dictionary just isn't good enough for you.
 
@JanDvorak : $("#9 .left:visible").length? always returns the value "0"
 
@jAndy:
> NOTE: There are no other restrictions on what form an ID can take; in particular, IDs can consist of just digits, start with a digit, start with an underscore, consist of just punctuation, etc.
 
@JanDvorak : even though the class is visible
 
@GaneshPravin exclude the question mark, ofc
 
10:50 AM
@JanDvorak : I used like this if($('#' + id + '.left:visible').length == 0){ //}
 
@Qantas94Heavy Spray & Wipe sounds like a good name for a trojan
 
@GaneshPravin then you're missing a space
 
@JanDvorak :if($('#' + id + ' .left:visible').length == 0){ //}. this will be correct right
@JanDvorak : thanks my friend . its working great
 
why do so many people like the idea of removing rlemon from the list of room owners ?
:P
 
@jAndy Because @rlemon is a commie!
 
10:53 AM
!!urban commie
 
@jAndy [Commie](http://commie.urbanup.com/287248) Derogatory name for a Communist.

Related words : Pinko
 
Pinko! Why didn't I think of that?
 
!!urban pinko
 
@JanDvorak pinko Contrary to popular belief, used to describe Socialists, as Communism = Red, and Capitalism = White. (See Russian Revolution in your history text book) Red + White = Pink. Therefore, Socialism = Pink.
 
@Qantas94Heavy tell me
 
10:54 AM
!!urban white
 
@monners [White](http://white.urbanup.com/1255892) 1. The color white.

Contrary to popular belief the word "white" is not a racial comment or slur.
 
!!urban black
 
@JanDvorak [Black](http://black.urbanup.com/1426750) 1.Darkness, a dark colour, the colour of this text is black.

2.A race - The black race can range from African american to polynesian.
 
Does that mean black is a racial slur?
 
user image
2
how do you like my new pool
:p
thats a nice way to wake up.. crawl out of bed.. crawl into a tube and then.. BANNNNÄÄNGGGG
100% awake
 
11:03 AM
@jAndy Heh, you wish :D
 
@Illaya: i have doubt about jquery problem it say "syntaxerror: expression not recognized" plz halp
 
@jAndy Except if you continue sleeping, you may never wake up.
(because you drowned)
 
you'd deserve that if you sleep that deep :p
 
@Frank 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.
 
11:15 AM
@AbhishekHingnikar I don't get it.
 
i guess am just to perverted.
 
commas at the beggining strike again!
module Glisha.Common
    ( module Glisha.Common
    , module Control.Monad.State
    ) where
hrhrhr
 
hey @BartekBanachewicz
 
can anyone explain this?
!!> (1, 2, 3, 4, 2, 234, 34, 63, 36)
 
11:24 AM
@t1wc 36
 
!!/ tell t1wc mdn comma operator
 
uh...
it's an operator?
 
I thought comma was a comma...
 
@t1wc yes. Returns last value of sequence.
useful if you want to chain computations on one line sometimes, at least in other languages
 
vs7
11:26 AM
how i can delete a div using its ID in javascript
not in Jquery
 
@vs7 type that literally in google
word for word.
 
@BartekBanachewicz not really useful in JS apart for golfing
 
!!tell vs7 mdn remove element
 
vs7
element = document.getElementById("element-id");
element.parentNode.removeChild(element);
its not working for me
 
11:27 AM
reinstall windows
 
it should
 
Is your element found ?
 
vs7
its deleting my whole content
rather than specific block
 
fiddle?
 
vs7
Actually im writing a script if a div exist with particular ID that will be delete first than JS action performed
let me create a fiddle
 
11:32 AM
@Qantas94Heavy can you post your code
 
vs7
@JanDvorak jsfiddle.net/43GB7 here it is
i have a exception that I'm searching a null element
 
wth
 
vs7
Use that one : jsfiddle.net/43GB7/1
 
javascript URLs? What is this? 1987?
 
I feel offended by a long string of code concatenated into a href
3
 
vs7
11:42 AM
Actually its a bookmark , it will perform some action when it clicked on a specific webpage ...

So that ID will not exist at starting time
I prefer for chrome extension but my tech lead need it to be in bookmark ...
So i'm in so many problem in bookmark ....

I just show a small href:

the actual href is too long ... :P
 
err... I want a fiddle that reproduces the issue
 
Tiny texted Android chat
 
vs7
The main issue is script stop working when i put remove code in starting ...
@JanDvorak
If you want to see what I'm developing : googlex.in/privacycheck here is the full project ...
 
wait... where's the new GOT episode?
oh, they've jumpt this week
awwww
 
vs7
11:53 AM
here is new update fiddle : jsfiddle.net/43GB7/3
 
How to download Image using javacript. I found some solutions but that is only working for firefox etc.
 
@pirabdulwakeel forget
 
@JanDvorak What does it mean?
 
@pirabdulwakeel Do you mean like preload an image?
 
as in, there are certain limitations that browsers impose on javascript
 
11:55 AM
The images is already loaded.. but I want to download it. when some one click on download button.
 
vs7
@JanDvorak are you able to figure out the cause ?
 
!!mdn file
 
@JanDvorak the above image
 
@pirabdulwakeel add the download attribute to the anchor tag
 
11:57 AM
yes, I added that.. but still not working.
<a class="download_img" id="download" href="<%=this.getURL()%>" download="<%=this.model.get('fileName')%>">
 
@pirabdulwakeel jsfiddle.net/2VkZL
<a href="/images/your-image.png" download>Download</a>
.NET huh.
2
Q: Force Download an Image Using Javascript

Nathan CamposI want to know if there is any way to make a script using Javascript/jQuery to download(open a download dialog) a image so the browser won't just show it.

 
> There needs to be a service which blurs photos.
 
@AbhishekHingnikar It's called photoshop :P
 
@monners & @JanDvorak I tried but when click its always open the image in same window.
 
@monners no a webservice.
 
12:03 PM
@monners nice, unless you need to use IE (even IE11) or Safari
 
@monners just to ping you
 
@dystroy oh hey there is a library to abstract it all out
 
@dystroy Last I heard even the U.S. government is advising people not use IE. This one time I think I'll follow their lead.
@AbhishekHingnikar jhlabs.com/ip/blurring.html It's Java, but maybe you can write a JavaScript conversion
I swear Safari is becoming the new IE
 
@JanDvorak I am using backbone
 
25
Q: How to start automatic download of a file in Internet Explorer?

Pop CatalinHow do I initialize an automatic download of a file in Internet Explorer? For example, in the download page, I want the download link to appear and a message: "If you download doesn't start automatically .... etc". The download should begin shortly after the page loads. In Firefox this is easy,...

lol, who the hell would use C# as their avatar?
 
12:10 PM
Musicians?
 
@monners dude -_- i want a web-service not a browser based tool... I have implemented blur in js in past its just too slow
 
@dystroy Well that shut me right up now, didn't it.
 
!!tell AbhisheklHingnikar google blur image upload
 
Of course. I assume it's really Anders asking of course.
 
thank you @monners , let me try
 
@Kippie touché
Maybe optometrists as well
 
Is there supposed to be more than a slow to show picture ?
 
@dystroy I'm seeing a slide out bar on the right that blurs the image
 
12:17 PM
oh yes, I hadn't noticed the blurring. But the slider doesn't always come in or out
 
Ok. Time to sleep.
!!afk dreaming of electric sheep
 
Doesn't seem laggy at all, and my laptop is pretty slow
 
@ChrisAung 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.
 
Anyone feeling generous enough stackoverflow.com/questions/23869368/…
 
vs7
How i can addeventlistener for ajax content ?
 
12:23 PM
!!PHP or ASP
 
@SecondRikudo PHP
 
0
Q: Is there anyway to create an 'await' function in javascript that block on Q.js promise until the value is redeemed?

Sébastien RenaultI know JS is a mono-threaded environment but is there a way to create a 'await' function that block on Q.js promise until the value is redeemed ? Of course, the following code will end to an infinite loop. Because of the 'while', the 'setTimeout' callback is never called and 'isFulfilled' functi...

 
@SasibhanuKiran 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 I am in a problem with date picker :(
please help
 
date picker is a shifty fella. don't have around with him and you'll get in less problems together.
 
12:34 PM
@Hriju line 66, column 6 needs to be a semicolon
 
lol
$('.button_calendar').on('click', function() {
      var tt = $(this).attr('name');
      var picker_id=$(this).attr('id');
      var res = tt.split("-");
      var focus_n=res[0];//this is for inputID
      var pick_id=res[1];// this is the echo $i.$k
      //alert(focus_n+pick_id);
      //alert (focus_n+pick_id);
      //alert (picker_id);
      $("#"+focus_n+pick_id).datepicker({

                            format:  'dd M yyyy',
                            endDate : new Date(),
                            autoclose: "true"
here is my code.. the problem on first click calendar is not loaded.
 
$(this).attr('id') === this.id //hint,hint
 
code like that makes me sad
you just made me sad :(
 
when i click second time on calendar icon it loads the calendar
is it for using click function inside of click function?
 
$("#"+focus_n+pick_id) looks suspicious
 
12:36 PM
1) you need to apply the date picker outside of the click
that is why it works after the first click
 
actually i have a calendar input in table. this is generated with a for loop. so when i click on calender button it will take a calendar input
 
click -> assign date picker -> click again -> assigns it again, but it works because you already have it and jQuery is magic
 
but if I take out of the click function how will get all the values I have got
how i will get this? "#"+focus_n+pick_id
 
Hello
 
@redV hi mate
 
12:39 PM
just simple question
 
@ssebastianj 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.
 
if you do the property checking which style do you use and why ? if (my && my.object && my.object.key) { } or use the if (my.hasOwnProperty('object') && my.object.hasOwnProperty('key')) { } ?
 
@jurka the former; I generally know what's on the prototype
 
depends how thoroughly you are
best way is probably to go with Object.getOwnPropertyNames() and see if the property is there you are looking for
afaik thats the only way to also get properties which are not flagged as "enumable"
 
1:02 PM
@Artsiom 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.
@StavelVelchev 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.
@Tazo 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:19 PM
@rlemon lol
@jurka I usually know the type of my objects.
 
@BenjaminGruenbaum I'm totally taking that one for the PHP room
 
@Feeds and... done.
 
1:32 PM
@BenjaminGruenbaum Yes, even if you know the types you have to check before accessing the object.
 
No you don't. Type checking is an anti pattern in JavaScript.
 
@CallMeTheBreeze 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.
 
@BenjaminGruenbaum why?
 
because it's a behaviorally typed langauge.
 
I would disagree that typechecking in JS is an "anti-pattern"
 
1:39 PM
you do that
 
lets agree to disagree
 
@BenjaminGruenbaum, true, I meant more the problem before accessing the object literal property, check if its exists
 
@migg 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 ah then it is lagging
probably gotta use canvas or C# :[
chrome is horribly slow with big images -_-
 
-2
Q: The best solution for live streaming video in php website

user3673162I have location that has specific number of cameras.i want to get the videos from these cameras to a page in html or php. my website is uploaded on hostserver. these cameras i can connect them to the internet. i want to take live video streaming from these cameras and preview it in my website as ...

 
1:57 PM
@DamienGoor 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.
 
@BenjaminGruenbaum lmao
@BenjaminGruenbaum and that would mean what again.
 
@hughcrail 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.
 
JS has to check for types at some point, as every other language. If it didn't, VM would crash on undefineds. The only difference is that it checks types at the last moment possible.
 

« first day (1318 days earlier)      last day (3636 days later) »