« first day (1437 days earlier)      last day (3504 days later) » 

12:08 AM
So ripe
 
12:27 AM
So last night I had a dream where the Runnable team was going to a conference in our own private jet, and @Loktar was the pilot
 
hahah
that Air force experience :P
 
it was a really comfortable ride and I slept through most of it.
So (cue Inception) I actually had a dream in a dream
 
12:54 AM
@SomeKittens Is that where you work?
 
yus
 
Nice.
 
I saw something about it. Seems like it could be a cool idea. Didn't look like it had much on there yet though.
 
@SomeKittens Are you in the photo?
 
1:01 AM
not the top one
 
:)
 
1:20 AM
Hmm, can't post a question or send feedback without logging in. :-(
 
to Runnable?
 
Yeah.
Wouldn't be a problem except ...
... you're allowed to write stuff, and it's not until you hit 'post' that you're prompted to log in. That's some UX rage right there.
 
hmm
indeed
 
1:36 AM
If you're prompted to log in before you compose something, then no probs. It's a fine line!
 
yeah, I hate that too
though we're not working on that site currently
 
Sure. It's not a criticism of ability btw -- good UX is impossible without feedback from outsiders.
 
1:59 AM
I should probably remind myself that HCI was my lowest scoring course at uni. :-(
 
GAH
not jQuery
arg
why
 
I'm not wrong tho.
 
@mintsauce You are the only person other than one of my college buddies to know of Leftöver Crack
@mintsauce jQuery rant unrelated
 
:-D
I bet I'm the only person who's been to a LC gig with their 8 and 9 year old kids too.
It did involve a certain amount of misdirection.
 
how so?
 
2:12 AM
It was at a festival: hey sweetheart, this tent looks cool, let's check it out!
Anyhow, my kids liked them.
 
"My kids liked leftover crack" - mintsauce
 
Ahem! But, yeah ...
 
@AbhishekHingnikar Plenty (on the game)
 
yay (for the game)
@jAndy in respect to the game
@Loktar you might be Game Jesus, but @jandy is "the game jesus" :P
 
@AbhishekHingnikar haha I agree
added my tetris bg to codepen
got sidetracked working on a genetic algorithm for walking creatures this weekend
 
2:23 AM
@rkoutnik The whole Server category was a bit of a failure this year, sorry about that.
Though that's nice
 
@Loktar perfect
 
2:43 AM
Boards of Canada's 'Hi Scores' is tonight's tenuous Music--Computing Interface.
 
my version of hello world, since past few months.
 
{verb: 'fuck', subject: 'you', object: 'you'}
 
2:58 AM
@mintsauce oh wow
 
Soup is not a meal
 
yay Chris Coyier liked my pen
that always makes me happy
 
This room gets weird at night...
 
does ng-trim="true" trim the {{word}} inside brackets ?
 
jQuery theme song, btw.
 
4:02 AM
 
files = files.map(path.join.bind(path, this.path))
OMG i wrote this code ?!
 
@AbhishekHingnikar heh
 
The more I stay awake, the better code I write.. for some reason.
 
riiiiiight
 
Well, to a point at least. I'm pretty sure the Ballmer's Peak functions identically with sleep deprivation as it does with alchohol
 
4:19 AM
@Retsam sleep deprivation is easier to dose, though
 
@JanDvorak Well, there's no sleep deprivation equivalent to "giving a team of coders a year's supply of whiskey and tell them to get cracking" at least.
 
green tea and non-stop downtempo instrumental music (read: Bach - Air - Youtube mix)
 
4:38 AM
I have a friend whose listened to Pachabel's Canon in D some 10 thousand times because he heard it helps your memory retention.
 
5:04 AM
I listen to it a lot because it's an amazing song.
 
Is the live example on this page working for anyone?
Its giving me Unable to retrieve your location. :(
 
did you let it?
 
I did.
 
Works for me, albeit not that accurately
Is your IP address geolocatable?
Mine says "somewhere in Prague"
 
How do I check if my IP address is geolocatable?
 
5:10 AM
open the live demo in Chrome
 
yeah, I am in Chrome itself
I am at the office, lot of things are blocked here :(
They dont trust their employees apparently
 
@NickDugger Have you seen:
!!youtube Pachabel rant
 
"I don't even go to Taco Bell because it sounds too similar" :-D
 
HOW TO MAKE A PROCESS RUN SLOW ?
 
5:21 AM
@AbhishekHingnikar run another one
Process Lasso features a CPU throttle
 
windows ?
 
yep
 
ASR
can any one tell me, what is the meaning of jQuery(".form sign-in-form ").addClass("sign_in_form_background"); ?
 
@ASR it adds a class to some elements it selects
 
ASR
means it adds the class sign_in_form_background to the element which contains the class sign-in-form right?
 
5:32 AM
yes
 
@ASR It also means "I can't make up my mind between underscore and hyphens".
 
6:16 AM
For those of you that like board/card games - what's a good game for a couple to have? Looking for a birthday present for the wife.
5
 
Does the Karma Sutra come in card form?
 
@SomeKittens Strip poker
 
Backgammon
 
@BadgerGirl Damnit, beat me to it
Strip backgammon?
Strip pokemon?
Strip blackjack? (extra points if you can recruit a black friend named jack to play with you!)
 
0
Q: What to use instead of Promise.all() when you want all results regardless of any rejections

jfriend00I'm using the Bluebird promise library in a node.js project. I have two operations that both return promises and I want to know when both are done, whether resolved or rejected and I need the return values from both. I'm reading the contents of multiple files and some of the files may not exist...

Anyone who used Bluebird, are the docs unclear?
cc @dystroy @FlorianMargaine @SecondRikudo @rlemon @SomeKittens and anyone else who used Bluebird
 
6:23 AM
Not unclear, but not totally clear either.
If I knew what I was looking for, it was great. Otherwise.... trial and error
 
What were you looking for that was hard to find?
Do you think examples for all the functions would help?
 
Examples are always helpful
 
@SomeKittens I heard people like cards against humanity
 
@BenjaminGruenbaum I have problem X. How do I use Bluebird to solve that? (Where X is "Combining with non-Bluebird Promises", "returning bound promises whilst keeping scope", "Testing promises", etc).
@BenjaminGruenbaum True, but it loses some charm when you've only got two people
 
Promise nuggets?
Can everyone ping me with stuff like 'I have problem X. How do I use Bluebird to solve that? (Where X is "Combining with non-Bluebird Promises", "returning bound promises whilst keeping scope", "Testing promises", etc).' - I want to compile a list of common issues people have with promises.
4
 
6:27 AM
I'm hungy, how does Bluebird solve that?
 
@BenjaminGruenbaum Yes, that would be excellent
@copy Bluebirds are an excellent source of protein
 
Morning @FlorianMargaine
 
Morning
Just passing by while smoking before going to shower then work
My last week is starting :-)
 
Keep us updated
 
Morning poo is already behind me.
 
6:33 AM
Awesome
 
@FlorianMargaine didn't know you were leaving
 
He's joining a company specifically to compete with me
RAWR
 
It's the same job I'm about to leave since 4 months
 
BIz
gud mrng
 
@BIz 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.
 
6:39 AM
@FlorianMargaine oh lol, thought you left already :P
 
BIz
yeah thanks, i have a doubt in this question
0
Q: Java script slice from reverse

BIzI want to slice the javascript variable in the given condition. The condition is if the variable is of length 12 it should slice as 2,6,4 and if it is of length 11 it should slice as 2,5,4. How can i slice this. Here is what i have tried. Code : var new_no = "("+phone_no.slice(0,2)+")-"+ph...

may i ask ?
 
@BIz JavaScript is one word
 
BIz
yeah i understand, but i am new to that
Sorry i will edit :)
updated :)
In that question, i want to slice the variable from reverse,
 
you've already accepted an answer?
 
BIz
6:42 AM
Yeah, but i want to extend it, as so allows only one question for 90 min, i cant ask new
so, i just want a help to do it
or to solve it :)
 
.reverse().slice(...)?
 
BIz
@Jan
I really don't know whether such function exists
 
which one?
 
BIz
.reverse().slice()
 
have you tried looking it up?
 
BIz
6:45 AM
you mean reversing the variable and slice it /
?
 
well, some functions return useful values. Such values usually have methods of their own.
 
@JanDvorak protip - if you downvote the answers and questions as well it makes deleting much easier
 
@BenjaminGruenbaum did downvote the question
 
@JanDvorak wait, why is that OT?
 
BIz
let me try the .reverse and .slice once
 
6:48 AM
@BenjaminGruenbaum he's looking for a tool to do that. Either that, or too broad.
@BenjaminGruenbaum also, it's a spam magnet and not worth keeping
 
@JanDvorak possibly, it's still borderline though, he's asking how to get his DB records back that he lost. A good answer would be "Here's a Pyton/Whatever program that goes through the deleted data and restores the records etc.."
I agree that it's unlikely to get such an answer but I don't see why the question is so bad it needs to be closed 4 years later though
 
@BenjaminGruenbaum such program would be very long.
@BenjaminGruenbaum spam magnet
 
@JanDvorak really? You know that?
 
What about "MCVE"?
as in, "wants code but didn't try anything"
 
What about it?
 
6:55 AM
lol
 
should I reopen that spam magnet, @BenjaminGruenbaum?
 
@JanDvorak given it's now protected I don't see the harm, but I think it's a valid question overall. In second thought given its age I think it might be better to just let someone more serious re-ask it appropriately
 
also, on a different site
doesn't seem too programming-related to me
SR might be able to cope
asker last seen half a year ago
 
Yeah, that's also a factor
delv'd @JanDvorak
 
@m59 basically. I have some strings in JS, and while I am writing html, I wish to insert the reference to those strings inline. KWIM?
 
!!urban kwim
 
@JanDvorak KWIM Know What I Mean?
 
@AwalGarg no.
 
@JanDvorak :( but.... why?
 
7:17 AM
do you want data-attributes?
 
@JanDvorak wth I know about them... I ... wait. I'll post a simple code snippet.
//js code here
var firstName = "Jan",
      lastName = "Dvorak";
var address = "139, Columbia Street, Jupiter";
and then...
//html code here
<span>Hello {firstName} {lastName}... do you still live at {address}</span>
now I know you might be thinking why I want this client side
@JanDvorak ^
 
so, you want to make a trivial templating engine?
 
if that is what you call it...? yes.
 
but... why?
 
I have lots of JSON data. that's why
 
7:23 AM
why not use a standard templating engine?
 
@JanDvorak like?
!!google standard templating engine in javascript
 
@AwalGarg I've heard Angular had one.
 
@BenjaminGruenbaum yeah. French law is usually 3 months notice. Mine was 4 months for... reasons
 
@JanDvorak I was hoping of a lighter solution.
 
7:28 AM
search/replace?
 
@JanDvorak eh how?
 
I am officiailly beginning
snapick's campaign now
wish me luck :D
i got money on line
 
I thought you already had investors?
 
@AwalGarg for(key in replaces) template = template.replace("{"+key+"}", replaces[key]) ?
lightweight as can be
has its downsides, true...
 
I am not sure how maintainable that would be very large JSON data but I like the idea of wrapping in a global object.
 
7:33 AM
...
 
... ?
 
It's good to be home
@SomeKittens Ok, so I'm a mechanical keyboard convert. Now the question is, do I stick with brown switches for my home keyboard, or go full-clicky?
 
There's something weird going on in google maps for me. For some reason, I can't see any streets in chrome anymore. Restarting chrome and rebooting the pc didn't work. Wth :(
 
Try pouring water over the PC
 
Have you tried enabling javascript?
 
7:41 AM
I've tried both those things
Neither worked
Also, my keys now feel soggy.
 
is there any feature we can get the Firefox cache memory to the chrome ? or another browser ?
 
@Kippie install jquery
 
@samitha but... why?
@AwalGarg have I?
 
dat edit
 
Damnit, I want to know what it said
I need to know
 
7:43 AM
1 min ago, by Awal Garg
@JanDvorak you missed the "but... " part
 
@JanDvorak I'm using localStorage API for an APP.I want if the browser has been crashed by any reason i want to recover it ?
 
@samitha have the app store its data regularly rather than just on unload
 
Why do you expect your user's browser to crash, though?
 
@BenjaminGruenbaum Meh, overkill.
 
This is an exam system.I'm maintaining an object to work with it and the object save to th locaStorage when user ready to the EXAM.And when he marked the correct result.Object getting updating also the localStorage @JanDvorak
 
7:46 AM
I want the ability to add 3rd party libraries easily, plus a few UI improvements over this feature.
@samitha No.
 
@samitha when you write to localStorage, you can expect the data to stay there
 
If you want to sync anything between different browsers, you have to use a server.
 
unless the user decides to edit the storage
 
you should not use localStorage for that.
 
@AwalGarg why ?
 
7:48 AM
user could edit or delete it
back up to server
 
@samitha its not reliable. user can edit it, delete it. move to another pc, and restart...
endless bugging
I would recommend using a key value store. redis is a good choice
 
@JanDvorak Don't ask people to downvote, ask them to review.
 
We just dv-pls'd the cv-pls :P
 
lol
 
7:57 AM
Morning all :)
 
morning ian :)
 
o/
 
8:08 AM
0
A: Remove cv-pls tag from chat rooms

Second RikudoLet me answer each of your bullets one by one. That is true. It's an unending cycle. Crap questions cause unhappy users. Unhappy users become more aggressive in their moderation methods, which causes more unhappy users. The way to prevent it is not to fix the regulars. It's to better prevent cr...

 
how many of you have pointer trails enabled on your pc/laptop?
^this
 
I don't. My LCD provides a hardware support for trails for anything.
Also, it's harder to dock your mouse pointer (say, when watching a full-tab video) when there are dozens of it.
 
I have a better idea
 
@BenjaminGruenbaum so, Mr. Windows lover, why do you think would windows have that feature even now?
 
LETS CLOSE THE CHAT AND GIVE BAN TO ALL REGULARS !!11111
that would make SO a friendlier place for sure
 
8:20 AM
@AwalGarg Nobody after the cold wars was over I guess
 
;p
 
:-)
 
@tereško be sure to link here when you post that on Meta. I'd like to deal an early downvote.
 
@tereško I'm still waiting on hi.stackoverflow.com
We already have Stack Overflow em Português and [ja.so] is very close
 
and hi is for? hindi?
 
8:23 AM
@AwalGarg Yes
 
@SecondRikudo why would you be waiting on that?
 
@AwalGarg It's hard to say, but it will practically take off a very large load off the site.
The absolute majority of low-quality posts we have come from users from India. Some because they don't know English well, and some simply because of laziness.
 
@SecondRikudo I'm 4
 
@jww please provide any solid examples of abuse. You're asking us to ban something that is of major value to the site. People coordinating and performing free QA for the site is not something I think SE would like to prevent. — Benjamin Gruenbaum 5 secs ago
 
@JanDvorak Happy birthday?
 
8:24 AM
@SecondRikudo I'm for, not four
 
@BenjaminGruenbaum unless it gets shot down for poor quality.
 
@SecondRikudo yeah we have almost infinite number of people in here. which follows that we have an infinite number of lazy people too and an infinite number of wonderful people too.
 
@AwalGarg FYI, Indians make the second largest portion of the user population on Stack Overflow.
Largest one is from the US
The amount of low quality posts proportional to their part in the population is very high.
 
@AwalGarg and yet the wonderful part of population is vastly outnumbered
 
8:26 AM
@SecondRikudo no doubt in that...
 
@SecondRikudo even if you account for the language barrier?
 
@JanDvorak Yes
Plenty of questions are plenty clear. They are also plenty clearly crap.
 
@JanDvorak If you talk about the population that is on SO, I can agree. ain't sure what the reason to it is. otherwise, people are just fine.
 
There's also a pretty hefty cultural issue. Passing the buck is kinda baked into Indian corporate culture (first-hand experience, I'm not pulling this from thin air)
 
@AwalGarg I'd say the primary cause is that the distribution of IQ across the entire population is extremely bottom-heavy
 
8:28 AM
Harsh...
Thankfully in Australia we just attack the smarts with shame and belittlement :P
 
@JanDvorak nope. We don't have good education infrastructure. The people otherwise are plenty intelligent at mind. And I can attest to that :)
 
!!urban tall poppy syndrome
 
@monners Tall poppy syndrome Australian slang for the tendancy to criticise highly successful people (ie, [tall poppies]), and 'cut them down'.
 
!!afk bbiab
 
8:42 AM
!!urban what
 
@SecondRikudo what A country I've never heard of.
 
!!hi
 
@samitha Hello !! I am Caprica. Caprica Six. How are you?
@samitha Indeed
 
@samitha ng-class is what?
 
 <li ng-repeat='q in $storage.quez'><a href="" ng-click='getQuestonByIndex($index)'  ng-class="{marked: $index == currentIndex}">{{$index+1}}</a></li>
@FlorianMargaine
OR
 
8:54 AM
english
@samitha
sentence
deleted messages
owners see
 
 <li ng-repeat='q in $storage.quez'><a href="" ng-click='getQuestonByIndex($index)'  ng-class="{marked: $index == {{currentIndex}}}">{{$index+1}}</a></li>
 
sorry.
is this correct actually ? $index == {{currentIndex}}}
 
no idea, never done angular
 
When working with three.js is is possible to resize.obj objects?
 
8:58 AM
@samitha: where are you getting currentIndex from?
 
$scope.currentIndex
From Controller
@Cerbrus
 
Hm, Try it with currentIndex instead of {{currentIndex}}
You never need brackets inside brackets like that.
 
I used it
but doesn't work
@Cerbrus is this will work ?
ng-class="{marked: $index == currentIndex}"
 
To be honest, I don't really know.
You could try putting marked in single quotes
 
9:13 AM
Spread please, would be appreciated :D
 
@BenjaminGruenbaum are you busy ?
$scope.goExam = function(){

       $http({
            method: 'GET',
            url: 'php/index.php',
            params: {
                'course': 'DIBM',
                'module': 'DIBM-001'
            }
        }).
        success(function (data, status, headers, config) {
            displayQuestion(0, shuffle(data.AutoView.getSelect.question));
        });
};
I have a function call in the success
my view call before the ajax called
so i can't view the first question here (Zero Index one)
do you have an idea?
 
9:28 AM
I want to add a span to a div using jQuery
 
@yurikilochek 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 thank you
 
@BenjaminGruenbaum upvoted, don't know anyone who uses swift
 
$('#myDiv').append('<span/>')
 
9:46 AM
Hmm, I really don't like how angular is promoting this linebreak after the "period" when chaining methods.
It feels so... ugh
 
@FlorianMargaine Kayne West
 
4
Q: Weird Google result description

tomwildeThe thread in question: Matlab: Scatter plots with large datasets & colorbar Screenshot: Google query was "matlab plot penis".

 
@Neil hahaha :D
 

« first day (1437 days earlier)      last day (3504 days later) »