« first day (1281 days earlier)      last day (3665 days later) » 

5:01 PM
Only the modes containing DH_ or DHE_ use Diffie Hellman: openssl.org/docs/apps/ciphers.html#SSL_v3_0_cipher_suites_
 
@EricSant'Anna 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.
 
@ben, or anyone?
 
Use templates
!!tell KissKoppány google MustacheJS
 
user3071008
is there an Object.observe-like function for non-object variables?
 
5:16 PM
No, there is not.
How would that even work?
 
@user2495207 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.
 
thank you
isnt that a problem if I generate a lot html code with js?
 
@Emmanuel 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.
@user3184807 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:31 PM
@KissKoppány other than not caching jQuery object's it looks reasonably written
@KissKoppány you could use <template>
 
@user3184807 what the heck are you talking about?
 
@RUJordan QUIT CHANGING YOUR TWITTER NAME
 
12 messages moved to Trash
Ok then.
1 message moved to Trash
You kids play nice now.
Lol @Connor did you just downvote him so he gets below 20 rep and drops below the 'able to speak' in chat?
 
wouldn't be the first time
 
That's not very nice :P
@SomeKittensUx2666 ?
 
5:41 PM
@SomeKittensUx2666 oh really?
 
I can think of one other time that a troll got downvoted to lose chat privs.
 
Was it @rlemon ?
 
He deserves everything he get's, but I believe it's a regular hiding behind a fake account like Neil did
I downvoted him, because it's a shit answer
and he deserved it anyway
 
@Connor Neil is another regular?
 
@BenjaminGruenbaum Well, the one with the elastic band ball IIRC
 
5:43 PM
Neal, totally not the same guy.
 
what?
who was it then?
a long time ago, got caught out
because he posted a picture and it said neils other account
remember?
now @user3184807's profile says please delete me
well, you're a troll and i got shit to do ;)
 
What did I miss?
 
Nothing interesting,
 
@Loktar just picked up a 760 2gb
 
@rlemon ohhh how convincing ;)
 
5:46 PM
Gonna watch Transcendence , hope it's better than "The Amazing Spiderman 2" which was "eh".
 
what do you mean with template?
 
!!tell KissKoppány google html template tag
 
thanks :)
 
So i redesigned the windows flipview, gosh .. what a bad experience.
 
ewwww
@SomeKittensUx2666 make it Caprica Seven
 
@BenjaminGruenbaum ohh, the spelling, ha
 
@Maha 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.
 
was trying to make a progress bar...
just calling some canvas stuff whenever progress has been made in the generation of my world
I got all of the canvas stuff done, but the problem is calling it
 
it wors only with ff and chrome
 
5:56 PM
because, since I'm using it while scripts are being executed, it means that it will not render until the scripts stop the execution, right?
 
works
 
I thought that calling a timeout after canvas stuff is called would fix it... but nope
what do you do to make it work?
noone? ;(
a cute cat will die somewhere if you don't help me
 
@SomeKittensUx2666 he's threatening you
 
exactly... you better help me
 
@Loktar image-rendering="optimizeSpeed"
was why IE and Firefox were skyrocketting.
Chrome was being set to optimizeQuality i guess
 
6:09 PM
anyone in US?
 
yea
 
How can you tell a site was built by microsoft or under microsoft influence ?
 
@AbhishekHingnikar It only works in IE8...?
 
@twiz can you view this video? youtube.com/watch?v=cqDvkuLkpzs apparently it's blocked in the US
 
Will suck ass in chrome but skyrocket in Internet Explorer
on chrome it stutters, on internet explorer its smooth as native
 
6:11 PM
@Connor I can see it
 
@twiz Cheers
 
haha what am I watching....?
 
@CHromeDevTeam Do you know your browser sucks ass for huge images ?
there is something seriously wrong with rendering in chrome -_-
 
Oct 17 '12 at 15:19, by endri
i once entered the stackoverflow javascript chatroom and lost all my reps
3
found it @Connor @BenjaminGruenbaum
 
@SomeKittensUx2666 ha
gutted
 
6:14 PM
@rlemon ...the worm?
 
My biggest problem with chrome is that auto-update seems to be broken on the linux version....
Basically Chrome on linux is the new IE<10
hahaha
 
6:29 PM
bounty
 
!!afk gotta help a friend move a couch
 
Is new engine.composition a good replacement for new engine.directive?
 
Something I have been working on for a while now http://youtu.be/eX0DLa6G4zk . Coming soon to the Web & App Stores near you, spcl thx @DrPatil78
a few retweets might help me get a lil hype.
 
6:47 PM
@rlemon nice, I see a fire method in there :D
 
turned out that almost all of the time that my minigame requires to generate the world is not executing the scripts, but actually downloading them
and there doesn't seem to be a method of showing the download progress with require js
so there goes the loading bar idea
 
in HTML / CSS / WebDesign, 32 secs ago, by rlemon
I wanna do a mine storm clone. but i'm not sure if I want to 100% copy it or put my own spin on things
 
googles mine storm
 
I was considering making something like that as well at some point
 
6:56 PM
doesn't look to complicated at all...
 
was a fun little game
 
says the guy who -insert strange fact about me here-
 
@t1wc it isn't difficult to make, but it is a challenge to pull it off and make the game enjoyable to todays audience.
 
@rlemon your code is prettier than mine :P
 
(while still holding the nostalgia)
 
6:58 PM
</understatement>
 
context.fillStyle = 'white';
context.fillRect(0, 0, width, height);
context.fillStyle = 'rgba(0,0,0,0.11)';
 
look at this pyramid I made
 
newest trick I came up with.
 
 for (i = 0; i < circles.length; i++) {
    c = circles[i];
    if (c.ngls.length > 1) {
      c.ngls.sort(function(a, b) { return a[0] - b[0]; })
      for (j = 0; j < c.ngls.length; j++) {
        var ng1 = c.ngls[j];
        for (k = 0; k < c.ngls.length; k++) {
          if (j !== k) {
            var ng2 = c.ngls[k];
            if (isBetween(ng1[1], ng2[1], ng1[0]) && isBetween(ng1[1], ng2[0], ng1[0])) {
                c.ngls.splice(k, 1);
                k = k=== 0 ? 0 : k - 1;
              }
 
when you do the 'fade' technique on canvas it leaves traces.
so the trick is to fade the entire canvas in before it starts.
no more traces left behind
 
6:59 PM
@rlemon you didn't knew about it?
 
I knew it left traces, I had never thought about how to eliminate them before
never cared
@Mosho o.O Twitch
 
broken, but uses the same concept :P
those should be light particles hitting ione clouds
but that's not the point
 
@rlemon this turned out to be pretty complicated
I've been hacking it into working and that's how it looks :\
 
new question: is there a way to keep track of downloading progress in require.js?
 
just have a spinner
 
7:05 PM
@Mosho really?
 
with the name of the file currently loading
 
@Mosho and I have no idea of how to do that
 
what do you mean "really"
 
@Mosho was ironic
thought you were ironic aswell
 
you can't even make a spinner? :| I mean I haven't used require.js but I doubt it's that hard
 
7:07 PM
@Mosho the prob is that I don't think require js gives any information about the current file it's downloading or doesn't keep track of it anyway
 
I thought you meant actually tracking progress of individual files
 
@Mosho that's not a problem
if you haven't used require.js it's very improbable you'd know the answer to that question :P
 
I can google though!
pretty old though :X
 
@Mosho uhh... it's prettu badly written, but thx for trying to help anyway ;)
I think I'm just going to have the user assume that smth is going on for now
or providing him with a good image while downloading stuff...
as I guess the MOJANG thing when you open minecraft does
 
7:19 PM
Hello I have a question about JS?
 
0
Q: Angular controller promises and testing

user2862639Im writing some unit tests for my controller which uses promises. Basically this: UserService.getUser($routeParams.contactId).then(function (data) { $scope.$apply(function () { $scope.contacts = data; }); }); I have mocked my UserService. This is my unit test: beforeEach(injec...

 
@Servant don't ask if you can ask, just ask
= yes, explain
 
@Servant 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 that took you some time
 
7:23 PM
in HTML / CSS / WebDesign, 1 min ago, by Some Guy
!!welcome Servant
@t1wc It was a bug
 
@Servant when ANY event occurs?
 
@rlemon you didn't know about the fade?
I thought you did
demo is cool so far btw
 
@t1wc Yes..
 
@Servant can you first tell us what are you trying to achieve?
 
also grats about the new video card!
 
7:26 PM
but no... from what I know there isn't something that gets triggered when any event is triggered
becouse that would have no sense....
 
@Servant What are you trying to do? Or are you just wondering?
 
@t1wc @1j01 Wait I'm now commenting in my question.
 
@SomeKittensUx2666 How long have you been together with your wife?
 
@BadgerGirl SomeKittensUx2666 is afk: gotta help a friend move a couch
 
@CapricaSix Thanks, and thanks again for getting me a boyfriend.
 
7:30 PM
@Servant answer=no, you would have to do it all manually
but the fact is that maybe you need help at understanding events in general, and we could help with that
 
cant remember who sent me the following code, but I cant understand something
$('form').on('keyup', function(e) {
var o = {};
$(':input', this).each(function() {
o[this.name] = this.value;
});
$('#result').html('<pre>' + JSON.stringify(o, null, 4) + '</pre>')
})
why is the "e" there in the function?
 
@t1wc @1j01 Here is my comment: stackoverflow.com/questions/23174347/…
 
@Servant So do you want an event for new elements? Assuming you're creating the elements and not some plugin, you should just set the content then. Although, there is a way to detect new elements.
 
it's finally working
getting those circles to behave together took me way longer that it should have
 
7:43 PM
@Servant body.addEventListener('load', doShitFunction)
 
@KissKoppány - e is a reference to the event, in that code it's not used, so it's not neccessary, I probably added it from old habit ?
 
@Mosho how did you...?
 
how did I what
get those to work?
 
how do you make them work toghether like that?
yeah
 
sweat and tears, some blood
 
7:45 PM
@KissKoppány The e ("event") is an argument passed to event handlers. You can include it or ignore it (or include it and ignore it.) You can use it to get what key was pressed in events keyboard events like keyup, so if you copied that bit of code from somewhere it would probably have it.
 
@adeneo okay, clear now :)
 
@ArmandG. 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.
 
@t1wc I have an algorithm, it turned out simple enough but I had to consolidate it many times
 
I can imagine it...
 
@1j01 thanks
 
7:48 PM
nope, I can't
you'd have to redraw the circles for every point of their circumference for what I have in mind
 
one more question, event because it is called e?
 
not even going to try
@KissKoppány e=short of event
 
@KissKoppány - It's called "event", but when passed as an argument you can call it anything you want
 
!!afk my planet needs me
 
so if I called x it wouldnt work?
 
7:50 PM
@KissKoppány - Try it and see (will work)
 
@multitaskPro 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.
 
sorry for these dummy questions but this part of js is killing me
 
@t1wc hint: math :P
ping me when you get back and I'll show ya
 
does anyone know a way to do vector graphics in JS (a library or such)?
 
@mosho
 
7:52 PM
@Mosho Make it work with https, damn it
 
@SomeGuy hmm, will check to see how, thanks for letting me know
 
Use this to include jQuery:
 
does anyone know a way to have javascript canvas scale a little bit better then they do with the built in scale method?
 
<script src="//code.jquery.com/jquery-2.1.0.js">
That's about all there should be to it
 
right
done
thanks
@t1wc first I determine the intersections between each 2 circles
it's a quadratic equation
then I resolve those with a loop to get a set of start and end points to draw
then I just draw arcs
 
7:58 PM
@Mosho that's the point that my mind is stuck at
 
it's solving this:
(x-a1)^2 + (y-b1)^2 = r1
 
and a1 and b1 are?
 
(x-a2)^2 + (y-b2)^2 = r2
coordinates for the circle's center
 
so, you're getting the distances between the centers, right?
 
so 2 equations, 2 variables (x and y)
no, I'm getting coordinates of the intersections
 
8:01 PM
I'm out :P
 
at school we're still studying linear geometry... I guess I'll understand it when I grow up
 
it's nice to learn things, even gasp outside school :P
 
@Mosho not when you're really tired and whatever you try to learn which is out of your range of comprehension just gets past you
midnight here
 
</excuses>
 
8:06 PM
yep
 
8:21 PM
is there any book where I can learn JS from? :)
 
@Raine 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.
 
not the basics only but much more
 
-2
Q: How is web page changing within the same website done?

user3525734For example, let's say we're at the homepage at www.fakewebsite.com and, when we look at the footer at the bottom of the page, we can see that there is an "About" button that you can click on--which you do so you get to know more about the company. The website refreshes and enters into www.fakewe...

 
@Raine thanks! :)
 
8:45 PM
@Kiss JavaScript: The Good Parts and JavaScript: The Definitive Guide are good too.
 
@Loktar installed the new GPU
no crashes yet :)
 
@bjb568 yay!
 
Can arr.map(fn); be considered a point-free style?
 
that depends
what's a point-free style?
 
Tacit programming is a programming paradigm in which a function definition does not include information regarding its arguments, using combinators and function composition (but not λ-abstraction) instead of variables. The simplicity behind this idea allows its use on several programming languages, such as APL and J and especially in stack or concatenative languages, such as PostScript, Forth, Joy, and Factor. Outside of the APL and J communities, tacit programming is referred to as point-free style, or more pithily as pointless programming, because of the lack of explicit arguments, or poi...
 
8:55 PM
awww yisss
 
nice
 
@rlemon +1 for beer :D
 
:)
 
It's amazing you have only one tab open.
 
been watching fullscreen youtube
old GPU crashed every few seconds
 
8:57 PM
@Oleg Judging from the definition of point-free style (I'm a big functional programmer just not familiar with that term) it's the function that can be point-free or not.
 
nice to be able to watch youtube again
 
@Raine can you elaborate? I'm a newbie in functional programming.
 
@Oleg So alwaysTrue = _.partial(_.identity, true) would be considered point-free since it has no "function() { ... }", it just defines the always true as a composition of other functions.
 
@Oleg (I'm using underscore to demonstrate some functional programming concepts that aren't built into JS)
 

« first day (1281 days earlier)      last day (3665 days later) »