« first day (1894 days earlier)      last day (3278 days later) » 

17:00
@SterlingArcher well actually now that I think about it, 50% of the retail places I've worked kept it in a safe in the store. Same with the one fast food place. The restaurant I worked in kept it in the register..
lol totes not safe
@Shmiddty I tried that, it doesn't exist in anarchy
but the safes are those shitty little 80lb pos safes
yeah
you can carry them out
anyways, stores don't have that much cash. who carries paper anymore
everything is digital
17:02
right? go big. rob the mafia
they still go paper. no trails
Anyone else on spotify? If you can see this playlist, they modified an avatar photo I made for facebook and used it for the album art. play.spotify.com/user/spotifydiscover/playlist/…
spotify is bad
So, Canada, December 23rd...
wtf
@rlemon Yeah, Minnesota is the same
We're all green right now
we had blizzard for a week
no more snow now
17:04
it's like 9C outside and raining
sun is shining
its super foggy outside today but 60F
crl
crl
that's lucky to have no snow, that thing's shitty
Yeah, rain here as well
weird
a green christmas; this is really strange
17:04
Sorry I was afk
I gotta go now
Bye guys
my view right now
@ZahidSaeed cya thanks :)
@Michael Did it worked for u ?
Started watching Extant. 7/10 not bad, but some of the pseudoscience is egregious
17:08
@ZahidSaeed Im not sure, lol looking at it now.
I am in a dilemma about my pond. you are supposed to stop feeding the fish when the temp drops < 10c, but in the next couple days we might go above that.. do I feed them?? if I feed them and they don't eat it, it just sinks and rots and makes the water dirty for the winter.
#fishProblems
At one point they use a "filter" on a video file to allow them to see invisible particles.
@rlemon Do you just not feed fish during winter and let them die?
I'm confused
@rlemon so do they stay in the pond and hibernate?
@ZahidSaeed actually just using your example by itself it doesnt work. Is it supposed to?
17:09
their metabolism slows/stops @ndugger
Oh, weird. I didn't know that
they don't eat when the water temp is very low
crl
crl
!!>(_=> ('ok','ko'))()
@crl "SyntaxError: missing ) in parenthetical"
@Shmiddty well they don't move much. I have a heater in there to keep the water from freezing.
but it keeps it at just that, like 6C
17:10
oic
during really cold weather it will freeze over around the pond except by the heater
(so they say)
I'd be more worried about that owl, TBH. Looks hungry
that is to keep the other birds and shit away
@crl "ko"
works kinda.
17:11
@rlemon it's 11 °C here atm (tomorrow 13°C ) while the average temperature of december is usually 5~6 °C
motion and sound
nahh
just looks
just needs to keep the bigger birds away
had a stray cat walk up and sniff it this morning. wasn't phased.
haha
motion activated movement
17:12
the cats I think drink from the pond. don't bother the fish
my two cats usually go apeshit at the patio door and distract them
(yet)
kill the cat; convert to fish food
tables have turned
kill the pond; convert to cloud food
there is also a family of bunnies that comes by in the morning and drinks and eats my grass / things I toss out for them
I'm terribly allergic to rabbits; kill them
17:14
oddly, in the summer they never bothered my veg. They did however love eating the corn out of the bird feed.
and I had kohlrabis growing. they should have loved those.
@rlemon How much higher?
Oh
I see now.
reporting in from Wisconsin, pea-soup fog and ~50 deg F
I'd just put a small amount in. Give it a bit and see if they eat it.
@ShotgunNinja Same here in Iowa. Rain though.
@rlemon probably food available at lower risk
@rlemon Who'd you bury in your back yard?
17:21
@copy 56
@Trasiva @Zirak
@copy f+=r[i++]<r?1:-1 can be shortened further
@rlemon Next time cut the sod out first so you can lay it back in nice and neat like.
in the spring I'm framing it and putting in a raised garden
he'll provide good fertilizer
@rlemon IS THAT A SHAG RUG
17:24
yes
also, depends on if he shit himself when you buried him
extra fert brah
@SterlingArcher
the rug is like 14' by like 7' or something
it is huge
@rlemon So much room for activities!
In all seriousness though, nice sitting room.
crl
crl
function S(s, html){ // had to rename my jquery for no conflicts
  if (arguments.length===1)
    return Array.from(document.querySelectorAll(s));
  var _el= document.createElement(s);
  _el.innerHTML = html;
  return _el;
}
@Trasiva tyvm
17:28
@rlemon your laptop sucks
@rlemon nice
@FlorianMargaine why's that?
Is that a diet pepsi?
I don't like this kind of laptop... the shape of the bottom
@SterlingArcher I don't like the after taste of regular cola
tastes metallic to me
crl
crl
17:29
S('br','<a>lol</a>').children
sodas are for nerds. water brah
WATERDOOOWWWNNN
@FlorianMargaine I don't mind it so much, gives my hands somewhere to rest while typing.
@SterlingArcher ran out
@SterlingArcher lol
@SterlingArcher he's a nerd
and tap water === no
17:30
@rlemon nah I mean how it looks
@SterlingArcher he is a super nerd
ive drank tap water my whole life D:
@FlorianMargaine i7, 16gb ram, 500gb ssd, 500gb hdd. I don't really care how it looks. :D also 17.5" display
@SterlingArcher yeah but you're poor
@rlemon nice specs
also @SterlingArcher you gotta try this Italian place on the way to Roanoke the food was crazy nice, even the water was sweet + the entire city was decorated for christmas :D
17:31
Pfft. I did it for my immune system
@SterlingArcher I did when I was younger. got a water cooler thingy and rodi in other places.
now tap water makes me ill
@rlemon system76?
@SterlingArcher thats still non functional ?
@AwalGarg yes
@Abhishrek roanoke? what are you doing down that way? (that's near my college)
17:32
@SterlingArcher Went to drop my friends step sister to her real sisters place.
ahhh that's a hell of a drive. 81 sucks
@SterlingArcher vOv I find your highways very soothing
really?!
god the vibration drives me insane
7
um, phrasing
@rlemon he's from India
17:33
we don't have (many) concrete roadways
so the interstates are painful for me to drive on
crl
crl
!!urban wat
@crl wat The only proper response to something that makes absolutely no sense.
For anyone intrested
17:34
I am building an LED visualizer with PI (the cube was way too long so we decided fuck that)
!!afk fucking hungry
look at this magnificent bastard
... and my toe
sorry
@rlemon I'm going to have to ask you to refrain from posting pussy pics.
3
@rlemon lol
FLAGGED: Has a pussy init !
Anyone here familiar working with FileDialogs? I am having trouble retaining the file that user has selected if they reopen the fileDialog and click cancel: jsfiddle.net/p333qb1d/8
17:44
!!afk stuff and things
ES6 way of initializing X x Y matrix ?
!!afk Mass murder of millions of lines of code
const Matrix = (x, y) => (new Array(y)).fill().map( () => ((new Array(x)).fill())); ?
abbreviating variable names is the worst thing since WWII. How is someone else supposed to know that Mat === Matrix?
oh it was an Internal thing
but okay
17:51
It's a huge peeve of mine
crl
crl
Array.from(Array(9)).fill([]) 9 x what you want matrix
Array.from(Array(9)).fill(Array.from(Array(9)).fill(0)) initialised
any suggestions: stackoverflow.com/questions/34411896/… Posting since it has been 1.5 days since the question.
@AbhishekBhatia 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.
crl
crl
lol just realized I can do Array(9).fill([])
Array(9).fill(Array(9).fill('dunphy'))
@Trasiva it switched to rain in the last hour or so
18:05
@ShotgunNinja Trasiva is afk: Mass murder of millions of lines of code
@crl oook
crl
crl
Array(9).fill(Array(9)) also
const Matrix = (x, y, filler = 0) => Array(y).fill(Array(x).fill(filler));
with a filler though the dunphy method seems better
although I'd prefer a better way to fill objects in there
crl
crl
18:09
you would like to fill it according to indexes? gonna be hard with fill.. rather .map then
@SterlingArcher rlemon is afk: stuff and things
@crl yeah got that part :D
more like
@rlemon stop stuffandthings in your ass and watch this gif!
get it
:D
const Matrix = (x, y, fillFn) => Array(y).fill(Array(x).fill(0).map(fillFn));
crl
crl
18:16
var M = Array(9).fill(Array(9)).map((r,i)=>r.fill(0).map((_,j)=>i+'x'+j))
Guys. Meteor again.
crl
crl
it's the end of the world? oh shit, gotta git push first
now j <= something looks strange to me, like a lambda
less than or equal to
18:24
:/
crl
crl
Oh shit I have a NP problem with html tables, cells can be merged you know with colspan/rowspan, I'm doing a selection on cells, but I want this selection to be 'square', and it gets really tricky to expand the selection
you have to iterate on rows and cols until everything agree
imgur.com/gallery/n3kmi I can never not read all these...
crl
crl
2complex4me
@Pantera96c Cool
18:54
@crl Doesn't sound too complex
For the horizontal axis, increment by el.colspan /* or whatever */ || 1
For the vertical, do the same for rowspan
crl
crl
function expand(selection, table){
  var ex=ex_= selection[1], ey=ey_=selection[3]; //  expansions on the bottom and right to do, _ will be their previous values
  do {
    ex_ = ex; ey_ = ey;
    for (var i=selection[0];i<=selection[1]; i++)
      for (var j=selection[2]; j<=selection[3]; j++){
        var td=table.rows[i].cells[j];
        ex = max(i+td.rowspan-1,ex); //maybe min with table.rows.length)
        ey = max(j+td.colspan-1,ey); //maybe min with table.rows[i].cells.length)
      }
nah it can be complex Madara,
 [    ][    ]
 [ ][ ][ ][ ]
 [       ][ ]
the problem is those rowspans
crl
crl
if only the first column is the current selection
you'll have to expand first a bit seeing the first row had a colspan of 2, then even more with the 3rd that has 3, then you do it again to fix row 1 again
http://www.commitstrip.com/en/2015/12/23/web-sweet-web/
CommitStrip
Web Sweet Web
CommitStrip
1450897363
19:12
hi all

I have set of field in a row if i enter any of the field if i click submit i want to add a class only for that row using jquery i tried the below one
if ( myField >= 0){
$(this).closest(".cloned_field").addClass("required_Field");

my div row class name was cloned_row1
guys kindly suggest whether the line is correct or not :(
looks fine, assuming what you want it to do is what those methods should be doing
i.imgur.com/aY2cuOX.jpg TIL palindromes backwards is a word
Noun: semordnilap ‎(plural semordnilaps)
  1. A word, phrase, or sentence that has the property of forming another word, phrase, or sentence when its letters are reversed. A semordnilap differs from a palindrome in that the word or phrase resulting from the reversal is different from the original word or phrase.
Sorry to burst your bubble.
!!urban tiwr
19:24
@MadaraUchiha [TIWR](http://tiwr.urbanup.com/7707072) Today I Was Reminded
Similar to [\[TIL\]](http://urbandictionary.com/define.php?term=TIL), except it is already known previously
Close, "today I was wrong"
@MadaraUchiha [TIWR](http://tiwr.urbanup.com/7707072) Today I Was Reminded
Similar to [\[TIL\]](http://urbandictionary.com/define.php?term=TIL), except it is already known previously
@MadaraUchiha [TIWR](http://tiwr.urbanup.com/7707072) Today I Was Reminded
Similar to [\[TIL\]](http://urbandictionary.com/define.php?term=TIL), except it is already known previously
cap r u ok
Cap pls
19:46
my coworker is asking me about React and I'm just like UHHH IT HAS BACK END STUFF I DON'T KNOW
@Codeman What about React?
@MadaraUchiha just asking me about it.
he wants reusable web components
back end stuff? :\
All the backend stuff in react makes my head hurt!
front end stuff
19:54
haha ok glad to see it was just a wording error :p
@Loktar I'm almost about to release that styling library, if you remember
if you are still looking for one
yeah I'll check it out for sure.
have you looked into css modules?
it's similar in concept but still deals with css-y syntax
yea
I told him to use Angular directives
19:57
css modules seem pretty awesome as well
@Codeman eww wtf why?
cause he wants reusable front end components
...
Then use React components
So much less overhead
or shit, even polymer web components.
crl
crl
but designers want to be able to modify it, and they don't want to deal with react
react is even verbose compared to some other shit out there
react components are so much easier than angular directives
@crl are you already using Angular in the project?
crl
crl
19:59
used to, no longer now
Also designers should never dictate the tech stack.
crl
crl
designer is my boss :/
do you and codeman work together?
This convo got weird.. like you are the same person
crl
crl
no hehe, just sneaked into it
chat sock puppet?
20:02
so damn cool. I had a couple of IBM PS/2's, its so cool to see someone getting a "brand new" one in this day and age.
@Loktar o/
20:27
0
Q: What events do a hand-held remote clicker fire in the browser?

frostyI want to capture the events from a remote clicker (Logitech R400) in the browser. However, I am not sure how to capture them. Does anyone know how to capture them?

Bad canonical (sorta?) :|
Good answer, bad question lol
yeah that is pretty terrible
20:43
@crl at my last job, a designer was my boss; just present evidence on why you think you should do something a certain way, and he might back off. My boss ended up not even being able to manage me, because he had no idea what I was doing... having a designer manage developers is just retarded
@ndugger very much so -- a developers boss 10/10 should always be somebody who knows what they should be doing
ugh my consolences. a designer as a boss makes me shudder
shutter?
shit
it makes you shudder so hard that you shit?
crl
crl
yes, I try to explain him most of things and decisions tho
the only disagreement currently is because he wants to use uikit, and not bs, I don't really want to learn a whole new design framework, that does the same.. we should just be able to customize the css of bs ideally
Yeah, designers don't get to choose what you use to make their designs come to life; they only dictate what it should look like after you've coded it
crl
crl
20:50
that's what I tried to discuss with him, we should just set functional specs, and implement it the best way behind, not choose a framework because it looks cool
a developer typically doesn't know the restrictions developers have, especially when it comes to time management, connections, etc
It's like how my boss was; he told me that he didn't want to use LESS, because it was "esoteric"--I won that one, and every one, really. Just present them with facts.
!!define esoteric
@SterlingArcher [esoteric](http://en.wiktionary.org/wiki?curid=35148) intended for or likely to be understood by only a small number of people with a specialized knowledge or interest, or an enlightened inner circle.
The writing in this manual is very esoteric; I need a degree in engineering just to understand it!
crl
crl
it was hard to convince him to switch from angular to react
20:51
spoiler alert; LESS is not esoteric
nice word, im keeping that
my boss was just clueless
!!afk shuttering
crl
crl
!!> 0==null
@crl "false"
20:58
using double-equals in JS is a sin
crl
crl
oh, didn't expect that one
yeah I know, just playing
@Shmiddty Ah, got it
Any mongo friends here?
somewhat
crl
crl
vaguely
21:05
depends on how advanced the question is
crl
crl
21:18
hmm summing colSpans..
I feel like keeping the missing td, and hiding them
21:34
@AwalGarg Sublime has hyperlinks; do a Ctrl+Shift+F
My emulator has reached 1k stars on github: github.com/copy/v86
@copy Congrats!
crl
crl
21:52
!!> var a=[]; a.push(a); a[0][0][0][0]
@crl ""
@crl ""
crl
crl
how do you programmatically call a given depth of a[0][0].. n times? without eval, and without a for/forEach loop, yeah this gets stupid nvm
assuming no recursive function either?
crl
crl
ah that, indeed, you won, (with a stop condition)
it's still a loop, just not a for or forEach, :p
22:00
@SterlingArcher drunk? yea, drunk.
@rlemon SterlingArcher is afk: shuttering
@SterlingArcher stop shuttering and read my reply to your gif
22:10
Well, I'm gonna go get food, then get drunk, then maybe try to do some programming... whenever I try to drunk program, I get too distracted
Thanks @BenjaminGruenbaum
tag:gplv3 u v w x y z 1 2 3
@KevinBrown love your quote
22:26
Oh crap, just realized I was in the wrong room
My bad, I apologize for that last message
Also, the quote in my profile is unfortunately really true for most projects
or bodies of water
I am liking TypeScript
crl
crl
!!> [null===undefined, null ]
@crl "false"
@crl "false,"
22:42
ugh, some lazy shit let their dog crap on my lawn and I just stepped in it re-adjusting some holiday lights
in your lawn?
seriously? people get on your lawn just like that?
yea
you may be thinking back yard
lawn === front.
ah
it's just "garden" for me
but ok
lawn = front, yard = back
why not
> To learn Lisp is actually not very tough. You can learn the basics of Lisp in a day. If you already know Java, you may need two or even three days.
6
hehehe
Hey there, how could I split two comma separated lists and then put them in a single array like: list_one = 'CENTURY, BADGER' & list_two = '65, 78' and the result to be [{'CENTURY', '65'},{'BADGER', '78'}] ?
Split them then use some equivalent of underscore's .zip
Easy enough to implement that function if you don't want to import it
22:57
that's not valid JS though
@Meredith are you talking to me..?
Yeah
I'm using lodash in the project
crl
crl
a.map((ai,i)=>[ai,b[i]]) //zip a and b

« first day (1894 days earlier)      last day (3278 days later) »