« first day (1679 days earlier)      last day (3268 days later) » 

11:00 AM
@Julo0sS ftr, the issue that guy is talking about is reported here: bugzilla.mozilla.org/show_bug.cgi?id=594502 but I don't think that is the problem here. Lemme try your code locally.
 
Request URL:192.168.100.22:9001/socket.io/…
Request Headers
Provisional headers are shown
Origin:192.168.100.22
Referer:192.168.100.22/websocks
User-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.65 Safari/537.36
Query String Parameters
view source
view URL encoded
EIO:3
transport:polling
t:1432292276101-2
 
@Julo0sS do you get the exact same error in chrome too?
 
@JanDvorak yup working
 
but seems not good
 
11:02 AM
why?
 
some users are saying that the day will be 24 hr back if I don't use new constructor
 
@AwalGarg well, seems like yes... name = ,EIO=3&..... status (failed) type xhr initiator : socket.io-1.3..... size 0B time xms
 
you should be using new Date(Date.UTC(...)) other wise the answer is wrong by up to 24 hours... — user3338098 Apr 3 at 14:29
 
@Mr_Green probably not
 
so, it is safe not to use new in this case?
 
11:03 AM
@AwalGarg console shows :
 
if it returns a number, it's kinda pointless, if it returns a date, there's no point rewrapping it
 
>GET 192.168.100.22:9001/socket.io/… net::ERR_INSECURE_RESPONSE
 
Morning
 
@Julo0sS Can you try adding the certificate to the chrome trusted certificates registry?
@Julo0sS in chrome, go here: chrome://settings/certificates
 
@AwalGarg ok let me try that
 
11:06 AM
then import the ssl certificate you have (.crt file, not .pem)
 
0
Q: Chat message status indicator

Ben FortuneWhen in chat, sometimes my messages fail to send due to the anti-flood or a network timeout. Often this happens after I've written a follow-up message which in turn shows the messages in the wrong order after clicking retry, making them incoherent. Would it be possible to maybe add a small spi...

 
@BenFortune +1, should probably go to Meta Stack Exchange maybe
 
Hm yeah, might get a mod to move it
 
just delete and repost
 
0
Q: Chat message status indicator

Ben FortuneWhen in chat, sometimes my messages fail to send due to the anti-flood or a network timeout. Often this happens after I've written a follow-up message which in turn shows the messages in the wrong order after clicking retry, making them incoherent. Would it be possible to maybe add a small spi...

It hasn't bothered me before, but the last couple weeks the work's internet has been really shit
 
11:17 AM
@AwalGarg import seems to fail... when imported, my certificate does not appear in the list... and https is still striked in the url
 
@Julo0sS why does it fail? What error do you get?
 
no error
 
try clicking on the striked padlock icon in the url bar, click security info, and try adding the certificate from there
if it is failing, you did something wrong while signing the certificate, or maybe the certificate is corrupt.
 
@Loktar your "Tetris background" is featured in the latest gamedev.js - newsletter
 
@Loktar Congrats!
 
11:30 AM
@Loktar congratulations!
@GNi33 PASTE A LINK
 
@AwalGarg NET::ERR_CERT_AUTHORITY_INVALID
 
sounds logical...
 
@GNi33 erm i mean a screenshot of the newsletter
 
ah, yeah, they have the issue online already
http://us3.campaign-archive2.com/?u=4ad274b490aa6da8c2d29b775&id=9154cc88e0
@Abhishrek
it just has a link to the pen in it after all
 
11:32 AM
didn't he make one where the ai plays ?
 
@AwalGarg information on certificate : certificate is valid
 
Hello all, I'm currently using module pattern, is there any lib that can help me in simplifying the process?
 
@AwalGarg How could you test locally as you said?
 
@Julo0sS stupid hsts.
 
?
 
11:34 AM
@Julo0sS file a bug on chromium issue tracker
 
does this looks windows phone enough ?
though windows phone is now changing their whole ui patterns
 
dat border
 
and i am scared what they will come out with in 3 months
 
Where's the start menu?
 
@JanDvorak phone !
 
11:35 AM
@Julo0sS link the issue here as well, so we can star it.
 
@Abhishrek Looks similar enough, just the colors are odd :P
 
I don't understand what you mean... I finally came to import the certificate, but even with it, I have that CERT_AUTHORITY_INVALID
 
@Julo0sS yeah it is an HSTS problem, I have faced it in past. the people on irc told me to file a bug, but I forgot :P
 
@AwalGarg "to file a bug"?
 
@Julo0sS go here: code.google.com/p/chromium/issues/list and click new issue
 
11:39 AM
why do I seem to be all alone to face this?
It certainly would not happen with a "real" not self-signed certificate I guess
 
Quick question, how do i make a chat room?
 
@Chris 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.
 
otherwise it would be a maze to work with https
 
@Julo0sS correct
 
and, btw, chrome is no more a problem than firefox in my case, is it?
 
11:40 AM
right. FF already has the issue open, so you just need to do it on chromium.
although FF has a bit different issue, but meh
stupid browsers
 
@RoelvanUden lol
i don't do the colors
i have someone else full time fix colors for me
 
@Julo0sS I am able to reproduce your issue in a VM. bug confirmed.
 
Has anyone here developed with ActionScript?
 
do you think jQuery is smart enough and cache your current stuff if you call it again inside a same scope? Like:
crap.someEvent(function(){
$(this).stop(); //this is cached

$(this).fadeIn(100);
});
 
11:46 AM
No, you're creating two jQuery objects there.
 
phuck.
 
var $this = $(this);
$this.stop();
$this.fadeIn(100);
etc
 
that's pretty funny code
 
it isn't and it can't be
 
It's pretty standard.
 
11:49 AM
just memoize $ XD
 
jQuery objects technically are mutable
 
just chain
 
Are all jQuery methods chainable?
 
@JanDvorak and it shouldn't be
 
@AwalGarg bad idea, elements come and go, but their selectors stay the same
@BenFortune except getters
 
11:51 AM
memory issue -> memoize jquery -> $(something).append($('<div/>')) -> once more -> $(someOtherThing).append($('<div/>')) -> whoopsies
 
@AwalGarg thanks
 
@Chris a chatroom here on SO?
 
but seriously... now... I have to work on project before getting a ssl cert
 
@Julo0sS why can't you develop on unsecure connection?
 
THE DEAD HAVE CAME BACK
TAKE COVER
> ActionScript
 
11:54 AM
@Julo0sS also put the bug link in your question as well, and put the question link in the bug as well.
 
@Abhishrek ?
 
@AwalGarg well, I can... and I will... but will it need many changes when getting on https then? (except adding cert)
@AwalGarg I will
 
I hate jQuery for 2 reasons
1: no auto caching like I've described above
2: jQuery selector system has pretty much no difference (in performance improvement) compare to standard CSS selector system. What's the point of being a library + sorta framework?
 
@GNi33 actionscript question after so long.
 
@Julo0sS what changes?
 
11:55 AM
auto caching would be horrible and it's very easy to cache your selectors yourself, what's the issue?
 
function Selector_Cache() {
    var collection = {};

    function get_from_cache( selector ) {
        if ( undefined === collection[ selector ] ) {
            collection[ selector ] = $( selector );
        }

        return collection[ selector ];
    }

    return { get: get_from_cache };
}

var selectors = new Selector_Cache();

// Usage $( '#element' ) becomes
selectors.get( '#element' );
^ simple enough
 
and the selector-engine of jQuery is a lot slower than the standard API (of course)
 
I am getting json variable undefined
 
@GNi33 not sure if slower than QS/QSA.
 
11:57 AM
if you ever work with old browsers, you see the immediate advantages
 
Using ajax for it . sending it from the controller like $json['success'] = ""SUCCESS
 
and it returns a jQuery - object that provides you with all those fancy methods. If you like to use those, it's nice to use jQuery
 
@AwalGarg about chromium issue, type : Network/Downloading OR Security? ^^
 
@Julo0sS network
 
but while accessing in the view in the JQuery it says undefined
 
11:59 AM
@AwalGarg yeah, not sure either. it's been a while since I had a look under the hood of jQuery
I still think that there's a overhead that makes an impact
 
any help?
 
@PreetiMaurya sounds like a server-side issue
 

« first day (1679 days earlier)      last day (3268 days later) »