« first day (1025 days earlier)      last day (3938 days later) » 

user1125394
12:20 AM
!!> var x=0; + ++x;
 
@cx 1
 
user1125394
12:37 AM
!!mdn window.event
 
12:59 AM
How do you change background-size in javascript? It doesn't seem to work.
img.style.backgroundSize="100"; doesn't seem to work.
 
1:15 AM
Check it ouuut
 
@Loktar Schweet
 
thanks
 
@Shmiddty That's definitely a marketing angle best left unexplored
 
performance enhancing gum
yeah!
 
1:43 AM
why do people do this: (function($) { ... })(jQuery); ?
What does this "namespacing" achieve?
 
m59
@Zach it ensures that the $ actually stands for jQuery
other libraries use the $ also. Which ever one loads last will have taken it over.
 
var $ = myShit(); // your code breaks
 
m59
^ that
 
Also, It means you could do something like...
var myLib = isWindows ? getjQuery() : getZepto();
(function ($) { ... })(myLib);
@Loktar SICK BRAH. Also, Spartacus.
 
@m59 ah, I see
@phenomnomnominal what's isWindows?
 
1:57 AM
@Zach some magical boolean that you set that determined whether the browser was running on windows or not
 
@phenomnomnominal Okay lol. I got that, so what I don't understand is why you'd want jQuery if you were on Windows, and Zepto otherwise.
 
because Zepto doesn't work in IE
 
user1125394
ns311381.ovh.net:8888/#forex if you want to test d3 with loads of data :)
 
Hey guys
 
user1125394
but my processor is not appreciating
 
2:05 AM
@phenomnomnominal well that makes sense then
 
@cx What does that site do?
 
user1125394
streaming financial data, your forex accounts for example
 
oh
what kind of data are you streaming?
sick
I always wondered what's going to happen if you stream data from database's BLOB field
 
user1125394
??
btw d3 is lagging like crazy..
 
user1125394
@O0oO0oOO0ooO see now a demo account is being displayed with its current positions
 
2:18 AM
nice
you should also add Candlestick chart
to make it look more legitimate finance app and make it appeal to finance dudes
plus, you should add a lot of red arrows pointing ^ way
 
user1125394
yes candlesticks, but more likely will keep only close price (the most significant) on make the bar period changeable (1min, 5, 30, 1h, ..)
 
user1125394
and will add daily pivot lines indicator now, since I'm working on it also
 
yeah, add as many charts as you can it's only going to make it look more legit
are you studying finance?
 
2:43 AM
twitch.tv/no63datsik streaming payday 2
 
Bam! Spice weasel
 
m59
@Shmiddty you there dude?
 
@Loktar !! ^
 
m59
Datsik, you play league, don't you?
 
@nguyen190887 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.
 
3:01 AM
!!/program or mw3?
 
@Jeremy That didn't make much sense. Use the help command to learn more.
 
!!program or mw3
 
@Jeremy program
 
@CapricaSix maybe after mw3, thanks
 
m59
hahah
 
3:02 AM
keepin it classy
 
@making3 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.
 
@m59 Nah, Dota
 
m59
dern, I was hoping you played both.
 
3:18 AM
I played League a while back
But I cannot stand it after seeing how easy it is compared to Dota :P
 
m59
Well, there's no such thing as "easy" when considering strategy. But I know what you mean.
 
What would be more efficient way of doing the following?

var hex = 0xBC; //10111100
(hex >>> 4) & 0x3
I think it's the best way
 
m59
var hex; performs even better
=D
I suck at math :(
 
shocking discovery, xslt has an 'OR' operator!
 
General question: What platforms exist for game developers to communicate with gamers during/after development?
 
3:22 AM
@SomeKittens Twitter
 
Steam (sorta), forums, FB/Twitter/etc?
 
telepathy
hand written letters
 
Seems like all of the major dev studios are using twitter as their primary feedback source
 
m59
I'm pretty sure facebook rather than Twitter
 
starbucks
 
m59
3:23 AM
telepathy, lol
 
@Applecot 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.
 
you can communicate through me I am the mailroom guy at Steam
 
Also IRC
 
3:40 AM
Carrier pidgeon
Disclaimer; carrier pidgeons lose their effectiveness when trying to correspond with FPS and 'Duck Hunt' players
 
Brilliant.
@monners You game much?
 
Roger
 
What kind? You on Steam?
 
Not so much these days though. Work...
Yeah, on Steam and Origin
m0nn3rs
 
Hi guys! Newcomer here.
 
3:44 AM
@Applecot ohai! Iz in ur internets, chattin ur overflowz.
 
@Applecot Run, you fool.
2
 
on how to remember the date in datepicker
var from = $('#from').val();

	$( "#from" ).datepicker({ dateFormat:'yy-mm-dd',
	  changeMonth: true,
	  changeYear:true,
	  changeDay:true,
      numberOfMonths: 1,
	  defaultDate:from,
	  onClose: function( selectedDate ) {
        $( "#from" ).datepicker( "option", "fromDate", selectedDate );
      }

    });
hey guys need help here
 
m59
win LoTR reference
 
m59
hahaha
 
3:55 AM
Isn't FROM a reserved word?
 
m59
@user2046410 I wouldn't think anyone would know what datepicker is....
I don't know at least.
Nor do I want to.
 
@Sarah 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.
 
@m59 ...you don't know what a datepicker is?
 
Is that a little like speed dating?
Or arranged marriage?
 
m59
@Jeremy oh, actually I do, lol.
I didn't realize I did until I googled it.
@user2046410 there's a zillion of those. Why not look at the documentation for the one you're using?
@monners oops, forgot to lolz. I really did though
 
4:10 AM
genius
 
@rlemon I'd laugh 10x harder if I knew it was you who had that conversation
 
@Crysfel 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.
 
5:04 AM
can't we use select2 plugin of boot strap multiple times in a page??
 
@alio 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.
 
what's up dawg?
@rlemon
 
What we call a person who always sleep?
 
0
Q: Redundant Parameters in Google Analytics JS Snippet

Ofer ZeligGoogle Analytics provide this snippet of code to copy and paste to a site: <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m...

 
sleeper
 
5:17 AM
I thought so.. ok thanks
 
FUCKING ZEPTO
 
can't we use select2 plugin of boot strap multiple times in a page??
has sumbody answer for this??
 
m59
I can't understand the question.
I'll take a guess...

"Can you use twitter bootstrap components multiple times on the same page?"
is that your question, @user2206616?
 
exactly
 
m59
Of course. What's your problem?
 
5:24 AM
but the plugin named select2 of bootstrap it takes only id as selector
 
call it twice?
 
m59
@user2206616 Oh, I'm not familiar with that one. It isn't an official bootstrap component. (as far as I know), but you should be able to pass in a different id.
If it's using id's, it's probably garbage anyway.
 
calling twice even doesnt work @JanDvorak
 
m59
can you post some code?
exactly what are you doing?
 
<select name ="country" id="e1" class="select">
            <?php foreach ($country as $c) {?>


            <option value="<?php echo $c->name;?>"><?php echo $c->name;} ?></option>

             </select>
            <?php echo form_label('State/Province*', 'state');
            echo form_input('state', '','class="required state"');
            ?>

            <select name="state" id="e1" class="state1">
            <option value="">-----Choose State-----------</option>

             <?php foreach ($state as $s) {?>
in jquery $("#e1").select2();
 
m59
5:29 AM
<select name ="country" id="e2" class="select">

$("#e2").select2();
 
hi guys..
 
thanks buddy it really works
 
guys ,,have u ever tried hosting D jango website on amazon ec2 ??
 
m59
@user2206616 you need to stop whatever you're doing and learn even the most basics of javascript.... that's about as basic as it gets.
 
@Mr_Green Snorlax?
 
5:33 AM
i thought select2 only takes e1 id so it got confusing
 
@O0oO0oOO0ooO ok thanks
 
m59
@user2206616 that's exactly my point. You have no idea what any of that means. You're just calling a function. You can call it as many time as you want. It doesn't "have" e1. It used e1 and did what the function does. Then you called the function again, passing in e2, which it used.
 
> I can see you're using jQuery. You should drop that and use your head
 
m59
I wonder if wix and the like are killing the freelance website development business..
any thoughts?
 
6:01 AM
Do you guys know any free web hosting service?
^ good one
 
google app engine
 
@m59 No. Dynamic > static. These kinds of "website creators" only serve very basic needs, like "Tom's Stamp Collection Site"
 
m59
@Zirak I just did my own investigation and it was interesting :)
every Wix site had a 6 second load time, minimum
and those were the sample sites it was promoting
I'd say it's high end awful websites.
 
6:17 AM
@JanDvorak Do you know how to use "google app engine"?
I am going through the site but just asking
 
they support go, python (I think) and Java for server-side
 
m59
night peeps
 
I will learn python for that
but how to upload my files?
got it
 
Does anyone have good familiarity with WebStorm? Does it have a feature that automatically declares a variable or a function if a keyword is not resolved yet?
 
6:47 AM
@tallandroid 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.
 
0
Q: Dealing with selection() range() and DOM to get indices of text in div

Adrian VatchinskyI am attempting to put together a java script that, upon a user's selection of some text inside a specific div id, will return that selection's start and end indices ignoring internal html tags. Consider the following example: <p>Some text that will be ignored</p> <div id="X"> <p>Here is s...

 
7:02 AM
Won't work. Also, there's no need for an extra library like that — Jan Dvorak 43 secs ago
 
7:35 AM
Hey, can someone verify that what I'm seeing is actually a part of this page and not just some plugin hack I've picked up?
http://www.geemultimedia.com.au/guiding-principles.asp
In the breadcrumbs, does it have a link that says 'WINDOWS 7 PRODUCT KEY' ?
 
7:45 AM
o/
 
?
 
yeah, that link is there
 
so... they've been hacked?
Unless this is some huge industry joke I'm not in on...
Well, I suppose that's Microsoft in a nutshell. Snap!
Kidding. Jeez
 
well, that's a weird one. are some of those links on other subpages as well?
 
I wasn't aware that we can create triangles with simple css properties stackoverflow.com/a/18073830
 
7:55 AM
that works quite well with css-borders
 
Owl
A beautiful tuesday to everyone!
 
@Owl It's Tuesday? Who gives a hoot?
 
Owl
@monners :D only 3 days to weekend :)
 
what is the link to tutorial on how to write question .. something like ssce.com or whatever
self-sufficient something
 
@Owl what time is it where you are?
 
Owl
7:59 AM
but, I need a little help, please, I want to fadein and out tweets, but my fiddle isnt fading out jsfiddle.net/5c8S5
 
@Owl I was playing off your name
 
Owl
@phenomnomnominal Tuesday 10:59 6.8.2013
 
what sort of math do you have to use for that to be 3 days to the weekend?
 
Owl
@phenomnomnominal a throughout positive math!
 
for instance, it's 8pm on tuesday here. I have 3 days til the weekends. You still have most of tuesday, so, lets be honest, 4 days.
 
Owl
8:00 AM
I have the fiddle and it should be correct, just fadein the tweet, delay a little and then fadeout, but it isn't working
@phenomnomnominal ok, you could be right :)
 
Is that what you want?
 
Owl
@phenomnomnominal thanks not really, I want just to display the tweets on the same position one after another
 
well thats not even kind of like what your code does
 
Owl
oh :(
I am still learning js and jquery... well it displays them, but does not fade them out before?
 
Owl
8:06 AM
@phenomnomnominal thx so much! so I had to change the fadein first.. (sounds logical) and add a delay to that too
 
It's still not a very nice way to do it
 
Owl
oh why that?
 
I think it would be nicer to put the tweet objects in a queue, have a function that takes a tweet from the front of the queue, fades it in, waits a bit, fades it out, then puts it back on the end of the queue
 
Owl
ahaa ok, do you know any tutorial where I could read more about it? do you mean a queue in jquery?
 
Nah I don't know any tutorials. It would basically be an array. Just a normal JavaScript array.
 
Owl
8:12 AM
oh ok, thx so much, never done js arrays before
 
i'd suggest going back and learning some basic javascript stuff before doing jquery.
 
Owl
oh yes I know... I have already read the w3c tutorials from beginning... Just hope to find time to read more :(
 
do you mean w3schools?
 
Owl
yes
 
that site has nothing to do with w3c
and it's really bad
 
8:14 AM
!!choose 'w3schools' '3rd grade english assignment'
 
@monners w3schools
 
No wonder Cap 6 is so clueless
 
Owl
lol codeacademy seems a lot of fun.. like in programming classes in school
 
Fun? FUN? This is fun to you? This is serious sh*t, man!
 
Owl
8:17 AM
oh yeah.. type your name... lol
 
Err, I mean yes. Yes it is.
 
@Owl I would seriously recommend it
If it's easy for you, it won't take long
 
Owl
I have learned programming already, all the basic stuff, but in php
 
@phenomnomnominal Where'd you get your start, Uni?
 
agreed, I think codeacadamy is a good starting point to get your feet wet
 
8:19 AM
Well learn it again in JS
 
Owl
and does codeacademy teach js?
 
@monners yeah. Bit o' C# & Java
 
That's the devils nectar!
 
Yeah fuck that shit.
 
Owl
I learned COBOL in school. That was some serious stuff,,,
 
8:20 AM
Most of the devs I know that work in web who got there start in Cx/Java have the look in there eyes like a wild animal that's been caged for too too long
 
Owl
ok thx new student in codeacademy enrolled :) have a nice day everyone! and thx for the help!
 
poster boy for fastest in the west problem stackoverflow.com/a/18071511/995876
the answerer doesn't even have any understanding himself, but as long as he answered first, all give him upvotes
 
@Darkyen I figured out another way. I'll wrap handling openRTSP to a shell script. That way there won't be any bridging issues: What creates and kills will be on the same level. Might work.
 
8:36 AM
@Zirak If your parents were robots, what language would they run?
 
@monners Coffeescript, just to spite me.
 
lol
 
APL
 
\o
 
8:37 AM
Sup bro.
 
Hmmm, that might make a good community question. What would be the appropriate stackxxxx to ask that in?
 
@OctavianDamiean not too much, work work work
 
@monners douchebaggery.so
 
@OctavianDamiean These things you say. They hurt so much....
 
You've asked for a site, I told you.
 
8:41 AM
@OctavianDamiean Exactly how much children's blood do you drink a day (in a metric measurement, please)?
 
Between 2 and 4 liters. Depends.
It has to be newborn blood though.
 
Tangy
 
Depends. Near Passover he has to kill all those Christian kids to make Matzas.
 
Like, they get born, get their throats slid and the blood pouring out of their slid throats gets collected in PET bottles.
 
Recyclable I hope!
 
8:44 AM
It's rather easy because they are so helpless.
 
The bottles, obviously
 
Yea, the babies ain't recyclable, tried it but that project failed miserably.
 
[x] Recycle bottles
[x] Recycle radioactive waste (yummy!)
[ ] Recycle babies
Soon...
 
@Omar 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.
 
Welcome Omar. We were just discussing the consumption of babies. Please, feel free to join in.
 
8:52 AM
consumption of babies ??? :O
 
HOLY FUCK AT DEXTER
 
0
Q: Javascript parsing performance

NitheshI am using some string which contains an html. As follows var pagerHtml = '<span>No.Of Records</span><select class="rmselect" id="records" ><option value="10">10</option><option value="20">20</option><option value="40">40</option><option value="80">80</option><option value="100">100</option></se...

 
@phenomnomnominal season 8? If so I will leave as I haven't started watching it yet :/
 
well , i'm here to take some help
 
I'm not going to say anything, just HOLY FUCK
 
8:54 AM
@Omar Yea, don't you like the feeling of sipping some fresh 'n warm baby blood?
 
is here any person who have experience of working with socketIO ?
 
@Zirak yep, we're a pretty funny bunch
 
@phenomnomnominal ha! I will return to it once I finish Breaking Bad.
 
@Omar a little
 
gud @GNi33 , with which server ?
 
8:55 AM
there's socket.io for anything else then node?
 
yeah , i'm using it with netty server in java
 
o_O
Socket.IO!?
 
and you're just using the client-module?
 
Are you sure?
 
does that even make sense?
 
8:56 AM
no , i'm using client & server both
 
@Zirak let me known if it does
 
but i'm getting some problem , that is only uses xhr-polling , not even websockets of flashsockets
websockets or flashsockets *
?
 

« first day (1025 days earlier)      last day (3938 days later) »