« first day (1037 days earlier)      last day (3901 days later) » 

12:13 AM
haha
that chicken
is funny
 
user1125394
html form should extend their action attribute to websockets
 
12:44 AM
Is there a way in javascript to create an array using two values, like ruby you can do (1..10) and it returns the numbers 1-10
 
@ThiefMaster Did you get our postcard?
 
yes, creepers :P
it was nice btw
 
function range(min, max, step)
{
    var result = [];

    step = step || 1;
    dbg_assert(step > 0);

    if(max === undefined)
    {
        max = min;
        min = 0;
    }

    for(var i = min; i < max; i += step)
    {
        //yield i; // fuck you
        result.push(i);
    }

    return result;
}
 
did anyone actually give you his address or did you stalk everyone in here? ;)
 
12:46 AM
We had to ask Esailija and SomeKittens (the latter didn't give us her address)
And Jan Dvorak
 
@ThiefMaster rlemon and Florian gave it too but we already had theirs.
 
We also met a guy from the security room
 
lol I cannot believe I have to explain to people with 10k that php $dollarVariable shit is not what makes echo "$var" possible even when shown same thing in ruby which has normal variable names
 
1:08 AM
Ich begreife nicht, wie man so dumm sein kann
 
 
2 hours later…
3:26 AM
@cx @Connor Actually that exactly.
 
3:45 AM
@Bert hey I'd be happy to help with that question actually
still there?
 
@CharlieBrown that insults me.
 
@Jeremy A little info for you. Chickens can move both their eyes & their head
@Darkyen Bonjour mon firend
 
4:01 AM
Good Morning
 
Il est cinq heures ici à quelle heure est-il là?
@Darkyen do you speak any other language?
no?
 
@Connor Marathi, Hindi, BundelKhandi, Sanskrit, Gujarati[ i can understand cant speak proper though], and somewhat punjabi the same case as gujarati
 
@Darkyen you're from india right?
 
yes
 
4:18 AM
@Darkyen do most indians speak english?
 
@Connor They (including me) try to
 
@Darkyen Cool. I didn't know that.
Also the buttons on your website ain't working, and it's pi**ing me off.
 
lol i am too busy + lazy to make it a real website
i should just remove em
 
user652649
5:14 AM
0
Q: needed a way to force redraw of <select>s in MSIE8

Weswith (simulated) media queries I'm changing font-size of <select>s in my page I have problems with other browsers too, but I resolved temporarily detaching the elements from DOM and re-attaching them after a small amount of time but with MSIE8 I still have problems with height of <option>s whi...

 
user652649
morning
 
I pity you, having to support IE8
 
user652649
i consider myself lucky, because i risked to support also IE7.
 
don't forget: put all neccessary code in the question. An SSCCE would be helpful
 
user652649
ok, right
 
user652649
5:29 AM
basically @JanDvorak i set select{font-size:40px} and accordingly to a MQ is then set select{font-size:20px;}. The font-size is applied but the "height" of the <options> remains stuck to the height needed by 40px
 
user652649
actually does the same also with width, but it's less annoying
 
5:49 AM
@Wes I know what you have to do
 
user652649
@Connor I don't have a B52 for bombing Microsoft headquarters, if you are thinking this
 
@Wes Man, that ping was painful
You can borrow mine if you wan't
 
@Connor *want
 
PING!
 
user652649
@Connor thank you, you are so kind, i always dreamed of bombing ms! xD
 
user652649
5:52 AM
anyway tell me
 
We should call ie
 
Leave microsoft alone!! =(
 
DIE - E
You're either with us or the terrorists @okok
 
*"or with"
 
He had enough!! leave him alone!!
 
5:53 AM
No, don't need the with
 
@Connor I'm not the terrorists
 
@JanDvorak @JanDvorak I did not say you w'e'r'e
 
@Connor now you're just acting silly ;-)
 
Don't you think die - e sounds better?
 
I love "die-e"
 
5:57 AM
you was right. wes
 
assuming you mean [dai i:]
 
user652649
@Connor wut? the bug?
 
*were
 
user652649
@JanDvorak feel free to correct me too xD
 
Your sed anywey tel mee and eye sed you where rite
 
user652649
5:58 AM
my english is a shame
 
Anyone here familiar with ARM?
processor?
 
user652649
@Connor trollmode
 
@Wes so far I have not noticed any mistakes (except maybe "wut").
 
user652649
wut is correct
 
user652649
xD
 
6:00 AM
@Wes No, Jan is in grammer-troll-mode
 
*grammar
 
and it's not trolling, I genuitely dislike bad grammar
-2
Q: Is stackoverflow that great?

Saptarsii am writing shit at the beginning and at the end of the question because this site somehow feels that short questions are not questions at all. i am writing shit at the beginning and at the end of the question because this site somehow feels that short questions are not questions at all. Do yo...

 
lol
 
user652649
@JanDvorak i voted up
 
6:04 AM
What a twat.
not @Wes
 
Fuck
=(
 
@Wes congratulations. You have actively made the site worse.
 
user652649
@JanDvorak thank you thank you xD
 
I didn't bring my mouse pad
 
@Wes you and @Saptarsi should start your own clan.
@JanDvorak deserves to be deleted right?
 
6:09 AM
http://stackoverflow.com/questions/18296185/is-stackoverflow-that-great
 
user652649
lol
 
:V
actually is an icon from facebook
 
flagged as offensive
 
What seems to be the problem officer?
 
@JanDvorak You should be instructing him on grammar right now....
 
6:14 AM
@Connor whom? If you mean O{9}, I wasn't present when the messages were.
 
Do not worry.
What did you flag?
 
PvP?
 
I flagged the question
 
Oh, i did too
 
just go there and post
 
6:19 AM
.................................
 
Don't know
 
!Need to get a coffee!
@JanDvorak it's gone!
 
yay!
 
Do you think many children visit this site?
 
Hell yeah
 
6:23 AM
@O0oO0oOO0ooO Your profile picture is a disgrace
 
I'm a child too. I was born yesterday.
 
@O0oO0oOO0ooO I can tell
 
Yeah
 
Yeah
 
You should get a coffee man, I recommend Long black
Americano sucks, Long black is better. I'm a super coffee drinker so you can trust my information
 
6:24 AM
@O0oO0oOO0ooO Na I am currently in the process of producing a espresso
 
what's that
 
@O0oO0oOO0ooO shot!
 
what?
 
well, it's supposed to be a shot of coffee but i have like half a cup.
!!tell O0oO0oOO0ooO google espresso
Ohhhhh... she gone
 
Hmm sounds cool, but the word sounds like Spanish
do mexican people like to drink espresso?
 
6:27 AM
@O0oO0oOO0ooO how the ... do i know. en.wikipedia.org/wiki/Espresso
 
user652649
it's italian, espresso
 
Yeah i could taste a bit of Italy thinking about it.
 
user652649
 
@Wes I'm actually making one in the illy cup too. :)
 
What's that gooey texture paste? Looks almost like Vegemite
 
user652649
6:30 AM
@O0oO0oOO0ooO and you call yourself "super coffee drinker" ? xD
 
@Wes speaks for me
also a paste is hardly a drink is it now.
 
user1125394
coffee you love it or you hate it
 
Fair enough. i actually prefer tea, but it's early and I'm tired so that's why i'm not having a cup a T
 
What was that noise?
 
Any Javascript DateTime Expert here ?
 
6:37 AM
I'm a super DateTime person, what's your problem?
 
Dates in javascript have to be the worst thing going
 
@Connor not true. Java's Date's suck too
 
*Worst thing in Javascript then.
 
user1125394
Php's datetime the greatest
 
But javascript is better than php
 
6:39 AM
still not true. Consider the DOM API
 
user1125394
bullshit($time, '+5 days');//awful
 
I have a 4 controls 2 Date Pickers & 2 Time pickers.I'm going to validate Is Selected StartDate is Bigger than Selected End Date or Selected StartTime is Bigger than Selected End Time ,I Wrote a code but it's not working
CODE HERE
   function validatePersonShedule(sender, args) {
        debugger;
        var StartDateControl = $find("<%= rdpStDt.ClientID %>");
        var SD = new Date(StartDateControl.get_selectedDate());
        var EndDateControl = $find("<%= rdpEd.ClientID %>");
        var ED = new Date(EndDateControl.get_selectedDate());
        var StartTimeControl = $find("<%= rtpSt.ClientID %>");
        var ST = new Date(StartTimeControl.get_selectedDate());
        var EndTimeControl = $find("<%= rtpEt.ClientID %>");
 
!!tell sonic format
 
Javascript
 
She gone!
 
6:40 AM
!!live
 
@Sonic99 Press CTRL + K to format your code before you send your message
 
user1125394
@Sonic99 click the little arrow left to your message
 
user1125394
then edit, then click the format option
 
Edited
 
http://stackoverflow.com/questions/18296430/write-a-pseudocode-to-accept-a-double-value
 
6:47 AM
anyone know any problem in my above code ?
any idea?
 
@Sonic99 well, what is $find and what is this <%?
ASP sh*t isn't it
 
It's Telerik Rad Control
yes it's ASP.NET
 
I have never used that, so does it generate something or what?
 
var SD = new Date(StartDateControl.get_selectedDate()); // in here it shows Selected Date
Im having a problem in the condition .. if ((ED - SD) < 0 || (ET - ST) < 0) {
 
how does the generated code look like?
 
6:52 AM
sorry
 
Guys, is the quote "Keep Calm and blah" first started by Chive or was already popular before Chive started to using it?
 
why not do if(ED<SD || ET<ST)?
 
It's also not working :(
It passes also True
 
I hate that phrase
 
Yeah its pretty standard. i could have thought of a better one than that.
keep calm and forget IE
 
6:55 AM
Mother f...!! One little Scone is 3.5 freaking dollars
=(
 
don't buy it then
 
Yeah, but I almost bought it because I saw it as 35 cents
 
user1125394
@Sonic99 use .getTime()
 
user1125394
var x = new Date();
x.getTime() < y.getTime()
 
user1125394
o forget it comparing Date works well as well
 
user1125394
6:59 AM
not that well, though
 
user1125394
var x = new Date(), z = new Date(x);
x < z;
x == z;
 
@cx thanks it's working now
@JanDvorak Excellent working
 
user1125394
yep I guess Date compare is just string compare
 
@cx No it's not..
!!> (new Date()) < (new Date())
!!> (new Date()) > (new Date())
!!> (new Date()) == (new Date())
!!why u hate me?
 
Do you hate me?
 
7:10 AM
I was talking to the bot
 
user1125394
yes I tested it with different Date, works, yep, but with the other case above, it's fucked, but it's probably unwanted to have 2 different Date objects representing the same date
 
No, what you said about string comparison - that's wrong, read the comparison algorithm.
 
user1125394
yet was pointing out the equality case
 
just use a library
 
user1125394
var x = new Date(), z = new Date(x);
new Date(x-z).getTime();
 
user1125394
7:19 AM
0 //like that maybe
 
@O0oO0oOO0ooO a library is not a substitute for understanding.
 
You are right
 
7:34 AM
@cx It converts the two dates to numbers and compares them, the comparison algorithm and equality algorithm work slightly differently, the equality algorithm converts them to objects where the comparison one converts them to timestamps
!!> new Date() - new Date()
 
user1125394
z = new Date(x);
x === z // :(
+x === +z // :)
 
(sorry about that)
 
I have an array of JSON in my AngularJS controller , something like [{id:1,name:'XYZ'},{id:2,name:PQR},..] how can i filter the array of JSON in my controller by the id , say i want the JSON corresponding to id : 1 only how can we do that ? any help please ?
 
!!tell user1537158 mdn Array.filter
 
7:40 AM
@CapricaSix thanks for the super quick response , but i was wondering that does angularjs have anything inbuild for such a case ?
 
@user1537158 Are you displaying the data you're filtering in a binding, or do you just want it for business logic?
 
Array.filter is a language builtin. You can't have more native than that.
 
Also, when you say stuff "does angular have anything inbuild" you sound like a retard, Angular is a JS framework, it's written in JavaScript...
 
for buisness logic
 
Array.filter , if it's for display Angular has filters of its own for that, but for business logic Array.filter .
 
7:41 AM
@BenjaminGruenbaum sure angularJS is built on JS but since it has filters i was just wondering
 
@Babak 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.
 
ne ways thanks for the help guy, appreciate it
 
This is what Angular does for UI, you can use it in actual code for business logic, but I can't even begin to enumerate the reasons why you shouldn't.
 
@hellosheikh 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 are you insinuating that angulars filter is a bad choice ?
 
7:44 AM
@user1537158 It's a good choice for what it's meant for - that is: filtering the result of an array as an observable, just like the example on its documentation page.
What I said is that Angular is built to be testable, so they expose stuff like $filter to test filters manually, but you're not supposed to use it for business logic - it's for UI logic where it makes sense.
 
alright, got it , thanks :)
 
Sure, good luck. Angular is pretty awesome when you use it correctly.
 
user1125394
7:58 AM
for (var i=0; i++<d.length;){

}
 
user1125394
do some people loop like that?
 
I have no idea why one would do that, although it acts differently (the value of i in the iteration)
(loops from 1 to length instead of from 0 to length-1)
 
user1125394
yes just noticed
 
I wouldn't pass it review
 
user1125394
it's like for (var i=0; i<d.length;++i){
 
8:03 AM
No, that would also loop from 0 to length-1
 
user1125394
oh right, errm I suck in loops
 
I just use forEach unless I have to worry about performance
 
user1125394
I try to avoid them also
 
user1125394
writing function(i,j){} is painy also
 
8:28 AM
i have a question .. i want to close the popup Modal window ... so can i post my code here ... its basically a very complicated question so it takes time for me to explain it
function openSirenModal() {
    var timeout;

    $.modal({
        contentAlign: 'center',
        width: 240,
        title: 'Loading',
        content: '<div style="line-height: 25px; padding: 0 0 10px"><span id="modal-status">Contacting to the device...</span><br><span id="modal-progress">0%</span></div>',
        buttons: {},
        scrolling: false,
        actions: {
            'Cancel': {
                color: 'red',
                click: function (win) {
                    win.closeModal();
this code is working fine .. it is showing the popup modal and then depend on the ajax result it closes the modal
 
@alevkon 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.
 
so now i custimze this code ... here
function openSirenModal() {
var timeout;
var progress;
var status;

$.modal({
    contentAlign: 'center',
    width: 240,
    title: 'Loading',
    content: '<div style="line-height: 25px; padding: 0 0 10px"><span id="modal-status">Contacting to the device...</span><br><span id="modal-progress">0%</span></div>',
    buttons: {},
    scrolling: false,
    actions: {
        'Cancel': {
            color: 'red',
            click: function (win) {
                win.closeModal();
            }
        }
here i am not able to close the window ... its because i cant access the window variable in setInterval
 
8:53 AM
Caprica, I need your wisdom.
!!Install Ubuntu 13.10 Saucy Salamander or Install Arch Linux
 
@OctavianDamiean Install Ubuntu 13.10 Saucy Salamander
 
Cheers.
 
@CapricaSix Gnome 3? ONly over my cold, dead body
 
It's using GTK3, not Gnome 3 per se.
The shell is still Unity.
 
doesn't make it any better
 
8:57 AM
I'm fine with Unity.
 
they lost me with their horrible NIHS
 
!!urban NIHS
 
@OctavianDamiean No definition found for NIHS
 
Not invented here Syndrom
 
8:58 AM
Meh. That's how the industry works.
Like, every industry.
 
Maybe, but it doesn't work out if you replace working, good code, with buggy stuff that's hardly beta.
 
Why reinvent the wheel if a concept isn't bad?
What would be the alternative? You have to get a product to the customer at some point.
 
@claj 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.
 
user1125394
ah speaking of wheel, gotta patch my flat wheel
 
Right now every ubuntu release is making things less stable. And tbh. I don't want to use an OS with known crash bugs and other show stoppers. Thus, I'm quite happy with my working ubuntu 11 installation. I might consider setting up a newer version sometime in the future, but only after I made sure that I can get rid of all the UI nonsense they introduced as of lately
 
user1125394
9:04 AM
isn't lubuntu13.10 more stable maybe?
 
@cx need help in javascript
 
@IvoWetzel There you've got a point. I'm not quite okay with the direction they are going either.
 
@Hrishi 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.
 
I also don't like their "One OS everywhere agenda" since it's obvious that the desktop experience will suffer
 
Not necessarily.
I like that vision.
 
9:09 AM
@Darkyen Not very common. Mumbai still is part of India, and the culture here still is conservative.
 
@IvoWetzel Besides, if they can pull off their convergence plans then it will be awesome as it is not really just "One OS everywhere" but "Take your environment with you".
I mean come on, the "dock your phone and have a full-fledged desktop" idea is awesome.
 
@CapricaSix: yeah I just went through the rules. There is a typo in "tolorated". It should be "tolerated".
 
It's a shame that the Ubuntu Edge funding will fail.
@Hrishi Good catch! Cheers.
 
:) sorry I am a little neurotic.
 
user1125394
@rlemon 's typo, let's annoy him
 
9:17 AM
Instead, one could also send a PR.
Don't worry, I'm on it.
Wait, I'm not ... forgot I'm on Windows right now ...
 
user1125394
github app on windows kill ass
 
user1125394
install it :)
 
Might have it but I refuse to work on Windows.
I love Script Block, best plug-in ever.
 
9:32 AM
Just finished the BF3 campaign. It's a pretty nice game.
 
0
Q: Ho to prevent JavaScript on web site messing with browser

RegsIs there any way to prevent specific JS scritps messing with browser (Firefox or Chrome)? For example some sites are blocking copy\paste functionality for input fields forcing user to type some text like an e-mail or password each time. And this is really annoying when you the sоme site which is ...

 
@Zirak It is indeed!
The single player is kinda like a movie.
Hey, if you ever plan to play online, let me know.
 
It had some good moments where you could actually use your terrain to flank and advance. I'm actually waiting now on public to begin doing co-op.
hehe, in one of the missions where you had to advance against the Russians, I just stayed up on a hill and barraged on their trenches.
 
@Zirak Well, we could party up and do the coop missions together.
 
@OctavianDamiean If you'd like to babysit a noob, sure
I'm ZirakErtan
 
9:39 AM
I'm ready in about 10 to 15 minutes.
Added you.
 
Your name?
 
ma1nerror
Not because I'm all 1337 and hax0r but because mainerror was taken. :(
 
omg I have a friend calls mom
Now there's another route of communication @rlemon isn't tapped to.
 
@Zirak Ahem.
Oh, also, @BadgerGirl, I got your postcard.
And my parents didn't see it.
 

« first day (1037 days earlier)      last day (3901 days later) »