« first day (1346 days earlier)      last day (3604 days later) » 

12:02 PM
I went out with a girl, and we complained about how "going out" is so boring and it's always either drinking or eating or the occasional movie
so I said I want to be more exciting, and she said "let me know when you find something exciting to do"
it's been 2 weeks :(
 
@Mosho Sorry to break it to you, but that was an invitation to do something "more exciting" :P
 
1 message moved to Trash can
do NOT come between my sentences
 
That sounded like an invitation to me @mosho
 
that's because you are virgins
but yeah, could be
 
12:06 PM
@SecondRikudo Grammar is the difference between knowing your shit and knowing you're shit.
 
holy shit
 
:D
I am faster :D
 
:(
 
@Neil that's racist for shits!
 
12:08 PM
what's the jquery method similar to .get() to get the jquery object?
@jAndy you're the jquery pro
 
@FlorianMargaine what do you mean? the XHR .get?
ah, nvm
 
@towc I didn't realize shit was a race
 
there's a method thath has a different name but has the same effect as .get, except it returns a jquery object instead of a dom object...
damn, can't remember it
 
@Neil exactly! that's why it's racist
 
@towc no, that's the opposite of racist
 
12:11 PM
hmm, inb4 flag
 
uhh
.eq?
 
vs7
Hi , I'm trying to integrate AngularJS with my site and it gave me "Uncaught object " error

Here is the URL where i'm trying to add AngularJS : http://googlex.in/charity_sound/artist-page/
 
whut
 
@FlorianMargaine racism is when you differentiate two things as 2 different races in the same race, he just admitted there's not 'shit race', so it must be in another race, and the most similar race to shit known to man is man itself
 
@FlorianMargaine .eq()
also as a selector, $("td:eq(2)")
 
12:14 PM
@towc There's so much logic fail here...
 
@Mosho yeah thanks, found it 2 minutes ago :P
 
!!define racism
oh, forgot
 
I just opened this api.jquery.com
 
The belief that all members of each race possess characteristics, abilities, or qualities specific to that race, especially so as to distinguish it as inferior or superior to another race or races:
that's from the oxford dictionary...
 
12:16 PM
@Mosho and you googled what?
 
but wait... am I racist if I say that europeans are usually slower than africans at running?
 
The entire idea of "races" is misguided. We are all of the same race. There are no raceses between humans. There's much too little genetic difference between these so called "races"
 
and that tribals know less programming than canadians?
 
@FlorianMargaine jquery get jquery object
 
apparently that's racist
 
12:17 PM
@towc No, because that has a very good reason.
 
@SecondRikudo according to the definition it's racist tho
 
@FlorianMargaine first result, but interestingly it doesn't show for just "get jquery object"
 
@towc The first is more of a geographical thing
Africans train at high altitudes with little oxygen, so when they compete at environments richer with oxygen they get an energy boost.
 
@Mosho weird
 
also, the definition it's racist
it says that people are of different races
according to the definition and to the current knowledge saying that turtles are slow it's racist then?
 
12:19 PM
@towc Is it racist to say that statistically there are more minorities in prison than caucasians? I would say no
 
@SecondRikudo you are mixing up race and species
 
You could call it discriminatory maybe, but racist implies intent
 
races are defined as those genetic differences
deal with it
same as dog races
 
ok, it's decided: my next minigame will be a 3d flappy bird
 
12:21 PM
I think one of the biggest mistakes today is the assumption that we're all equal. We're not. It's just that there is far more difference between two individuals than two races, so any logic based thereof is wrong
 
@Neil guess where does that assumption come from? Christianity
 
@Neil Generalization is almost surely wrong.
 
 
@towc No, it comes from political correctness
 
There are plenty indians who are much better than myself at programming. And yet we constantly complain about how indians developer community sucks etc. etc.
 
12:23 PM
there can be too much political correctness
 
I suggest we stop the conversation before we get too deep into politics and religion
so, how are you all today?
 
@towc I can handle it if you can. *testing stare*
 
@SecondRikudo that's why we have expectancy
 
@Neil I like cheese
 
12:26 PM
wonderfl.net/c/tNGi/fullscreen <--- satisfactory game
 
@towc lol got stuck on the last pixel though
 
@SecondRikudo the end is mainly luck
 
really? my patience expired after exactly 8 pixels
 
@Mosho then you get more and more balls
it's exponential
 
@Mosho Keep it up
 
12:34 PM
I'ìm not even playing anymore
 
you know right that if you hit the falling pixels it will turn into a ball, right?
 
howdy
 
@DrogoNevets yd woh
 
@towc no thanks, it's all fun an games until you can't stop
and end up like this
 
@towc ooooooooooooooooooooook
:P
 
12:36 PM
@mosho you realize that you don't only have 1 ball?
@DrogoNevets koooooooooooooooooooo
 
CLEAR *chair pretzel sideways smiley nail in foot*
 
its almost too hot here!
its that time of year again: bbc.co.uk/sport/live/tennis/26944765
 
!!weather Houston
!!live
!!hello?
Bot got aids and died again
 
Or you're mindjailed again
 
caprica is indeed poorly :(
 
12:40 PM
Nope, I would've gotten a mindjailed message.
google.com/… -- I've got a rainy week ahead of me
 
Hot rain, though
 
Humidity. Gross, sweaty, hot, rainy, humidity...
 
Hey guys :)
 
12:45 PM
I've got a little question regarding regex in JS
 
not my strongest point, but go on
 
I am of no help when it comes to regex
 
Do you know how to split PY2014M6D23TH14M10S50 into P, Y2014, M6, D23, T, H14, M10, S50?
I have the exact same problem, I suck at regex
 
Seems like some really arbitrary rules.
 
thats what i was thinking
are the letters always the same?
 
12:46 PM
It's not
It's Y for Year
etc
 
yes they are
 
Ohh... @Cereal, nice catch
 
P= period, Y= year, M= month, D= day, T= time, H=hour, M= minute, S=second
 
and M is 6 not 06?
 
You could split on T to get Date and Time seperated, then you can split on those separately to get each value
 
12:47 PM
But PTM15 is fine
And yes 6 is possible but 06 is possible too
 
I'd go with 06 to make it more consistent
 
It's php
php's timeinterval thing
 
im with @Cereal split on the letters
 
I see your problem; php
 
12:49 PM
T is optional, PD1 is also possible
 
@dragon112 this is the javascript room here
 
Tell me about it -_-
 
if you have a php problem, go here chat.stackoverflow.com/rooms/11/php
 
Well I get that string in javascript and want to parse it in javascript
the only php issue here is that it comes from that lib
 
why don't you simply use substring?
 
12:50 PM
Your month would have to be 06 though so that your substring is consistent with if it was 12, etc
 
@dragon112 can you not use PHPs format function to format it how you want it?
 
// THIS DRAWS THE IMAGE.
var img = new Image();
socket.on('render', function(data){
  var arrayBuffer = data;
  var bytes = new Uint8Array(arrayBuffer);
  var blob = new Blob([bytes], {'type': 'image/png'})
  img.src = URL.createObjectURL(blob);
});
// THIS DRAWS AN "EMPTY" IMAGE.
var imageData = ctx.getImageData(0,0, 800, 600);
socket.on('render', function(buff){
    for( var i = 0; i < buff.length; i++ ) {
      imageData.data[i] = buff[i];
    }
    ctx.putImageData(imageData,0,0);
});
 
...
 
I don't get it.. both the same arraybuffer.
 
Do not randomly paste code chunks again, please.
 
@Schoening Do you have a question to ask, or are you showing off?
 
I have a question to ask.
 
Well it's a date interval, not a date.
 
The imageData doesnt draw the image and I don't know why.
 
12:52 PM
@dragon112 as is that method
DateInterval::format
 
Hmmm you know what I haven't seen that before, let me check :D
 
@dragon112 read the documentation ;) thats all i did
 
I have read lot of datetime and dateinterval documentation, I guess I'm just going blind at my old old age of 25 -_-
 
@dragon112 DateInterval only has 3 functions, im not so sure you have read "a lot"
 
what if I livestream the making of 3d flappy bird?
could be a cool experience
and would also be a good way to learn
and to teach to newcomers aswell
 
12:57 PM
@towc it could be, but youd have to be VERY confident in your coding abilities for it to work
 
@towc I'd rather watch someone die
 
@DrogoNevets I'm not confident at all, but by livestreaming people can tell me what I'm doing horrbily wrong
@NickDugger I'll take that as constructive feedback...
for now :P
 
@towc i wouldnt hang around all that long tbh
 
@DrogoNevets would you really?
 
@DrogoNevets I guess I was focusing on the constructor, thanks for the help and sorry for being careless about reading the docs :)
 
12:59 PM
Stop trying to piggyback on a trend. If it's JUST for learning purposes, then fine, but even then, nobody will care to watch you stream the making process of a clone.
 
@DrogoNevets oh, read would
 
I have to say, I've already thought about livestreaming on twitch some coding session
the biggest issue: streaming software. Really. +_+
 
@FlorianMargaine Open Broadcaster works for me
 
1:01 PM
^ I second Open Broadcaster
Really easy to use
 
@FlorianMargaine I've done it. Open broadcaster is good for it
 
oh cool
thanks
 
is that windows only?
 
doubt it
 
1:03 PM
@towc sorry, id get bored
i wasnt very good at lectures either
 
@DrogoNevets yeah, don't worry
 
@dragon112 you not go to uni?
 
maybe, one day, eventually
 
Ah, darn
> Mac and Linux are planned in the future.
 
@towc as long as it's original work, and not you streaming yourself making a clone.
 
1:04 PM
@FlorianMargaine They said they were working on a multi-platform version a while ago, not sure if it got completed
 
@KendallFrey it was
not sure of the progress of this ^
last commit was 2 days ago
yay
apparently the linux build works since less than a month github.com/jp9000/obs-studio/issues/105
 
@FlorianMargaine If it works, sweet. If not, Ill continue to boot windows so that I can stream easilly
 
You can stream with ffmpeg
I have the command aliased, but I'm not at home atm
If you want it, I can ping you in like 8 hours
 
That would be sweet - thanks
 
Anyone familiar with a relatively small but useful canvas library?
I saw paper.js, but it is 83kb
 
1:12 PM
so you're counting that as big?
 
Is that small for a canvas library?
 
What sorts of things do you need a lib for?
 
I'm kind of messing around, so really just something that smoothes out the rough edges
 
@Neil ive no idea, not a canvas guru, just wanting to know what your idea of "big" was as with that size i find it to be quite subjective
 
Well I've never used a canvas library, and I got by just fine.
 
kinetic is 112k
 
@DrogoNevets I base myself on what would be considered large for a typical javascript library
 
is there a function in ko that can convert JSON into a ViewModel?
 
1:16 PM
maybe canvas libraries are expected to be a bit beefier
 
let me know what its like
 
@DrogoNevets ty, I will check it out
 
it didn't go well
the broadcaster is too slow
it's still at the part where I send you the link
 
You mean the stream is ~10 seconds behind?
 
That's normal
 
1:21 PM
@Neil just ran through the demos, looks pretty good
 
Theres always a small (10-30 second) delay
 
100% normal
 
@KendallFrey no, 10 times slower
 
what does that mean?
 
every 10 seconds it streams 1
 
1:22 PM
frame rate is low?
are you trying to stream more than you have bandwidth available?
 
If your internet/computer sucks it'll do that too
 
^
 
@KendallFrey probably
 
What are your settings, and hardware?
 
how fast in your upload speed?
 
1:23 PM
Lo all, looking at source maps generated by the closure-compiler. It outputs a "sources" key, which is relative to the PWD which calls it, does anyone know if there's a flag to configure?
 
@Cereal I have a 64-bit 3.2GHz laptop
4GB ram
 
You need at least 500Kbps to stream anything decent. If you're streaming code, and want it to be readable, you'll probably want 5Mbps.
 
and low internet
 
@towc I have better specs on my desktop, and if I dont have a good upload speed, its still shit streaming
 
You also need to configure the bitrate in the streaming software, so it doesn't try to send more then you have bandwidth
 
1:26 PM
@KendallFrey it's currently set to 1000kb/s
which is already quite low
 
What's your upload speed?
I normally stream around 1000Kbps without issue
 
@KendallFrey 0.5Mbps
just tested
 
well, yeah, that's a problem
 
@towc 0.5 is too low
You can
Go to obs, and set the bitrate to like 250kb
 
Drop your bitrate to 400Kbps maximum
 
1:27 PM
and lower the resolution
 
And don't expect anyone to see what you're doing
 
Chances are no one will be able to see any code though
 
right
 
well, let me test
 
When I streamed the bacon game jam, I had to output @ 1080p just to see the code
 
1:28 PM
I have 4 times the upload speed, and when I stream games it's still poor quality
 
I have to output at 3000kb bitrate to have an acceptable quality
 
twitch.tv/slartibartfast_your_god tell me if you can see anything
 
@KendallFrey I average 1.5 upload, and I can stream good quality games, strange
 
it's not toooo bad actually
 
@BenCraig Probably have a different opinion of good quality =p
 
1:29 PM
@towc reasonable
 
@BenCraig maybe your idea of quality is different :P
 
still, 10 seconds behind, but good
 
@towc Yeah, I see you
 
you can read the code too
 
Yeah, it's legible
 
1:29 PM
It's not like I normally have terrible quality
 
0
Q: Is this actually a js promise?

mitomedI have this code in a javascript module (I'm using Require js and Knockout) var getPersons = function(personsObservable) { personsObservable([]); var getOptions = { url: 'api/persons', type: 'GET', dataType: 'json' }; return $.ajax(getOptions) .th...

 
can you also hear me?
 
but not anywhere close to HD/HQ
 
Hi all,
 
Try not to change windows a lot though. Low bit rates don't handle movement very well
 
1:30 PM
Oh wow lag is pretty horrible.
 
anyone know why this button does not work in I.E 7
 
@KendallFrey Okay true - Im used to garbage quality, since until recently I had a potato for a computer
 
<input type="button" id="btnNext" value="Next" onclick="NextPage(); return false;" style="display: block;">
 
Im still losing my mind at my 300 fps
 
1:30 PM
@SecondRikudo The site won't make a differece
 
@Corbo152 IE7? No. Just... no.
 
@towc yeah we can
 
@Cereal It would. Twitch introduces a lag on purpose.
 
That's true, it does give a delay
 
@NickDugger i know what you mean but the testers are saying it has to work for all web browsers lol
 
1:31 PM
But even on hitbox, the delay will still be 5-10 seconds
 
Well fuck your testers. It's 2014, not the roaring 20's.
 
Twitch just sets it to 30 for god knows why
 
@Corbo152 Oh, does that mean it should work with IE4 too?
 
well, the delay isn't really that important
 
@towc Are you accepting suggestions in chat?
If you are, 30 sec lag is unbearable.
 
1:32 PM
@SecondRikudo snigger
 
@SecondRikudo sure
 
If you need to collaborate that quickly, then don't stream, use screensharing
 
Oh god, can we start some twitch chat spam on your stream?
 
@SecondRikudo Netscape Navigator!
 
@towc Hi and we know that Telecom is a shit!!!
 
1:33 PM
@SecondRikudo all web browsers within reason lol
 
IE7 is not within reason.
 
@Corbo152 I would argue ie7 is beyond reason
 
i hate IE altogether
 
how would I promisify this:
function run(cmd) {
    exec(cmd, function put(err, stdout, stderr) { sys.puts(stdout); });
}
 
ie8 is the very last web browser you should have to support.
 
1:33 PM
@Corbo152 IE7 is not within reason.
IE8 ships with computers with Win7 installed illegally (and have no SP1)
Computers with Win7 SP1 get IE10 IIRC
There is absolutely no reason whatsoever to support IE7 or less.
 
You can manually reset your IE to 8 on Win7, though (which is what I did so I could test on it)
 
I claim that there is no reason to support IE9 or less
 
There is still reason to support ie8, even if it hurts.
brb, scrum
 
@NickDugger Find me 5 people in the whole wide world who did that and not for testing purposes, but to actually surf on IE8 because they want to, and I'll give you whatever you want.
 
My Grandmother and her 4 friends
 
1:40 PM
@SecondRikudo my parents (theres 2)
my parents in law (to be) theres 4
 
@FlorianMargaine Promise.delay(n).then(foo).delay(n).then(bar); do foo and bar have to return promises?
 
@DrogoNevets Seriously?
What's wrong with your family
 
@SecondRikudo governments running win xp? they want to run that crap :)
 
Switch family :D
@RoelvanUden That's different.
 
me when i am testing various things on other websites for ie8 compatibility, theres 5, ill have the new BMW R1200GSA LC please
 
1:41 PM
We're talking about Win7 or Win8 users, with IE11-10 which deliberately downgrade back to IE8
 
@SecondRikudo the youngest parent is 58
 
'Disconnected by server'
ok, probably going to give up the livestreaming idea
 
I'm trying to create a custom field for a post within a nodejs-powered CMS, I cannot locate where there current fields are being called / saved.
 
@towc If you're still interested in recording you coding, try saving it locally. Just start recording whenever you're coding, and when you're finished with the project make a timelapse. Those are still super cool
I believe obs does local recording
 
room topic changed to JavaScript: DO read this link: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf If you have a PHP question, ask @SecondRikudo. If you have a promises question, ask @BenjaminGruenbaum [ecmascript] [javascript] [undefined]
 
1:47 PM
@Cereal yes it does
@Cereal coding timelapse! That's a great idea
 
@towc youtube.com/watch?v=KoR8Ra_aNNE =D (might want to mute it)
 
anyone recommend any good cross browser testing plugins for chrome?
 
@Cereal that's art!
 
what's about mocha?
 
@DrogoNevets I went there some time ago
 
1:52 PM
yay, another zombie apocalypse show
yay
 
so I'm a bit confused on how to go about doing something... I have a flask backend and want to create a pagination object. How would the javascript side be able to gracefully change pages on this object without using a new request, thus causing it to regenerate?
 
what's a pagination object
 
user1596138
Wake up. Truck battery is dead, battery charger is broken. Everybody else is already gone for work...
 
@Jhawins off day!
 
@Mosho it's a class that I made that does some very common operations for pages. I can copy and paste it, it's pretty small
 
1:54 PM
@towc fun fact: I killed my desktop encoding the timelapse
stupid amd cpus
 
@Crow do whatever you want with it, client side?
 
@dragon112 dod you not read around the subject? if not learn that skill, ;)
 
user1596138
lol I bypassed the auto circuit breaker on the charger, and then for some reason the plug was cut off... So I stripped wires and literally just plugged them bare wires straight into an extension cord.
 
@Mosho but the problem is, whenever I do a request, the backend will regenerate the object. There must be some sort of javascript library for this
 
user1596138
So safe
 
1:57 PM
@Crow I don't understand the problem
 
!!doge safety,redneck
 
       wow
                          many safety
much redneck
 
function cmd() {
  return new Promise(resolve, reject) {
    exec(someCommand, function puts(err, stdout, stderr) { if( err ) { reject(err); } resolve(); });
  });
}
Promise people ^^^^
 
user1596138
But I did get to work.
 
am I doing it right?
 

« first day (1346 days earlier)      last day (3604 days later) »