« first day (1896 days earlier)      last day (3275 days later) » 
00:00 - 21:0021:00 - 00:00

00:03
@ndugger I'm fairly sure that's a troll mocking the idiots making such signs
"Who cares if he won WWII"
Yeah, you're probably rigths sti funny, though
spelling doesn't matter if you're drunk
00:49
we can use $ for jQuery. where is that code in jquery-2.1.4.js?
fabian ~% curl code.jquery.com/jquery-2.1.4.js|grep -n '$ ='
9184:	_$ = window.$;
9187:	if ( window.$ === jQuery ) {
9188:		window.$ = _$;
9202:	window.jQuery = window.$ = jQuery;
ok
Is $(document).ready == window.onload or document.onload?
 
2 hours later…
03:27
@Loktar @FlorianMargaine @Zirak @SterlingArcher @KendallFrey @SomeGuy @somekittens Happy Festivus!
Cc @everyoneElse
03:50
@ndugger stock pic
the stock pic is happier than reality
lazy mofo didn't wrap the teddy.
05:00
05:47
Does anybody have any good reads for asynchronous programming in JS? (maybe with promises?)
06:41
@MadaraUchiha \\__(*__*)__//
07:20
@rlemon Merry Christmas
Merry Christmas, and happy holidays to all :)
08:09
Merry Christmas to you too @Loktar! :D Love that Prime
08:24
Merry to christmas to all
8
Q: How to find the closest element using jquery

MahadevanI have searched in SO I found so many examples but mine was little different from all. 1) initially i have a row if the user click save & next button it will say you have 3 fields missing 2) if the user click the addmore button and he did not type any value in the text field then ...

08:43
any suggestion would be really appreciated i tried all the solution from side nothing working
@Mahadevan JS technical support department is closed today due to Christmas.
4
:)
happy christmas
@AwalGarg lmao dude
I wonder how laughing out of an ass feels like
08:52
unonebox please
I think what I really wanted for christmas was a 1233 hp Golf 2... #notrebecca
@ivarni between 100 - 200km/h accelerator that was awesome :)
just 3.3 sec
0
Q: Inheritance hierarchy using object literal notation

overexchangeIn the below visualiation, object literal geolocation is under context of navigator(i.e., navigator.geolocation), but as per below code, <script src="http://maps.googleapis.com/maps/api/js" type="text/javascript"> </script> <script type="text/javascript"> ...

crl
crl
is it the third time you post it?
09:03
yes
I got some hint from the answer given, but still looks incomplete
crl
crl
@overexchange for this, not there also a DOMContentLoaded event, but I prefer to put scripts at the end of body
@crl can you please suggest me what i have to do i am struggling
:(
@Zirak, darklord stole your balloon
I stole what now?
09:54
Remember what we said about calling yourself a dark lord?
10:04
@nick why i have reached question limit ?
crl
crl
because you pressed ask question too many times
if i have one more question to ask how can i ask ?
!!> var a= [0,1].map(function(x) { return String.fromCharCode(x + (1<<5)); });
var b = ('\x48'+ (typeof a)[0] + a[Math.floor(Math.random())]).repeat((1<<2)-1) + a[1]; b;
@KarelG "undefined"
._.
crl
crl
10:18
!!> for (var i=1; i<2; i++)console.log(i)
@crl "undefined" Logged: 1
!!sandbox
@ndugger Please go and play in the Sandbox
crl
crl
s/th../my mom/
11:08
How the hell did this shitpost get 10 upvotes? stackoverflow.com/questions/34460479/…
@ndugger really asking?
Do I get to blame India?
@AwalGarg I'm gonna need you to take responsibility for your countrymen
-_-
@MadaraUchiha @ThiefMaster can someone investigate how stackoverflow.com/questions/34460479/… got 10 upvotes and make sure there is no foul play though?
It is a pretty bad question.
The OP's account isn't even a day old yet, also
Maybe they wanted upvotes for christmas?
11:21
Well, maybe they should have thought about that before they posted the worst question ever.
@ndugger The Dark Lord holds no responsibility of actions and consequences thereof taken by his fellow citizens. Any opinions expressed by the fellow citizens of the Dark Lord are strictly their own personal opinions and must not be attributed to the Dark Lord.
Well someone needs to take responsibility, dammit
and then there's this guy: stackoverflow.com/questions/34462156/…
I can quite confidently blame the education academic system here.
Correct me if I'm wrong, but it's also a cultural thing; I tend to see a lot of Eastern folk being pressured to "get a good job" instead of "do a good job"
https://t.co/aAUAHJ4Qct
@ndugger I hardly think "get shit done" is specific to India (or any other place). It is more of a general human attitude.
11:32
I'm usually more concerned with my quality of work rather than how much work I do; maybe I'm the odd one out, then
@ndugger you do realize that there are just a lot of Indians in SO right?
It's not that they're dumber, there are a lot of very accomplished Indian SO users. There are just more of them - more of the bad and more of the good.
I never said anything about their intelligence level
Yeah, you're talking about their culture - we both are. I wasn't implying racism or anything crazy like that.
11:42
Oh, ok
The language barrier can make it very hard, personally I have a harder time to understand Indian English than people who don't know English as well use other dialects of English. Something about "doubt" and "query" just sounds really strange.
posted on December 25, 2015 by CommitStrip

Frank Sinatra – Let It Snow Votre navigateur ne supporte pas l’élément audio element. CommitStrip wishes you a M3RR1 CHR15TM45

12:19
@AwalGarg Zirak's balloon
smh
First dive into developing native Android apps and it took about 5 minutes before I encountered XML files :(
I don't get it. I thought Zirak doesn't like balloons?
12:37
what does that mean.
 document.getElementById("_ms_val") && document.getElementById("_ms_val").remove(document.getElementById("_ms_val"));
that "&&"
meaning
And
Logical Operators // scroll down to short circuit evaluation here
is it return boolean
or same with
if
Means "and". Used like described in the link above
13:01
can i get id from without use this
 document.getElementById(),  document.querySelectorAll()
document.querySelector()
@SterlingArcher ^
@rlemon SterlingArcher is afk: shuttering
any solution for that my question
^_^
@DininduWanniarachchi Write your own DOM traversal/selector engine.
crl
crl
var myOwnSelectorEngine = document.querySelectorall
13:16
@crl Don't use querySelectorAll
crl
crl
sure..
ah didn't read his question
var byId = function (parent, id) {
  var nodeList = parent.getElementsByTagName("*");
  var node;

  for (var i = 0; i < nodeList.length; i++) {
    node = nodeList[i];
    if(id === node.getAttribute('id')) { return node; break; }
  }
}
crl
crl
eval('elementId')
but... why?
crl
crl
stupid q get stupid a :)
13:25
¯_(ツ)_/¯
Very rarely do I see ¯\_(ツ)_/¯ in SE chat with both arms intact ;)
it's like the triforce of chat
13:41
@pootis that works
And it's probably a couple of orders of magnitude slower than getElementById
really.. Ah so querySelector also slower than getElementById
@DininduWanniarachchi yes
For JS I refer this guide. I started learning jQuery from today, do we have any guide?
13:59
If querySelector is too slow for you, you've done something horribly wrong.
crl
crl
he has put the whole internet in one page
Dom access in a loop maybe?
while(document.getElementById('foo'))....
Ah no no rlemon...
Only one
Then don't worry about speed
crl
crl
14:04
@rlemon hm why would you want to do this?
just a if
@crl nahh. Block the process dude
It's what the cool kids do
crl
crl
ew
@crl do you have a worry from me in with my chat. If it I'm sorry.
(´ï½¥_ï½¥`)
@m59 omg m7
Nice
I got .New vga
It's nvida George gt 720
Merry Chirstmas.
14:56
@towc Cool, altho I think you should change the tint of the green of the tree. +1 for pure CSS.
y u no use webgl?
15:08
@BenjaminGruenbaum They're either very good at covering their tracks, or genuinely got those points.
I'll keep an eye on said user.
crl
crl
how can you find the first free slot in an array from a given point? I just see a while
ex: var a=[undefined, 2, 3, undefined, 4]; first free slot from index 1 is 3
@crl arr.slice(from).indexOf(undefined) + from
crl
crl
hmm nice, thanks
@crl Doesn't work with holes though
The element explicitly needs to be undefined
crl
crl
ah sparse arrays ok, was gonna check it
15:11
Although for sparse arrays you can just reimplement indexOf() with a simple loop.
crl
crl
nah I'll use a non-sparse array
so... meeting in 4 hours? yay/nay?
crl
crl
youdontsay.jpg
@AwalGarg Probably nay.
15:15
@Awal Miaou
crl
crl
@MadaraUchiha you can give a starting position in indexOf
This is probably a dumb question but why aren't you doing your meetings in a more async way?
@crl Yup, looks like it.
Even better.
@ivarni Because responsiveness.
We tried a mailing list, it was meh.
@MadaraUchiha why can't we just have a private room on miaou (link pinned here, access given to all) and let people chime in and leave thoughts there whenever they have time?
Because nothing will ever get done. You'll have a soup. You don't want soup, you want arguments.
15:24
@MadaraUchiha thanks for checking it out :)
@Zirak @MadaraUchiha @Mosho btw I'll be going tomorrow to olgako19.wix.com/hack-for-good
crl
crl
wix is some CMS I'm checking/copying sometimes
hope to make something better
crl
crl
/*we need a */ [1].repeat(3)
@crl wix has a 100 frontend developer team on their editor alone, just fyi.
@crl you have a string repeat.
crl
crl
hehe
@BenjaminGruenbaum I know, but bored to do Array(n).fill(x)
(not for characters, it's for objects)
@BenjaminGruenbaum I probably won't, but if you spot an interesting project give me a shout
crl
crl
wix is sucky, or that's me maybe, because it seems you position your elements absolutely on the page
15:51
Ok, cool.
crl
crl
Sampson is often in html room, cool guy
@crl Wix is sucky because a lot of things
crl
crl
:)
But they do a lot of good in the JS community in Israel (OS stuff, organize conferences, etc)
crl
crl
btw Madara, I took the wrong approach the other days with tables, now I'm making a simple square matrix that references <td> much easier to manipulate the table with that (for selections of cells, and resizing of columns)
15:55
haha I remember when I started learning programming, I saw a ton of wix ads on w3schools. I even made a couple of pages in wix and it felt pretty "pro-ish" at that time
crl
crl
lol
@AwalGarg same, except I used weebly
It was 6 years ago
kept on finding ways to hide their own branding from the free version :P
crl
crl
even more lol, there are squarespace too, jimdo, strikingly, ...
@pootis heh, I did that like 2 years ago :P
15:56
@AwalGarg That's exactly their business model
@crl ss is paid, so..
Websites that look "pro-ish" enough for small businesses and individuals.
crl
crl
weebly's layout is all table-based I think
Making a good WYSIWYG editor is incredibly hard on that scale.
Wix pulled it off quite nicely (although not perfectly)
crl
crl
@MadaraUchiha wait will show you mine
15:57
@MadaraUchiha and w3schools is the perfect place to advertise!
crl
crl
purely native, 1k LoC, does everything
@AwalGarg w3schools is the perfect website for a beginning programmer
crl
crl
for making him stop yes, nah jk
Happy Birthday Sir Isaac Newton!
5
15:59
debatable. I am thankful to them for providing me the "way to enter". could it have been better? sure
crl
crl
may the force be with you Isaac
I feel like this is something that should be celebrated more than the birth of that other guy who wasn't even really born on this day a few thousand years ago.
But that's none of my business vOv
16:16
hi all
crl
crl
17:18
@Zirak testing my new keyboard... I have to change some old habits, as well as some emacs shortcuts ^^
e.g. C-x b is now C-x n
because I've always used the right hand for b
and now it's not possible anymore
same for the 6 key... it has to be the left hand now...
so weird
it does feels "balanced" now though
I feel like I'm correctly using my hands now
crl
crl
it's a keyboard in 2 parts?
crl
crl
hehe
split keyboards look ugly to me, but make somewhat sense as well
eww
there has to be an aesthetic split keyboard
I really like the look of it :)
crl
crl
are you using the numpad often or not?
and it's really nice to type on it...
@crl never
crl
crl
ok
17:25
who uses that except for people typing numbers all day really
easier to keep your hands on the home row
crl
crl
or azerty'ers :( who feel lazy to shift
ah..
yeah, I feel no sympathy :)
crl
crl
no problem:)
^ get a camera and start dancing
@towc / @Loktar help with the color generator maybe ?
why did you remove :-/
crl
crl
nah it's a css feature I'm stupid
17:34
@crl what was it? Filters can be used on canvas as well if that's what you were trying to say
crl
crl
ah maybe, didn't really look the code sorry, my graphic card has problems, and cpu overheats easily
hi
i need help very important
i have written 500 line of code uisng notepad++ and notepad goes to crash and delete all of my code
is any way to restore that file
@Phoenix not unless you've saved it
yes ihad saved that file
i am writing that file for 2 months
17:52
@crl I am using css filters
@towc err dude help ?
I am crappy on making color generating functions :D
@Abhishrek what do you need help with exactly?
abhishrek bhai meri madt kar de
crl
crl
!!mdn hsv
how can i restore my file
17:52
sorry, I'm in a dark room and too lazy to turn the light on, can't see what it actually does :P
@Phoenix thou can't
whyy
i have written very important code ...
js code
well, it's 500 lines, you can rewrite them
moreover, the new code will probably be better
it'll also teach you to use a better IDE
it watch more than 600+ line
i have createed a lot functions in that file...
no matter how worried you are, you better start re-writing them
they're not going to come back on their own
can i restore file if i restore my computer
17:55
no
last night i saved that file
oh, so you still have that file?
yes
that is very very very very important
tried opening it?
it is aleady opened
17:56
so?
it is blank
totaly blank with 0 byte
crl
crl
windows restore just restore softwares right? not data I think
@towc you see the nice noise generator (it generates -1 , 1)
I want to convert better colors to start with :-/
so you have a value between -1 and 1 for every pixel and want to convert it into a color?
'hsl(hue,80%,50%)'.replace( 'hue', value * 360 )
this could be interesting
18:03
@towc how did you
Kindly please help me friend on this problem
http://stackoverflow.com/questions/34462318/get-the-last-two-seconds-records-of-chat-using-laravel-mysql-and-angualr-js
it will be really appreciated
oh smart
i realized what you did :D
@Phoenix so you embrace the fact that you're screwed and rewrite the whole thing
@Abhishrek nice :)
hey i have installed silverlight can this help ?
18:04
@Phoenix no. Just re-write the thing
crl
crl
el.style = {background:``hsla(${360*Math.random()},50%,40%, .4)``, ...} had this somewhere in my code
i dont remeber
@towc try this full screen (feel free to fork & play)
@Abhishrek if you want the rainbow spectrum to be shown just once do: 'hsl(hue,80%,50%)'.replace( 'hue', ( value + 1 ) / 2 * 360 )
crl
crl
pls towc... use template strings
18:05
@towc no dont want a rainbow
this thing is to be used with an actual LED based visualizer
@crl that's too ES6...
crl
crl
maybe but works on all brosers
more like a wall art that responds to you
and works using RPi
@Abhishrek hsl can be easily transmuted into rgb, don't worry
@towc that i know :D lol
18:07
you could hold the hsl values in memory and transform them to rgb on the fly
crl
crl
or at least string concatenation, but not a replace like that, sorry but it hurts my eyes (maybe it's just tastes)
@crl it's much much easier to read imo
also more semantically correct, if you don't consider template strings an option
@towc or do it on hardware for extra pita ?
and geek pride
18:10
haahahahahh got it
back the file
ty guys for help
got back the file 23/12/15
but not all the code i have write today
crl
crl
how? so at least the discussion is useful
ah the recuva thing ok
@Phoenix omg so funny
crl
crl
I think he was serious in his despair :)
@AwalGarg o/
18:24
how are you holding on venkutash ?
told him about physics exam, so he said continue work after it
oh also, @Abhishrek hangouts
okay am there
@FlorianMargaine One of these days, I'm going to try Dvorak
I did Dvorak for two years - it just got so tiring to configure the keyboard at every other computer I use. I couldn't remember to systems well at the same time so I switched back to QUERTY
After spending a lot of money on peripherals 10 years ago, I'm now content with cheap keyboards and mice. I'm no slower on them (unless they're cheap wireless crap)
@BenjaminGruenbaum yup, my stuff is pretty cheap. Keyboard is fancy but still cheap :)
(like, <$30)
Dvorak is attractive but not really tempted to try it. Every application out there uses shortcuts for qwerty, so it sucks a lot
yeah, fancy keyboards are for nerds
@Mosho see earlier in transcript for my new keyboard
nerd
crl
crl
do you have a doge keyboard?
18:46
yeah
crl
crl
lol
planning to get one of these bad boys soon
crl
crl
I hope the layout is optimized for typing wow, such, ...
for representing a cell selection in a table, you prefer [rowStart, rowEnd, colStart, colEnd] or [rowStart, colStart, rowEnd, colEnd]?
@FlorianMargaine you can use dvorak and have control/alt/similar map to their querty counterparts so all the shortcuts are still in place
so, what's the gathering about?
19:03
I don't think there's really a meeting - is there?
I don't think that's gonna happen on Christmas
hoe hoe hoe
where's that meeting at
well, I'm here
crl
crl
nothing should stop a JSroom meeting
@Mosho disgusting, it's got tape on the keys
@towc hey! haven't seen you in a while
oh hey hi
oh wait... the meeting was set by @ndugger, right? You might just be trolling us again :P
19:11
@Mosho ouch
19:31
@Mosho you could on wasdkeyboards.com :p
maybe I will
I thought about putting a pad in the middle of the kinesis
kinda begs for it, dunno
crl
crl
19:49
damn tables selections jsfiddle.net/crl/zmLLch8b/26
couldn't imagine that would be hard like that (the point is just to given 2 cells make a square selection
crl
crl
20:09
!!caniuse Set
8
Q: How to find the closest element using jquery

MahadevanI have searched in SO I found so many examples but mine was little different from all. 1) initially i have a row if the user click save & next button it will say you have 3 fields missing 2) if the user click the addmore button and he did not type any value in the text field then he click th...

guys suggestion pls
20:49
@Mahadevan I already told you yesterday: reduce your code. Nobody wants to look through 100 lines of code to find a bug. Reduce your code to 5 lines and people will look at it.
00:00 - 21:0021:00 - 00:00

« first day (1896 days earlier)      last day (3275 days later) »