« first day (1505 days earlier)      last day (3447 days later) » 
00:00 - 15:0015:00 - 00:00

3:00 PM
The contract or the cost of the desktop?
 
both ;p
 
Contract paid $3k to make a game
I spent roughly $1k of that on the desktop
How about yours?
 
wow that is pretty good
1.2k USDs
 
The best I've had so far
What'd you make?
 
spent 750 of that on the laptop
But mine was from distributed sources. I did the work only for the new machine, my old one sucked. I haven't continued after that...
 
3:02 PM
Ah
Website work?
 
Codementor
 
Ah
 
Sweet site, that is.
 
Yeah, pays pretty well too
 
Actually, my second student got me some work, on a survey site. Mostly backend, that fueled me up!
 
3:25 PM
@Mosho I hated the tortured genius theme
 
posted on November 29, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} We are keeping things 10% off in the store for a few days longer!

 
@AwalGarg How's the site? I've been thinking about applying.
 
@Zirak I don't think you will like it. Full of n00bs.
Wanna see some of the requests?
 
Sure
 
3:31 PM
...what?
 
Well what I'm looking for is a chance at educating newbies. Nettuts didn't like me for some reason, I can't edit w3schools, so I'm looking for somewhere that can be done
 
there are some good ones too
@Zirak then apply.
 
What's the process like? People say "help on X plz", you say "sure I can help", and you go on a romantic cruise?
 
You would be a great mentor for sure, what I am afraid off, is that people on that site don't want to put effort. mostly
@Zirak yes, like that.
 
3:34 PM
Yeah, why can't we edit w3schools?
would be a pretty decent site if we could correct the errors
 
@Jonathan would take like....10 years?
better to entirely rewrite the site.
 
ok, let's ask MDN for a Try It editor in that case :P
 
what for?
that try it editor does more harm, than good.
 
@Jonathan That's why we have WPD and MDN
 
Because I liked the w3schools editor
 
3:36 PM
@Jonathan it's shit
 
@Jonathan You mean like jsfiddle or jsbin or liveweave or codepen or ...
 
^ that
 
Yes
but it's nice to have it integrated and filled with snippet of what you're looking into
 
@Jonathan it is nice for lazy people.
 
<---
 
3:38 PM
Question: Is there any difference between
var x = function() {};
and
function x() {};
 
yes there is a differnce @Deep
but it's minor
 
#dupe
 
What is it?
 
you can invoke function x() in the code before it's defined
 
@Jonathan It's not integrated, it's a completely different page. As for "filled with snippet", what's jsfiddle.net/vnkuZ
 
3:39 PM
because functions are parsed before vars (if that's a correct explaination)
 
30
Q: JavaScript function order: why does it matter?

Chris TolworthyOriginal Question: JSHint complains when my JavaScript calls a function that is defined further down the page than the call to it. However, my page is for a game, and no functions are called until the whole thing has downloaded. So why does the order functions appear in my code matter? EDIT: I ...

 
That answer covers it I guess ;)
 
@Zirak I am curious how you were able to discover that answer in so less time? Can you please educate everyone of us about that method?
 
@AwalGarg How I got the link? Well, I remembered writing the answer, so went to my answers page, got the link.
 
ok, my bad
 
3:48 PM
People are really nasty about w3schools but I honestly don't know a better starting point for someone who has zero html/js/css knowledge
 
codecademy
 
requires an account?
 
yes, so?
 
Ok, looks pretty decent
but still its just a tutorial from a-z
w3schools has a full list on the side which is more helpful imo
 
@Jonathan with better do you mean "bad, misleading and filled with bullshit" ?
 
3:54 PM
pffff
 
> a better starting point
this is what you asked for?
 
Yes
 
1 min ago, by Jonathan
w3schools has a full list on the side which is more helpful imo
 
codeademy wins for the tutorial
 
ehh .. whatever
 
3:55 PM
but w3schools still has a better general overview
 
if you want to believe that w3schools is the best way to learn , then go with it
 
easier to navigate
 
lol
just , do use one little favor: PLEASE SHUT THE FUCK ABOUT IT
 
@tereško provide me with a better resource than
 
MDN ?
 
3:56 PM
MDN teaches newbies html/JavaScript?
good luck with that
 
you did not specify for what you want ed the resource ...
 
tldr?
 
If you want complete and thorough documentation, mdn and wpd have comprehensive lists on everything that's available. mdn also has at least one example on nearly every page.
So not sure what you're aiming for
 
3:59 PM
... ad now you are just ignoring the links
nice
 
MDN is great
 
Somebody please help me. How can i Keep adding a value from an event? pastebin.com/mARTWJCV . Event will reset every 10 sec.
 
use the closure
 
reading the book alone will not take you anywhere, open a text editor, and write
 
@tereško Noob :) any Direction? please
 
4:00 PM
@Vishnu Put sumofcurrentdata on a higher scope, currently it's in an ineer function
 
w3schools.com/html/default.asp They corrected the HTML example on page1 without the head tag :P
 
@Jonathan slow clap
 
... but I'll drop the subject since it clearly just pisses you off
 
4:13 PM
Hey @Jonathan, I often direct beginners to w3schools as well. The site does, admittedly, often vastly oversimplify things, but sometimes that's necessary for people struggling with the basics of programming. However, if you want a stronger foundation in javascript and what really makes JS powerful, eloquentjavascript.net is an excellent resource!
 
Good morning everybody.
 
@CaseyRule exactly
 
Can anyone give their opinion/input on my question. stackoverflow.com/questions/27196625/…
 
4:36 PM
yes
 
it's unanimous.
 
@AwalGarg Reminds me of how we made detonators with my mate when we were kids :P
 
4:58 PM
pastebin.com/SD56p536 Array.reduce will not work if the array have "NaN" values?
@tereško I made an array. But now adding values got problems pastebin.com/SD56p536
@Zirak I am getting values globally. But Problem when adding it to previous values
 
5:31 PM
I have an error saying unexpected indentifier.
 
at what line?
 
1
Q: Improving Javascript and Modal HTML

user3732216I have a bootstrap modal that was modified to be displayed to get a confirmation when a user clicks on a button to delete the item. After thinking about it I want to be able to use the same bootstrap modal template when I want to get confirmation from the user when they try to create a new item ...

Check out my last update.
Please.
 
5:42 PM
What do you think Jonathan?
 
6:01 PM
var MovingData = [NaN,NaN,1,3,1,334,4,5,67,7,8]; How can i add the Numbers? var SumofMovingData = (MovingData).reduce(function (p, n) { return p + n }, 0); Not Working
 
Sim
quick question can the search in <li> be searched by sorting content by list
 
Sim
example lets say i have list of items using <li> i know i can use javascript to search through the list but is it possible to search by category this is my sample code var search = $("#search");
var listItems = $("li");
search.on("keyup", function() {
var terms = search.val();
if (terms == '') {
listItems.show();
} else {
listItems.hide();
$("li:contains('" + terms + "')").show();
}
});
 
Does anybody have any idea?
 
Sim
@AwalGarg so im trying to sort the list is it possible?
 
6:31 PM
@Vishnu What do you mean, Not Working?
If you get NaN, it is indeed working fine.
 
@KendallFrey I teed Total of Numbers i try DataFinal += parseFloat(totaldata[totaldata.length - 1]); But Array is filling by an event handler th value is getting reset every time the evnt get reset
 
@Sim Sorry, I am not a jQuery guy.
 
@Vishnu Is that related to your last question? I have no idea what you're talking about
If you make a JSFiddle, and show me what you expect it to do, maybe I can help
 
@Zirak Did you apply for nettuts plus? May I know your age?
 
@KendallFrey OK i will try to demonstrate on JSFiddle. Thankyou
 
7:07 PM
@AwalGarg I sent them a few ideas for articles, they didn't contact me back. And no.
 
@Zirak ok. I send -> they ask my age for confirmation -> ask me to wait for another year -> me sad :(
 
@AwalGarg They suck, then
 
xD
 
Good things are good, regardless of age
 
@Zirak People die if they are killed
 
7:13 PM
That is correct. 10 points to Gryffindor
 
!!youtube people die if they are killed
 
@Zirak I don't think @SecondRikudo qualifies to be a Gryffindor student.
 
Yeah, he's clearly not a main character.
 
@AwalGarg You don't think I'm brave?
 
@SecondRikudo That is not what I think. I think you better be a Slytherin.
 
7:18 PM
@AwalGarg I'm not a pureblood though
 
@SecondRikudo k then, GRYFFINDOR!!
owwait
They sort students based on what they aspire to have, and not what they have.
 
Guys some advice please
 
no gryffindor.
 
In my database, I have a bunch (large bunch) of Item objects
What would be a good testable way to get those items from the database and into my object graph?
 
Hufflepuff would be a good choice.
 
7:24 PM
(also, some objects will need to update their records on the DB)
 
cuisine.boxes = this.state.cuisines.filter(x => box_ids.indexOf(x.id) > -1 );
so i cannot do this ?
but this is fine
 
YAY I have a private github repo \o/ \o/
 
8:23 PM
@AwalGarg congrats my friend :-)
 
8:48 PM
@SecondRikudo query said items? and what is an object graph
 
Suggestions for good ubuntu apps? For productivity or help in coding or whatever...?
cc @SecondRikudo ^
 
@AwalGarg sublime text ;-)
 
@darkyen00 -_- "new ones"
 
"the ones that I don't know off"
 
8:53 PM
@AwalGarg "Please read my mind and don't suggest things I already know about"
 
@Retsam lol he knows I use sublime :P
 
@AwalGarg I would suggest you to use gcc
 
@darkyen00 looks I already use many of them :p good list still.
 
Yeah, but the "ones I don't know of" was in response to a whole list.
 
probably you already do but gcc does more then just compiling c :P
 
8:54 PM
@darkyen00 gcc is some c compiler?
o_O like?
 
@AwalGarg wow you don't know what GCC is thats a good starting point.
learn gcc/valgrind/<find the rest tools in the belt>
valgrind even helped me fix Memory Leaks in my node code so :P
 
Getting Progress of some file Uploads using >> xhr[i].upload.addEventListener("progress", createProgressHandler(start, i), false); Working fine on ALL BROWSERS Even On Mobile Versions of popular Browser. BUT ON LATEST IE on Windows 8.1 IT is SUPER JERKY and only updating Progress After Finish one File Upload. It is strange for me. Any IDea?
 
9:13 PM
shit I just tested it out, it works damn good man!
+1 google, luv ya!
 
Hello guys. I love symfony 2 optionsresolver (github.com/symfony/OptionsResolver). I was wondering if there was any similar library in js?
Basically you specify default options, allowed values/types for array of options passed
I'm not sure under what keyword search for it, so sorry if it's some obvious popular lib
 
9:41 PM
Is there a canonical question on the difference between func() and func?
(like, for those setTimeout(func()) questions)
 
weloveiconfonts.com - this is totally starrable
 
I am using bootstrap v3 and modal.js and everything works fine except the dark background color that is supposed to show up when you click on the button to open the modal window
 
10:34 PM
@Scimonster canonical I don't know, but here's a link that explains it well stackoverflow.com/questions/15886272/…
 
@Shmiddity wasn't it you who guys were using React ?
 
10:51 PM
Thanks, @SterlingArcher
 
I've tried everything
 
element.style {
   height: 42px;
   font-size: 21px;
}
^ OMG , I literally spent 5 minutes figuring this out.
 
@Misiur Not entirely sure what you're looking for, but you might look at lodash's _.defaults. There's no conception of "allowed types/values", though.
 
11:07 PM
So JetBlue now has complimentary wifi
 
@SomeKittens Really?
is this a limited time thing?
 
Not sure
it's $10/hr for streaming/gaming/etc
 
cause they just got rid of free bags I think
 
Nope, kept those
 
If you are checking more than one bag, there is a $50 fee for checking a second bag and a $100 fee for a third bag.
yikes
 
11:15 PM
That's always been the case
it's the first bag free
Most other airlines charge for first bag
 
@Cerbrus Hi Bestie
 
Hai there
 
we're in Amsterdam
 
I just got home from Amsterdam o.O
 
11:25 PM
Come back :(
 
we have a car, we will pick you up :)
 
Has anybody here tried browserSync ? I was such an idiot to use live-reload so far.
 
@BadgerGirl: By the time you get here it's at least 02:00 xD
 
tomorrow then
 
11:38 PM
Got plans tomorrow already :P 2 horses I need to ride...
 
What's the protocol on old questions like these? stackoverflow.com/questions/21592471/…
I want to delete my answer and down vote so the roomba gets it
but I don't think that's the right thing to do…
 
11:54 PM
@royhowie 1. That's not very old. 2. Why should there be a protocol for old questions?
 
00:00 - 15:0015:00 - 00:00

« first day (1505 days earlier)      last day (3447 days later) »