« first day (1412 days earlier)      last day (3527 days later) » 

12:02 AM
I like to think of them as a mint - a wonderful palette cleanser for the brain.
 
@SomeKittensUx2666 agreed
I love their series on the Punic Wars
 
@Loktar They're starting a Patreon for more Extra History
 
nice
Ill donate for sure
 
Yeah, I'll probably donate to that, too.
If you guys have interest in Roman history, there's a really good podcast on it.
Couple of them, actually.
 
any suggestions for videos on how to make good-looking designs?
 
12:12 AM
Graphical design or program design?
 
graphical design
like, website designs
 
Meh, boring
 
covering font, spacings, images and stuff
 
@copy certainly less boring than my current designs
@SomeKittensUx2666 I'd like to learn how to do it myself, not to use an external tool
 
maybe I'll use it if I need it, but I guess it's good to know some for yourself too
@copy ok, program design then?
 
Anyone here happen to know C#?
 
@DemCodeLines there is a c# room
 
@towc I don't know actually. Read a book
 
ok, just a film then???
 
12:17 AM
@towc Yup, except people not in there or away.
 
fucking people man
 
@DemCodeLines oh XD
 
@towc The Big Lebowski
 
swatting, I can't believe this is a thing
 
sigh
 
12:19 AM
@towc I've heard good things about the book "Clean Code"
 
@Loktar you're more into Twitch
 
^^ Good book
 
how often does this happen youtube.com/watch?v=Nz8yLIOb2pU
 
seems to be more common @rlemon lol
 
because the comments make me feel like it is more than a handful of times
seriously... the fuck is wrong with people
 
12:20 AM
@rlemon oh, I linked to the polygon link half an hour ago
 
man idk its crazy
 
@rlemon Seems like the police does it on the basis of a single anonymous call
 
imagine if one of these gamers had a replica gun on their desk.
can't imagine it is impossible for a gamer to have a toy gun that looks real
cosplay and shit
 
I have a giant knife on my desk.
@copy yeah man thats whats also a bit crazy
 
yea how would SWAT feel about that
 
12:21 AM
@Loktar Me too. But it's a letter opener if anyone asks.
 
but the one time they don't itll be serious
 
@copy They kind of have to.
 
I have... monitors
Oh man, I should post my new setup
 
@Retsam No, why
 
Can you imagine the shitstorm if a bombing happened and it got out that they had gotten a call about it and ignored it?
 
12:22 AM
No
 
this one was called in as a shooting with multiple casualties/hostages? I can't remember now
but schools nearby and stuff were cleared
 
I'm failing at angular js :|
 
@Retsam quite expensive it looks :/
 
@towc Always libraries?
 
@Retsam we surely don't have that book in any library in piedmont XD
 
12:25 AM
@towc And no inter-library loan programs?
 
Just moved back to fredericton for school: new setup
 
Is that only a US thing?
 
Monitor that's on is uhd
chair is at my girlfriend's
 
@Retsam what even is that?
 
dude
get a better chair
 
12:26 AM
@towc It's where if a library doesn't have a book they'll request it form another library for you.
 
no excuses
 
@Cereal I have no idea how people use computers in such cramped spaces... my keyboard needs to be at least 1' from the edge so I have room for my arms to stretch
 
hahah dat chair :P
you're going to destroy your back
@rlemon is right too man you have a kickass mic some nice monitors
 
@JimmyHoffa Gotta slouch more
 
pony up like $80 for chair :P
 
12:28 AM
@Cereal if that's your solution, something tells me it won't stand up to a full length career :P
 
I have a 100 dollar chair, it's just up the street. Girlfriend is out of town til the weekend, so Ican't get it
@JimmyHoffa =D
 
ahh
anyway just giving you crap/joking
I like your mat and mic
I almost got one of those
 
the mic is more moody than my girlfriend. It connects like a dream on linux, but only connects half the time on windows
 
wow I'd expect the other way around
do you stream?
 
@Cereal get a backup :P
 
12:30 AM
I stream starcraft
 
no excuse !!!
 
ah cool
I used to have that same webcam
 
I DO have a backup! It's.. also out of town >.>
 
it liked to autofocus all the time though
 
cool setup, penguin, and a grandma back killer?
 
12:30 AM
lol
 
dude....... DUDE!!!!!
 
@Loktar Yeah, autofocus every 30 seconds. You have to turn it off, and setup everything yourself
 
How do you know if someone is authenticated with angular.js?
 
I ended up getting that
but I never friggin stream now
 
@Loktar Yeah, I don't stream often anymore. School and work, I don't play long enough consequtively to warrent turning the stream on
 
it was a walk into a store and get the first one I see that looks decent kinda buy
 
my upload speeds turned to shit :(
I used to gt like 25, now I get around 10-12
made me mad when i couldnt stream 1080 anymore
 
I get like 13, I can push 720@60, which is good enough for me
 
ha! I wish
during hours I actually want to game I get <10
during hours I don't care about I get like 25
fuck Rogers Cable
 
12:34 AM
that sucks :?
I think I need a new router honestly
 
they've over taxed their network
 
I had one from the cable company my speeds doubled but the connection dropped like every hour for a min ro two
 
@rlemon I have rogers too. It's.. inconsistent
 
so it is capable of great speeds, but you can almost never get them when you want them
 
you also have a bandwidth limit too right?
 
12:35 AM
@rlemon What ISP hasn't?
 
nahh I got rid of that
 
At least yours hasn't decided Steam is a virus
 
they offered me $30 on top of my current package to get unlimited
but even before that it wasn't so bad, they had a cap of how much over they charged you and didn't throttle based on usage
cap was $50 when I switched, now it's $100, but I was consistently like $45 over so it made sense
@Cereal my only realistic options for a quality connection are Bell and Rogers. and both suck, however Rogers is significantly less sucky.
 
@rlemon I'm assuming you don't have aliant fibre op in your area
 
nope
 
12:38 AM
150/150 for 70 bucks
woo
 
I can get fiber for $100 more a mo than I pay now
my area is still like "fuck you we need to pay off our investment on this copper"
 
I don't get it here either. Everyone on the street but this building has it. Very sad. I pay for 75/15 from roghers right now, with a 500gb cap
 
I got the 150/75 package with unlimited bandwidth for $120/mo
but those speeds i've never seen, best i've got is 100/50
 
We don't even have that package here.
 
worst is at work I have Bell only. so I get 4-5/.4-.6 for the same price I pay for home internet :P ... sometimes I feel like @SomeGuy ....
 
12:43 AM
How not to write JavaScript.
var liftM2 = function(f, m1, m2) {
    return bind(function (fp) {
        return bind(function(a1) {
            return bind(function(a2) {
                return ret(fp(a1)(a2));
            }, m2);
        }, m1);
    }, ret(f));
};
 
I stand corrected
 
@JimmyHoffa staircase code
gotta get your daily workout
 
@Cereal my copy was indented, pressing fixed font turned it off not on...oops...
 
15
Q: Chat Easy Input Tools - Provides keyboard shortcuts for common text formatting commands

rlemon About Provides keyboard shortcuts for common text formatting commands, reducing the dependency on mouse usage. Current version does not have a configurable set of hotkeys but later versions will. How to use. All of the following commands are run if the user has focus in the chat input area. ...

not that it would help in this situation, but I'll plug it anyway
!!nudge 1080 PUT YOUR USERSCRIPTS ON THE GOOGLE STORE!
 
@rlemon Nudge #1 registered.
 
12:46 AM
hey what was that tool like Balsimiq?
someone linked it the other day and it was kickass
 
no clue but Balsimiq looks cool
 
@Loktar I liked iplotz back when I did more UI stuff... but there's a metric ton of ripoff tools just like balsamiq...
forget the name for those
 
this one was really awesome though damnit
/me searches the chats
 
mockingbird is one of the more desktop-like ones I found
to my recollection
 
i would like an easy svg editor
 
12:53 AM
found it
it wasn't said in this room was the webdesign room
 
user2620028
1:07 AM
Hey guys
 
user2620028
I have a very specific position:relative question if anyone wants to take a stab at it (Is anyone here?) lol
 
I'm not here
 
stabs Aaron
 
just float it right, that solves most of my css issues :D
 
@tymeJV do you like building boathouses?
 
1:10 AM
edit: spoilers
 
?
 
user2620028
But i already have it floated left :(
 
then unfloat it
 
display:inline-block
 
display: table;
text-align: left;
 
1:11 AM
kk, I'm outta here
 
obviously.
 
user2620028
God i love the sarcasm lol
 
user2620028
I am aware of how css positioning works in a grid. And i understand why this is laying these divs the way it is. jsfiddle.net/kpdnj23t
 
user2620028
My question. Is there an easy way to make it have a tetris effect :D
 
1:25 AM
!!wiki tetris effect
 
The Tetris effect (also known as Tetris Syndrome) occurs when people devote so much time and attention to an activity that it begins to pattern their thoughts, mental images, and dreams. It is named after the video game Tetris. People who play Tetris for a prolonged amount of time may then find themselves thinking about ways different shapes in the real world can fit together, such as the boxes on a supermarket shelf or the buildings on a street. In this sense, the Tetris effect is a form of habit. They might also dream about falling tetrominos when drifting off to sleep or see images of falling...
 
I think I'm more susceptible to the Tetris effect than average... I've gotten the Tetris effect from playing chess in the past.
 
Interesting..
 
user2620028
Facepalm
 
user2620028
1:30 AM
Might just have to develop this one myself......
 
Oh man I totally went through the teris effect
 
@Loktar nice!
 
After playing consistently you see the shapes drops when you're eyes are closed
 
@AaronSiciliano masonry.desandro.com
the effect you're looking for is Masonry
 
1:34 AM
I like Masonry
 
there is a number of tutorials explaining how to do it
again, not knowing terms is such a hindrance in teaching yourself programming.
 
is the actual effect called masonry?
 
it is the common term
 
the popular plugin for JQ is called masonry
ah.
 
buzz term
better than "stack elements like tetris" :P
 
1:35 AM
ah nice to see he removed the dependency on jquery
 
user2620028
HEY! lol
 
I remember using this back in like 2011 or so
 
@AaronSiciliano no not knocking you
 
user2620028
Nah its cool. Thats exactly what i was looking for
 
:P just pointing it out
I'm in the same boat remember
 
1:36 AM
cascading grid
 
just have a little more time in it
 
user2620028
I was thinking to myself.... i know how i can do this.... but i am sure someone is much more original than i am.....
 
^ is the actual term it looks like
dynamic grid too
 
2:17 AM
@copy The Duuuuuuude
awesome
 
2:35 AM
so, I sent a mail to codepen asking to add EJS as an option, they answered:
> Never heard of it! I found it googling though. We'll have to keep an eye on it. Unfortunately it's not as simple as plopping in, because these things are our #1 security risk.

-Chris
 
why doesn't .map work for objects with just one element?
 
@grasshopper what do you expect?
 
for it to just execute once since there is only one element rather than returning "undefined is not a function"
what can i do in place of .map that will also work if an object as one element (for loop right?)
 
2:51 AM
@rlemon we may get EJS somewhat soon in codepen :D
 
3:03 AM
@grasshopper for in
 
@user2625177 you're obviously doing it wrong.
!!> [2].map(function (value) { return value * value; });
 
@phenomnomnominal [4]
 
@user2625177 oh, you're mapping on an object?
not an array with one element
my bad
!!> var myObj = { key: 'value' }; var mapFunc = function (value) { return value + value; }; Object.keys(myObj).map(function (key) { return myObj[key] = mapFunc(myObj[key]); }); myObj;
 
@phenomnomnominal {"key":"valuevalue"}
 
3:36 AM
@grasshopper You could do [].concat(foo).map
That will have identical behavior with either a single item or an array.
 
3:54 AM
@Retsam what does [].concat(foo) mean /do
by "[].concat" do you mean myObject.concat or [].myObject
what does [].concat(foo) mean /do?
by "[].concat" do you mean myObject.concat or [].myObject?
 
4:24 AM
[] // take an empty array
.concat( // call the concat function on it
foo) // pass in the foo object resulting in an array with foo in it [foo]
.map(...) // call the map function on that.
 
4:44 AM
hi
 
@guoqiao 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, that's 2 days without sleep
my latin resit test is in 3 days...
yep, I'm screwed
 
5:17 AM
0
Q: Q.js Q.all() when the length of array of promise is not sure

cocoI want to return an array of promise using Q.all(); like this: return Q.all([list[0].getCssValue('height'),list[1].getCssValue('height'),...,list[list.length-1].getCssValue('height')]); I need to return all list in the array and I can get the length by array.length. the question is that I can't ...

 
5:34 AM
Problem: I found this feature of Google Map API interesting and I wanted to create a fiddle out of it so I can play around. developers.google.com/maps/documentation/javascript/examples/… However, its not working in my fiddle. What am I missing? jsfiddle.net/rdesai/gt9tp7qs
 
5:48 AM
anyone here at a very high res screen?
like 2500px or something?
 
6:08 AM
any idea guys?
 
seconds too late
a shithead already managed to post an "answer"
 
@tereško Saw that. But the question will probably be deleted.
 
@BoltClock it's ok you downvoted I'm sure knittl don't mind you don't have to tell him 'someone else' doesn't like it. — Benjamin Gruenbaum 7 secs ago
:D
Let's delete it
 
Pfff...
You're given other arguments to your error callback. Look at them before asking SO ! — dystroy 19 secs ago
 
6:20 AM
@BoltClock Of course not, I was making a joke on a question that was about to get deleted in a few seconds anyway :(
 
I'm not the downvoter but "Smart" is probably exaggerated. It's just two definitions, not even pointing why the question makes no sense.
 
Hahahaha, "I wanna delete a DB entry", priceless.
 
@BenjaminGruenbaum About your remark on CSRF : it's true and good to point it but it often doesn't matter. A lot of applications are developed for a few users on an intranet who don't care about security at all
 
@dystroy makes sense. Although I wouldn't have that BS even in an internal application.
 
6:30 AM
@dystroy ^ lolololol "Browser for ants xD"
 
@AwalGarg no offense meant for ants, of course
 
I was seeing how website like gmail fb etc behave on smaller screens... then I went to SE, then I thought of miaou... and what I SEE?
 
This isn't miaou. And this isn't a small screen but a micro screen
On a standard smartphone, there's no problem for dystroy.org or dystroy.org/miaou, I think
 
y u no support lg optimus one? even facebook supports it (the home page atleast)
@dystroy miaou doesn't work as well. It shows the contents, but they are not scrollable. Only Gmail could be clicked to login, not SE and others.
 
6:49 AM
@AwalGarg facebook supports that because when you have more than a billion members, every single device has a significant userbase.
For most websites it is simply not economical.
 
ikr
But I very much like the "browser for ants?" joke xD
 
7:05 AM
@dystroy I didn't know you cooked
Are French people all really good cooks or is it a personal passion?
 
7:39 AM
Mornin all :)
 
!! object literals
 
@CustomizedName That didn't make much sense. Use the !!/help command to learn more.
 
How is it called when domid automagically refers to <div id="domid"> in the DOM?
(And also, how's browser support for it?)
 
@SecondRikudo DOM 0 feature... soon deprecating. Don't use it. You can find it in the w3 specs for DOM 0 (and maybe DOM 1 too)
 
8:01 AM
can someone explain to me what is literal as to a 6 years old child
this is just too complicated for me to understand - en.wikipedia.org/wiki/Literal_(computer_programming)
 
@SecondRikudo automatic ID globals. Avoid those like fire.
 
@BenjaminGruenbaum I know
I wanted to point that out on stackoverflow.com/a/25543399/871050
 
This is actually specified it's called 7.2.4 Named access on the Window object
 
@BenjaminGruenbaum who writes those TL docs?
 
are object literals any different then c# objects ?
 
8:04 AM
@CustomizedName you mean C# anonymous objects?
C# anonymous objects are immutable for one.
 
0
A: Error in JQuery html

Abdul JabbarTry this: var htmlText = "<p>Learnphp has been reserved for you.<br><a href='javascript:;'" + "id='reset_username'>[Reset Username]</a> </p>" + "<input type='text' id='guest_email' style='font-size:13px;width:140px;'" + "onkeyup='validate_email(this.value)' placeholder='E-mail Address'>" + "<div...

 
@BenjaminGruenbaum I thought objects are just objects, I don't understand this anonymous concept other then they don't have names
 
answers like this... oh ffs
Try this
/* block of code */

without even trying to explain what the problem is here, and usually they get upvotes pretty quickly
 
@GNi33 DV them
 
/* block of code */ is bad, should always use //
 
8:13 AM
@CustomizedName ... No
 
@SecondRikudo JavaScript the good parts, page 6, last 6 lines
 
I HAVE JS GOLD BADGE PEOPLE!
No more whoring on crappy questions :D
@CustomizedName // is for single lines, and /* */ is for multilines.
Who cares which one you use?
 
@SecondRikudo Page 6 - books.google.co.uk/…
 
Because rules about commenting out code are strict and code fails if you use /* */ instead of // ?
 
@CustomizedName Don't comment out commented out code, that's common sense.
It has nothing to do with using /* */ or //
 
8:21 AM
@SecondRikudo congrats!
 
Thanks :P
 
@SecondRikudo I am learning myself, I can't paste whole page here, it says avoid using /* */ for commenting because it could throw syntax errors....
 
@CustomizedName I saw what he says.
 
can anybody tell me why there is a undefined in my html view ?
 
The reason is that /* stuff /* stuff */ stuff */ The last "stuff" is not commented
Don't comment inside of code, and you'll do just fine.
 
8:24 AM
In this example it was a regex, which it apparently also sees as an end-of-comment point
 
@samitha That didn't make much sense. Maybe you meant: ln, t, d
 
Does anybody see my question ?
 
0
Q: javascript loop does not write to number input

niCadI have made a loop to several fields in a dynamic table row to write and retrieve data from localstorage. It first saves data on localstore, resets the table to 0 rows and for retrieval of data, the table rows will be recreated it and load data there. The problem is that when the textbox is of t...

MY EYES BURN
 
@SecondRikudo do you know why this is getting undefined jsfiddle.net/u470fy6g?
 
0
Q: USB not detected

EmeI have been using my flash drive quite sometime, but recently it doesn't detect in my computer. Why other computers detect it while in my own computer does not? Does anyone had same problem with mine and solved it? Please help me! Thank you.

 
8:32 AM
> Have you tried talking to the local USB driver shaman?
I smiled.
 
@AwalGarg It's
 
@BenjaminGruenbaum sryTnxNoAgn
 
@AwalGarg what?
 
8:36 AM
Sorry, Thanks for pointing out, I will not repeat the mistake again.
 
Oh, sure.
 
I dont think that's what the author meant, no one comments within the code... it's just not possible, what he meant, if you have a variable with content as "*/" then your code will throw an syntax error, which is why at end he said,

/* */ should be avoided, he didn't said it should be avoided within code as that's just not possible...
 
One things for certain. I can improve a lot.
 
-1 Not enough jQuery. — Awal Garg 16 secs ago
Did you try putting jQuery on it? It's very good and solves all the problems. — Awal Garg 3 mins ago
lolololol
 
> The flash drive can still usable
 
8:39 AM
This question exists here because of its historical significance but is not considered a good on-topic question. Don't make an example out of it and ask a similar question again. — Awal Garg 12 secs ago
 
@CustomizedName "*/" carries a special meaning in JavaScript, escape your / with a \ if you want.
 
Just wanna discuss something.
 
@AbhishekHingnikar permission granted
 
@AbhishekHingnikar You'll need a shaman for that.
 
I have a sync feature for images (which purges dups and syncs cross device/ cross platform library) instead of using dropbox or 3rd party service. I baked my own using amazon s3 and node.js + postgres & local sqlite. This is how it works everytime a bunch of images [or even a single image] is synced it basically makes a "commit" to master database on the cloud. this commit has an integer id which is higher then that of the current. Image id's are obtained by hashing the images
 
8:42 AM
such nice weather outside but I'm too tired to go out :-(
 
and then phashing for similar images [scaled] versions
when a client connect to the server or its zero-conf cousin in the network its sends its current latest commit id.
the zero-conf server or the main server then pushes all the updated changes.
In case of merge conflicts [like 2 clients taking photos] the server merges them and generates a higher id which is propagated to them both
this commit mechanism only sends the photos taken after the "current" commit version
and only saves information till 10 last commits or [ 200 photos at max]. in case thats passed the whole lib is sent as json.
is there any potential flaw in this system ?
 
!!> "this system".match(/potential flaw/ig)
 
@Neil null
 
@BenjaminGruenbaum All ? No of course, but it's common enough. And yes I'm very interested in cooking
 
@Neil :-) are u just joking or thats your analysis of the system ?
 
8:54 AM
0
Q: Angularjs return data from the promise in controller's scope

korronaDear AngularJS savies, How to set $scope.data in the controller having a promise returned from a factory. All I can do is to do something with the data returned in the scope of the method of the factory's object and I cannot "load" the data in a value existing in the controller's scope. The cod...

 
define flaw
 
something that can go wrong :P
 

« first day (1412 days earlier)      last day (3527 days later) »