« first day (1350 days earlier)      last day (3599 days later) » 

12:04 AM
!!>Math.pow(4,28)
fucking caprica
 
12:30 AM
Is she dead?
!!live
 
@rlemon you didn't send us the link of the challenges at the end
at least, not while I was awake
 
Does anyone know how to make a website: from "http://site.com/index.php?d=0" to "http://site.com/d/0"
what is the 2nd one called?
 
12:58 AM
> Hello again - after checking out your code challenge, I've decided to pursue other opportunities. I'd rather work at a company where candidates are screened for their ability to write production code instead of solving silly array problems. I've met both types of companies and the former has a much healthier culture.

Thanks again for your time.
^ fair?
 
Comes off very arrogant
and a bit unprofessional
 
lol
I get what you're trying to say and if you don't care about that position or that company in anyway then meh
It would just definitely be a burned bridge
man I am really having trouble focusing on Grapple Hero
scared I will never finish that damn game
 
@Loktar let me put it this way: I've had twelve offers from Hired alone. This was one of them.
 
what do you mean Hired alone?
 
ahh ok
 
not to mention the recruiting firm I'm working with and personal connections
 
just remember its not that big of a world
 
user3448187
If I knew an element existed within an element with an id, should I select the id before using querySelector? For example: <div id="foo"><span class="bar"></span></div> document.getElementById('foo').querySelector('.bar');
 
say in 5 years the person who reads your response for some random reason remembers you
and says "yeah that guy is a dick"
its always good to keep things as professional as possible imo
maybe if it was just worded a bit differently
but it just comes off as you don't really have time for their silly games, and their company has a shitty culture which could very well be true, but its not going to make them happy obviously
 
1:15 AM
True
I wasn't sure how to say "Your tests select for the wrong type of person" nicely.
 
don't say anything?
 
@Loktar What do you plan to do next? Tell us about it, it helps.
 
ha!
they got back to me!
 
I'm fucking hungry
dieting sucks
 
Looking forward to my post-teenage metabolism sucks
 
1:30 AM
@KendallFrey you could be like me!
 
how?
 
23 and still skinny as a rail
 
Well I'm 19 and fairly flabby
It won't get better
 
metabolism doesn't slow that much
you just become lazy and indulgent
 
I am
I'm convinced that by the time I'm 40, I'm gonna have one heck of a stomach
 
1:33 AM
I used to be pretty cut. Gymnastics and dance'll do that to ya :P
 
^fag
 
I just got done flying a robotic grappling hook to the Mun to retrieve one measly decoupler.
 
@Mosho Rough!
 
[x] productive evening
 
@monners the truth often is
 
1:36 AM
HOMOSEXUALS ARE GAY
 
your penis is the truth?
@SomeKittensUx2666 REDUNDANCY IS REDUNDANT
 
let us hope the wife will make me one
 
@Mosho You're just jealous of my manly guns
@SomeKittensUx2666 I want.
 
2:02 AM
@KendallFrey eh I need to implement the blocks that crumble when you attach
also need to figure out what game modes to include
so far the only one that seems fun is race
where you race the lava/water/snow
basically what it comes down to is it just feels way too simple
 
simple is good in terms of what makes a game popular.
You may recall a game called Flappy Bird.
 
haha yeah but not sure if its too fun
its just missing something idk
 
upgrades!
 
it's really fun imo
albeit bare
I played it a lot :P
 
yeah I'm messing with a new mechanic
 
2:07 AM
I don't play it because I don't like sucking at games :P
 
but FB also bare
 
you hold your finger down and release right towards the end
and you get a boost
 
got VS2013
time to mess with winJS
really nice that universities give you free copies of windows, office, VS etc.
ultimate versions too, not the cheap stuff
 
Looked up WinJS, so, it's basically a framework for making desktop apps?
 
2:22 AM
@KendallFrey yeah, supposed to be able to do anything you can currently do with C++/C# in WinRT
with HTML and CSS instead of XAML
 
cool, I guess
 
2:58 AM
@Loktar How about a falling mode?
Like a bonus round where you fall and collect stuff on the way down
 
@MikeNolan I just want the url of the page having the search results
Oh did you mean that the videos results didn't show up in that url
 
3:48 AM
@RUJordan where you at in VA bro
You stay down in the southside in hampton newport news and Norfolk
 
4:04 AM
0
Q: jQuery Deferred Won't Resolve

aherrickI have a service helper setup like this: var service = { getSettings: function () { var that = this, deferred = $.Deferred(); that.getThingOne().done(function (data) { that.getThingTwo(data.Element).done(function (data) { deferred.resolve(data); }); ...

0
Q: angular's $q.reject() vs deferred.reject()

lostdorjeI'm trying to get a handle on the angular $q service and its related objects and apis. When I look at the objects in my console I see: var deferred = $q.defer() ...(and then from console inspection)... $q: Object {defer: function, reject: function, when: function, all: function} deferred: Obj...

 
4:39 AM
-1
Q: Show me how to write a JS promise?

fuzzybabybunnyI'm probably going to get downvoted for this but I've seriously read a lot of things and still can't wrap my head around how to write a simple promise in JS. I've got three statements: ShoppingCartObject.servicesSelected = _.extend(ShoppingCartObject.servicesSelected, getSelectedItems(OrderForm...

 
 
2 hours later…
6:49 AM
Murrrning
 
7:07 AM
Mornin
!!live
!!tobacconist
...
room mode changed to Public: anyone may enter and talk
 
@BenjaminGruenbaum morning
how are exams going?
 
Hard, but fun I guess
 
Hi,
Can someone please see this in Chrome and Safari.
I think it is working find in Chrome, but not in safari.
Can someone confirm?
 
7:23 AM
@BenjaminGruenbaum the best kind then
1 message moved to Trash can
 
Oops, can someone please help on that? Just see if that works on your system or not.
I am using Mac 10.9.2
 
@RakeshJuyal I would guess that it is working, but that the alerts are blocking the render, so the classes get added, but never show up.
 
And it is working fine in Chrome, isn't it?
 
good morning
 
@RakeshJuyal, yes
 
7:27 AM
Yes, so the browsers are implemented differently
 
@RakeshJuyal try using console.log to view some output rather than alerts
 
This is strange.
 
@RakeshJuyal why is it strange that they're different?
 
@IanClark Ya but the thing is console.log will be printed in fraction of second and user wont be able to see the color change.
 
Some things work with an alert, but not with a console.log, alert sort of finishes other things while the alert box is opened
 
7:28 AM
Alert is used for kind of pause/delay;
 
@RakeshJuyal yes, and it pauses/delays the render as well?
 
then use a setTimeout or something?
 
@RakeshJuyal OK, you could achieve it in other ways though
i.e. ^^
However just using a timeout wouldn't show the bubble properly
 
true there
 
@Magikaas with setTimeOut, it will move to next bubble event. That's what I think, not sure though.
@IanClark correct.
@Magikaas your pic is nice ;) [ off topic ]
 
7:30 AM
@RakeshJuyal define 4 colors and save a global counter that increments upon bubble and change the backgroundcolor of every div to the next color, then you can see if it bubbles correctly
@RakeshJuyal Thanks :P
 
 
hi!! i need some help which includes java bean and jstl/jsf as well..
 
@Feeds Hahaha, that's pretty great :P
@user2327972 How does that apply to javascript? If you are using Java Bean?
 
@RakeshJuyal look at jsbin.com/vocijofo/1/edit btw, I've simplified your code just a little
 
@user2327972 I think you're in the wrong chat for that :P
 
7:32 AM
i need to send a list to the java bean through javascript
 
Aha
 
Korea is furious ;)
@Feeds
 
@Magikaas can u help me out??
 
@user2327972 Don't really know much about that unfortunately =/
 
Nice, @IanClark filter(this)
 
7:34 AM
oh kk..
 
@RakeshJuyal and your message is now in CSS
 
some else maybe??
 
Oh yes, missed that. Lots of guys using this content thing these days. They don't care about ancient browsers ;)
like IE 8
 
@RakeshJuyal Ewww
 
Just not as intended, pseudo-elements are supposed to be double colons, but IE8 only accepts a single one, so if you want to support IE8, use :
I don't care about IE7 though
 
7:38 AM
You shouldn't care about IE7, it's simply not economical to
or IE8 really
 
@IanClark hey thanks man, I din't knew IE8 supports it.
 
@RakeshJuyal caniuse is your friend
@phenomnomnominal IE7 I agree with, IE8 less so
I very rarely have real issues with Ie8
 
I don't like IE because it doesn't support pointer-events and I have used it in many places.
 
I don't think anyone likes IE, but we have to work to it whilst people still use it
and whilst IE7 usage has generally dropped low enough that it's regarded as non-economically viable to develop for it, IE8 hasn't yet
 
IE is a tool given with MS Windows to download a browser.
4
That's what I tell everyone.
They don't trust me.
 
7:41 AM
More IE8 than 9
Got my versions wrong :P We visually support anything over 5%, and functionally anything over 1%
 
@phenomnomnominal so you're saying you don't support IE9?
 
hi
-2
Q: pagination in javascript redirection

Nandhini Devii am having 3 label and data are added using div.I want to show 3 items in this like "nand1---nanf3 in one page and next in another.http://jsfiddle.net/2b6LL/5/ Html <div id=1></div> <ul class="pagination pagination-lg"> <li><a href="#">&laquo;</a></li> <li><a href="#">1</a></li> <li><a h...

can anyone solve this
 
hello
50% convinced that JS does not sucks that much...
codecademy is pretty good.
 
I'm of the idea that all programming languages suck. Just that some suck less than others
 
@IanClark only functionally. It doesn't have to look the same as everything else, but it should work
 
7:55 AM
guys, I'm facing a problem. In a Grails gsp page I need to load two components that uses different versions of JQuery and JQuery UI. Is it possible to use both without having problems?
 
Ah OK
 
can anyone solve this ?
 
The site I work on is 2/3s of NZs domestic traffic, so it's a pretty good yardstick
 
@FrancescoDS Hmm, depends.. can you modify the javascript?
 
@NandhiniDevi Fix what?
 
7:58 AM
want to do pagination with dynamic page numbers
and when i click only 3 items to display
 
@NandhiniDevi Is that pagination generated client or serverside? Because if it's generated serverside, there's not much you can do about that clientside, if you don't know the amount of pages you will have with 3 items per page. Otherwise you might want to try adding a page number as you loop through the items you have clientside, every so many items you add a page number and print when you have looped through all items or something, if this doesn't help then I don't know what you want :P
 
@NandhiniDevi My advice to you is to try to abstract away the technical details
You have a button 3, which means you should pass 3 and the number to show per page to some function that will show that page
Make that function do all the work. It will make your life easier later
If you want to go to the next page, then it is simply calling that function with the current page + 1, for example
 
Guess I'm missing some side information about this, you seem to be getting much more from just seeing that bit of html and javascript
 
@Neil No, because they are used into plugins
 
8:03 AM
Or I interpreted it completely differently
 
@FrancescoDS Then, I hate to be the one to tell you.. not much you can do about it
 
<div style="margin-left:50px,margin-right:50px" >
<div id="topshops" class="col-lg-12 col-md-12 FullHotelList" style="margin-right:50px">
</div>
</div>
 
They'll both use $, and only one version will work
 
for (var i = 0; i < output.length; i++) {
var ShopListDiv = $(' <div class=" col-lg-12 col-md-12 HotelList" id="HotelList"' + i + '> </div>');
var ShopHeaderDiv = $('<div class="col-lg-12 col-md-12 HotelHeader">' + output[i].myfavourite + '</div>');
var ShopImage = $('<img class="img-responsive col-lg-3 HotelImage" style="max-width: 200px;max-height: 200px;" src=' + output[i].image + '>');
var ShopText = $('<div class="col-lg-9 col-md-9 HotelText"></div>');
// var shoplistimage=["images/Heart-icon.png","images/Actions-mail-mark-task-icon.png","images/City-Church-icon.png","images/Mail-ico
 
@FrancescoDS If you could modify the code, you could isolate it and pass $ with the appropriate version of jQuery, but since you can't..
 
8:04 AM
Even with that jQuery no conflict thing?
@NandhiniDevi Please use a jsfiddle or something, noone is going to look at all that. Or at least format it so it's somewhat readable
 
@Magikaas Suppose I have javascript file A which defines global variable foo. Now suppose I have another javascript file B which also defines global variable foo. A and B do not know the other exists and they have conflicting uses for foo. How can you fix this without modifying javascript A or B?
You remove one, but assuming that isn't an option?
 
jQuery no_conflict redefines the $ for a scope, then you can insert that other foo using javascript and use the new $. If I recall correctly... But please correct me if I'm wrong, I'm not 100% sure about this
It stores the main $ in a temporary variable, redefines $ for the scope and then resets the $ to the old $ value, but please don't quote me on this ._. It's just something I recall
If not in jQuery, but in general, you'd have to use either, instead of both, I guess
 
@Magikaas the noConflict method redefines it, it's true, but you have to modify the original code to make it work
At least to my knowledge.. Hmm, now I'm curious
 
@Neil I understand it well...:( thanks
 
If you can't include the other plugin in an anonymous function that gets a parameter $, in which you give a renamed $ variable for your other jQuery version.
Don't know how much of what I just said is possible... -_-
 
8:11 AM
@Magikaas I think it gets a lot more complicated when you consider events and plugins
 
'morning
 
noConflict is jQuery's attempt to fix these types of problems, but will it work also with jQuery UI? And also with third party plugins? Not so sure about that
Could be worth a try anyway
 
Yeah... It's tricky :P what if you serve 1 file that concatenates 3 files, then you can have the start of your function in the first, the plugin in nr 2 and the end curly bracket in the last file xD But it's early and now I'm just talking crazy XD
@towc Murrrnin
@Neil Can't say anything about that, as I have never tried that before
 
creating that only
sir
 
@Magikaas Consider that the server may be adding these jQuery dependencies, and he'd have to have a $.noConflict(); line inbetween.. that alone sounds like a daunting task
 
8:16 AM
 
!!s/daunting task/challenge/
y u no work?! D:
Is that not the correct syntax for that command? ._.
 
can someone help with disabling scrolling while jqm listbox is displayed
 
@Magikaas Yep
 
!!hello
 
8:19 AM
@Neil Then imagine it was changed, anyway :P
 
@Magikaas Caprica is dead or sleeping
 
@NandhiniDevi And you wanted to know how to change the pagination if you get 3 images instead of 5 on the page?
@Neil RIP in Pepperonis Caprica T__T
 
or any events that i can check for jqm listbox display or hide
 
ya
this is how my code looks
 
or any events that i can check for jqm listbox display or hide
 
8:21 AM
and consider 1 items after <hr> tag
 
or any events that i can check for jqm listbox display or hide
 
so there are 4 items displaying and only 3 should display in 1 page and 1 in another
page
 
@NandhiniDevi So you want to have 1 item per 'block' between the <hr> tags? You are adding 3 in javascript. Your javascript pretty much just adds 3 items 5 times, I'm not sure what you want to do, but if you have your items available to javascript in the client, you could loop through the items and add a page number to an array every x items, to page it
brb, cleaners are here <3
 
and pages nos should be 1
sry 1 2
i should display only first 3 block for client
 
great.. projecteuler.net got hacked
 
8:27 AM
update my jsfiddle sir
 
@NandhiniDevi I still don't quite understand what you're trying to do, Do you have the data available in the client or is this generated server-side?
 
Attention to anyone who has an account on projecteuler.net. Projecteuler.net has been hacked. Please ensure that the password you used to access projecteuler is used nowhere else. In other words, change your password or you may find your other accounts online hacked.
7
 
how can I check if a select menu is open or closed ?
anyone ?
 
client side
 
@Neil you're like 2 weeks late
 
8:37 AM
@NandhiniDevi And you have tried what I said earlier, about looping through the items and adding page numbers based on item-count per page and then adding items to a 2d array per day? Then you can either use an onclick to render the items for a specific day or hide/show items per day and just add everything as hidden at first
 
@FlorianMargaine I just found out
Fortunately I make a point to keep my gmail password different from every other on the internet
21
Q: Is there a DOM event that fires when an HTML select element is closed?

PremasagarI'm looking for a DOM event that I can listen to with JavaScript for when a select element that has been opened (but no options changed) is then closed by clicking off the select element, somewhere (anywhere) else on the page. It's not the blur event of the select, because the select retains foc...

 
@rlemon @Loktar ^
 
@Neil Same, I've always used a separate set of passwords for my email, cycling through about 30, once per two weeks, I have a separate set for often-used websites and then some for random websites that required a login
 
@Ecko123 Most of us just ditch html select completely, since it is quite limited in terms of theming and events
@Magikaas Better than me then
I have a password for work, a password for financial-sensitive accounts (paypal and the like), a password for gmail, and a password for everything else
Actually it is quite remarkable how I manage to remember them all
 
@Neil I've been thinking of changing to lastpass or something, seems to work quite well for people I know that use it. So much easier and quite safe
 
8:42 AM
Never heard of it. Not sure if such a site is a good idea though
It's true that security is going to be very important, but it is also the motherload of hackings
 
@Neil The not-so-important passwords are just 2 passwords, so I mostly get it before I run out of attempts (if I ever have to log in) :P Then I have 4 passwords I mix and match on more often used websites and I can remember my password for most of the ones I use semi-often
 
My password at work has to change once a month and they don't allow repeats ._.
I'm at <password>42 so far
 
@Neil It's saved hashed, so they also don't know the password, obviously, and the string of characters is crazy long, so it's not easily bruteforced
@Neil Bahahaha :P
 
@Magikaas Are we sure they hash it? Hmm? :|
lastpass.com It's this one?
 
@Neil Well I guess you can't be 100% sure, but then you might as well wait until someone manages to get into your company's user database or google's user database and say goodbye to your social life or something?
@Neil Yes
 
8:48 AM
It would not do a lot of good to store a hash.
You can only say that yes, the password you entered is correct
Of course it's also more secure
 
Which is exactly the point
Forgot the wording for it, but there's a term for that type of saving a password
irre-something-able password storing
 
irreversible?
 
Sort of yeah, that can also be used, I recall using a different word, but I can't for the life of me remember xD
 
It must store the password itself though
Otherwise it would be rather useless
I imagine you enter in your account using a password (and that can be saved using a hash)
But once inside, it would have to show you all your passwords
 
It stores the password client-side only, encrypted, as it uses browser extensions
Which auto-fills login forms and the like
 
8:53 AM
I suppose that is about as good as it could get
 
sup?
 
Soup?
 
Hi guys, I'm using github pages and jekyll, and I'm wondering what the most easy way would be to add translations to this set-up.
I've seen some jekyll multiple languages plugins
But it seems that gihub won't install these.
Anyone here been in the same situation ?
 
9:13 AM
It must be a major project then
 
I don't what will classify as major, but I've got offered help for translations in 10 different languages, and I think it would be awesome if I could add those to the website
 
I just mean that generally, you just write it in english, unless it is a well-used library
 
@Magikaas with mushrooms please
 
@Kasper I wish I could help you though. Not familiar with Jekyll
 
@towc 'Special' Dutch mushrooms?
 
9:17 AM
@Magikaas depends on their cost
 
@Neil It's a educational game, and some teacher want to use in their own classroom, and so they offer to add their translation to the game.
 
I wouldn't know the price, but I guess more expensive than wild or homegrown mushrooms and other fungi used for processing in food, excluding maybe truffles
 
@PattyPatPat ping
 
@Kasper Ok, well I can see that then
@Magikaas Truffles are worth more than gold by weight (not an exaggeration)
 
9:28 AM
@Neil Sounds alright, they are pretty light-weight, especially compared to gold
 
@Zirak AND YOU NEVER WILL
.... wait, wrong context.
 
@Zirak The digital form of collecting trains, for people that don't have the space to lay out rails throughout their house/apartment
 
9:31 AM
I love bash
 
Bahahahaha
 
I've eaten white truffles before. I can see why they are worth so much.
I don't think I would buy them, but they have a wonderful smell
Oddly, it smells most like gasoline, for lack of a better term
 
Wonderful / Gasoline O_o
@Zirak That's funny too yeah :p
 
@Magikaas Not everyone likes truffles :)
I don't understand why they can't grow truffles in a laboratory
 
9:41 AM
@Neil I've personally never had them (or at least I don't think I have, I don't usually go to fancy places or restaurants :P)
 
You'd think they'd have jumped on that market
 
@Neil I guess they're just 'not the same' then :P
 
@Magikaas I don't normally have it either. I don't think anyone does really
Though if you happen to see pasta with truffle sauce on the menu, I suggest you try it
@Magikaas Heck, we can grow meat in petri dishes
 
@Neil Hahaha, true that xD
 
06-28 01:33:30.990: E/Web Console(17017): Uncaught TypeError: Object 1~MRFS Group,2~Hoffman Security has no method 'split':197
 
9:42 AM
Why can't we grow mushrooms? It seems like that would be easier
 
@Neil Apparently something to do with fungal diseases
 
if(custField.field_label == "Company Number")
{
alert(dropDownValues);
for (var j = 0; j < dropDownValues.length; j++) {
fieldType += '<option value="'
//+ dropDownValues[j]
+ dropDownValues.split(",")[0].split("~")[0]
+ '" '
+ selectedValue
+ '>'
//+ dropDownValues[j]
+ dropDownValues[j].split(",")[0].split("~")[1]
+ '</option>';

}


}
 
@ErumHannan Format that please and don't just dump code here without any information, try a jsfiddle
 
They can't be farm grown, because we don't really understand how they multiply
But we can get the cells to divide I would think
 
@Neil The only reason I can think of for how we don't know how they multiply would be because we never bothered
 
9:47 AM
@Zirak I can't believe that's an actual game
> All my life I have been empty. The doctors could not tell me why I was so depressed, and I never knew myself until today. I needed to experience my life as a goat. Goat Simulator has filled the void in my life.
 
@Neil Hahahaha
@Neil It is they kept any physics bugs it has in the game as 'features' :P It's pretty crazy to watch, even if somewhat... Simple
 
06-28 01:33:30.990: E/Web Console(17017): Uncaught TypeError: Object 1~MRFS Group,2~Hoffman Security has no method 'split':197
 
@ErumHannan you loop through the string character by character and then split the full string and the individual character, I think it's tripping over the splitting a character
 
yes i m doing same
 
Oh, capital letters and lowercase letters
is dropDownValues something else than dropdownValues?
Because that's very confusing, if so
 
10:00 AM
no no its same
typo
 
check the fiddle
the topmost string you defined is dropdownValues
 
@ErumHannan Quite a bit has to change to make this fiddle even run Because of missing variables, give it a bit
I also removed the horrible spaces/tabs at the start of every line, because it's hard to read
jsfiddle.net/ehK32/3 Is this what you intended?
Otherwise, I dunno
I don't get the error you showed
what browser are you using?
 
working on phonegap
and android
 
aha
 
10:28 AM
not working
 
hi
 
I could try and rewrite my dastul's super laggy renderer so that it uses webGL... it should be a lot faster
 
any one suggest any free chart control for commercial use
 
0
Q: pagination in javascript with dynamic page numbers

Nandhini DeviI having 4 blocks and in 1 page only 3 blocks should be displayed and in next 1 block should be displayed and page numbers should be generated dynamically according to the the pages.I have given HTML and javascript coding.How to do pagination ? <div id=1></div> <ul class="pagination pagination...

 
10:45 AM
0
Q: Node.js Abort chain in Q in different point

rodiI have a pretty long chain of check in Q, and I would to interrupt it when an error rise: I have looked to How to abort a failing Q promise in Node.JS and other answers on SO, but it seems impossible to me, that can't exist nothing else. Example ` Q().then(function(){ return Q.ninvoke(myOb...

 
10:58 AM
@towc do u know pagination
 
@NandhiniDevi I guess I do
but I'm quite busy
 
k
if you are having time answer my question
 
@NandhiniDevi I'm guessing you've tried different things too, not just that bit of fiddle that you put together for this question?
 

« first day (1350 days earlier)      last day (3599 days later) »