« first day (1658 days earlier)      last day (3290 days later) » 

7:00 PM
idk.
 
I really want him to cover youtube.com/watch?v=5DlQchQ3xxk
@rlemon That's a really good song
 
jsfiddle.net/cf5e92gm I have a function that grabs a list of categories from my main database. How do I turn my var len into an array?
 
@phpPluginMaster I'm part Irish, part Scottish and part British. I just can't get along with myself.
 
@chronotrigga if you're not going to put the html interface in, why would we help?
 
7:05 PM
good question.. i wasn't sure it was needed :(
 
@SomeKittens german, polish, lithuanian, and ALL AMERICAN
 
@SomeKittens I met an asian-irish jewish person last night
what a combo, eh?
 
@chronotrigga you forgot the HTML
 
I added the html but the thing is my data is in a mysql database so it won't pull in the information
 
@chronotrigga JSFiddle has a 'clean up' button
 
7:07 PM
I'm trying to sort my categories but I was advised to put it into an array first
 
@SomeKittens family reunions must be a blast
 
@rlemon My genes have been in this country for a while, got relatives on the Mayflower and from the second ship to Jamestown.
Nothing compared to you though
 
yea, we walked over
 
@rlemon if I don't go out drinking tonight, I'll ping you. I wanna show you my man beard
It's awesome
 
ummm
 
7:11 PM
shut up.
 
:P
 
I went out last weekend, and this tiny little 4'9 woman sat next to me and started playing with my beard
I was shocked, so I bought her a drink
she was so small
 
did you show her your batman collection?
 
He stashes his batman collection in his pants?
 
I'm having a Promise brain fart. :/
 
7:14 PM
You have no brain to fart
 
you have no fart to brain
 
Brain have no you to fart
Brain to you have no fart
@rlemon cough wassup?
 
var parser = parse(options, function(err, data) {
  doStuffWith(data);
});
// later
require('fs').createReadStream(filePath).pipe(parser);
trying to make this all promisy
parse is node-csv-parse
 
That could be problematic, since it's not regular function flow, it's pipe and shit.
I'd have kept it as that, or wrapped parse in a Promise myself
 
but.. but.. but.. okay
 
7:18 PM
Wait that won't work since pipe's weird
meh @BenjaminGruenbaum you probably did that once
 
@Zirak var parse = Promise.promisifyAll(require('csv-parse')); but I don't understand how to use it with pipe
 
@Zirak did what once?
 
See above code sample
 
Don't make streams promisey, that wouldn't work
 
Make pipe play nice with promises. That'd not too feasible since they're different concepts. pipe is a stream, promise isn't
 
7:19 PM
Use observables or Rx if you want "pipe" semantics.
 
@rlemon Use rx, it's great and does all things
 
A promise is a value + time.
 
:googles rx:
 
                      Singular	                 Plural
    Spatial	Value	                    Iterable<Value>
    Temporal	Promise<Value>	      Observable<Value>
meh
 
!!doge singular, plural, spatial, observable, iterable
 
7:22 PM
    wow
                            very singular
so  plural
           such  spatial
                       much  observable
many  iterable
 
lel
@NickDugger I was just about to do that
 
great minds
 
are busy doing important things
 
with goats
 
Matthew Mcconaughey
 
@rlemon stackoverflow.com/questions/29993660/… routing with express (prefixed paths)
I learned
thought you may like it
 
I already use router
 
works nicely?
 
I have a tutorial on how to route in Node without a framework, because.
 
yup
confusing for like ten seconds
 
then fine
 
!!afk lunch
 
oh sweet!
have you used an authentication method?
 
"/foo/{id}": {
    "handler": "main",
    "action": "getFoo"
}
 
@SterlingArcher READ THE REPO NOOB
> rlemon/simple-auth-demo
@NickDugger I didn't know you were a blogger
 
7:27 PM
@rlemon I'm not?
 
such noob :(
cnn.com/2015/05/01/politics/dc-watergate-sinkhole-collapse a sinkhole caused a collapse in the watergate
 
user2620028
My girlfriend is watching Shrek for the first time since she was a kid and is laughing her ass off and bewildered that it was a kids movie :D
 
@SterlingArcher at what point do they decide, "okay, karma has it in for this building" and just tear it down
 
3 scandals from now lol
 
why doth thou torment me so mongodb?
 
7:39 PM
because mongodb
 
MongoDB is web scale
 
is there a more 'promisy' way to loop?
createList(name).then(function(listId) {
	titles.forEach(function(title) {
		search(title).then(function(res) {
			if( res.length ) {
				add( res.shift() ).then(function(id) {
					console.log('added', id);
				}).catch(function(err) {
					console.log(err);
				});
			} else {
				console.log(title, 'not found');
			}
		})
	})
});
^ example code
 
people still use forEach? I thought it was a fad
 
no this isn't my actual code, before Dor decides to pick it apart
 
@rlemon map to an array of promises, each on them
 
7:51 PM
@rlemon do you need them to run concurrently or sequentially?
 
sequentially
 
There's Promise.each
 
createList(name).then(function(listId) {
	return Promise.each(titles, function(title) {
		return search(title).then(function(res) {
			if( res.length ) {
				return add( res.shift() ).then(function(id) {
					console.log('added', id);
				});
			} else {
				console.log(title, 'not found');
			}
		})
	})
});
Wow, I didn't miss tabs :D
Although, why not concurrently?
 
api calls.
don't wanna make it mad
 
7:53 PM
.map has a concurrency option IIRC
 
createList(name).return(titles).map(search, {concurrency: 2}).filter(res => res.length).call("shift").map(add, {concurrency: 2}).tap(console.log); // @rlemon
Or something like that
 
@Zirak It's pure gold :d
@SterlingArcher VPS nodes, 2GB RAM $5/mo
 
@BenjaminGruenbaum great :P give me like 5 new methods to lookup
 
@MadaraUchiha ty
 
@rlemon return just overrides the resolution value, .map maps, .filter filters, .call invokes a method on the resolved value, and .tap prints without having any effect on the return value. You know most of this from arrays :)
 
7:57 PM
@SterlingArcher If you consider buying, I'd be happy if you do it via my affiliate link
 
@BenjaminGruenbaum yea, but I don't wanna make assumptions about how it works with bluebird. so I'll read the docs as well.
when I assume I just make asses out of u and me
 
@rlemon great :)
 
If you need help reaching that option, tell me, it's pretty obscure
 
Anybody have a link that explains why (true || false) will return true in variable assignment?
 
@MadaraUchiha did you talk to Pavel?
@SterlingArcher You're asking how || behaves?
 
7:59 PM
yeah, im trying to find some good documentation for my boss
 
it is pretty clear description
 
"The production LogicalORExpression : LogicalORExpression || LogicalANDExpression is evaluated as follows:" - very clear
 
@BenjaminGruenbaum I did
 
expr1 || expr2 -- 	Returns expr1 if it can be converted to true; otherwise, returns expr2. Thus, when used with Boolean values, || returns true if either operand is true; if both are false, returns false.
 
7:59 PM
@MadaraUchiha are you meeting?
 
@BenjaminGruenbaum Yup
 
@MadaraUchiha awesome, good luck :)
 
Re Higher Education: If I had a do-over, I would have gone to MIT instead of what I actually did.
 
@BenjaminGruenbaum Thanks ^^"
 
Thanks guys
 
8:01 PM
@Shmiddty I would have gone to university a year and a half earlier.
 
That too, I could have graduated early, but I took senior year of highschool and dicked around the whole time
3 hour lunch breaks playing counterstrike with friends
 
I really need to stop trusting links in this room
 
I actually a have a shot at going to MIT next year, but I don't think I'm going to do it.
 
ES7 decorators confuse me
 
8:03 PM
@rlemon I HATE YOU I HATE YOU I HATE YOU
FFS EVERY TIME
 
@NickDugger they're in very early stage - they confuse everyone including the people working on them
 
@BenjaminGruenbaum Can you pay for it and let me go in your stead?
 
@BenjaminGruenbaum touche'
 
@Shmiddty Degrees after BSCs are typically free everywhere.
Very few people pay for their MSCs or PhDs, you're usually paid to do them.
 
@BenjaminGruenbaum so I just need a fake id with your name on it? ;)
 
8:04 PM
Hah, you'd be surprised but you can actually just walk into a place like MIT and attend classes and no one would actually care - you can just show up.
 
@BenjaminGruenbaum I always read BS degree as bullshit degree, and BSC as bullshit college.
 
Some people like the Weizmann institute here will actually even give you credit for it.
 
Sometimes they'll give you an honorary degree
 
I would want to take mostly lab courses
 
@BenjaminGruenbaum yeah in those big ass classes I doubt anybody would even notice you came
 
8:05 PM
robotics and such
 
RethinkDB is now my go-to thingy whenever I need a schema-less database for working with ecma/python (and when redis doesn't suffice). So much cute, it is :D
 
@SterlingArcher even in 5 person classes, I know because I went to classes I didn't sign up for before.
You just walk in, no one reads names.
@AwalGarg nice :)
 
@BenjaminGruenbaum "I thought this was Cooking 101, sorry everyone"
 
That's awesome. They teach you, just like that?
 
@BenjaminGruenbaum Do you use it (often)? Tips/tricks/secrets/jokes?
 
8:07 PM
@SterlingArcher yes, they'll even give you credit - you can use that credit elsewhere too.
 
... :O
amazing
 
@AwalGarg I don't use it (I played with it a few times), but it left a good impression.
 
cool.
 
MIT has online classes for free though (courseware) which you can take @SterlingArcher
You don't even have to get off your ass
 
user2620028
@BenjaminGruenbaum My best friend in highschool was accepted to MIT Tech for Comp Science and didnt have the money to go. He did a lot worse in school than i did. I have no idea why they accepted him haha.
 
8:08 PM
I often listen to Stanford lectures on bus rides and long walks
 
I can't wait for the new Guitar Hero
 
@BenjaminGruenbaum took one algorithms class, found good, and ...
damn time :(
 
@Zirak I should adopt that. I listen to game/anime music and it's getting a little old.
 
@HatterisMad the "didn't have money to go" part is a big problem in the education system.
 
Have some good courses to recommend?
 
8:09 PM
@AwalGarg :) Do more.
 
user2620028
@NickDugger I heard that they were making a new rock band for xbox one and i can't wait... it has been too long
 
realised I'm without music, instinctively opened new tab and typed "grooveshark", grew sad
 
a new rock bans also?
Man, that'll be fun, too
 
user2620028
@benjamin agreed. I might have trouble completing my last semester of class because i might not have enough money with grants, loans and my bank account to afford the semester.
 
@Zirak Hmmm
 
8:10 PM
I need a jQuery plugin to increase the length of my day :/
 
Search YouTube for Toaru Majutsu no Index OST 1 and 2
 
@HatterisMad You probably shouldn't complete that last semester anyway they're teaching you shit, spend that time taking a semester's worth (seriously, and doing all the assignments) of MIT courses.
 
Most tracks there are top notch.
 
user2620028
@benjamin i can't legally apply for a job where i am living without a bachelors degree.
 
8:11 PM
@HatterisMad where are you living?
 
user2620028
@benjamin and its general education classes anyways
 
user2620028
@benjamin Bangkok, Thailand
 
@MadaraUchiha Listen to an OST of a show I didn't watch?
 
@HatterisMad Oh, you're in Thailand.. I didn't realize this the whole time. I know jackshit about how the education system works there - paints our earlier discussion in a whole other light.
 
user2620028
@benjamin my school is in the United States
 
8:12 PM
@Zirak Are you planning on watching it?
 
user2620028
@benjamin i attended on campus for 2 years and then switched to online
 
@HatterisMad you confused me again - well, can't you get a job in the US then? Or do you wanna go back?
 
And I've been trying jango.com today
 
I may have told you about it in the past?
 
Oh, I think I understand @HatterisMad
 
user2620028
8:13 PM
@benjamin i have been trying to get a job in the states but no one will consider me for remote work
 
OST as in original sound track? wikipedia has too many definitions :/
 
@AwalGarg Yes
 
ok
 
!!urban ost
 
@MadaraUchiha ost Original Soundtrack
 
8:14 PM
@MadaraUchiha Shounen? eh
 
When in doubt, Urban.
@Zirak Have you seen Zankyou no Terror yet?
(Terror in Resonance)
 
!!urban OST
 
@Shmiddty ost Original Soundtrack
 
We're just about to finish FMA
 
user2620028
@benjamin considering i am currently working for like $6 USD in a non programming related field I would take a job even minimum wage or internship or contract if it was programming related.
 
8:14 PM
She hasn't seen Firefly so that's next, and then maybe Hellsing.
 
@Zirak That, in no way, answers my question.
 
!!urban FMA
 
@AwalGarg [FMA](http://fma.urbanup.com/607464) FMA is short for Fullmetal Alchemist.
It is an anime and manga filled with Action, Adventure, and Comedy. It's about the Elric brothers who are alchemists. It starts off with the brothers trying to bring their dead mother back to life with alchemy, but then Edward (older) loses an arm and a leg, and Alphonse (younger) loses his whole body.
There is said to be 52 episodes for the series. And in Japan, it is called Hagame no Renkinjustsushi.
 
._.
 
@Zirak Then vampire hunter d!
 
8:15 PM
@MadaraUchiha I can't watch more than two things at the same time, while also reading and programming and stuff
 
user2620028
Full metal is awesome.
 
@Zirak If you're watching hellsing, watch Ultimate, and trust me, I usually don't do this, but watch it in English.
 
@HatterisMad get to 10k rep and write open source - jobs will come
 
Never
 
@Zirak This is the only show I've ever watched, where I liked the English version much more than the Japanese one.
 
user2620028
8:16 PM
@zirak have you watched the syfy show Eureka
 
The voice acting is really good, and the setting is Britain so...
 
@HatterisMad Only the first few episodes, didn't like it too much
@MadaraUchiha It'll feel so wrong
 
@Zirak Trust me on this one.
You'll get a much better experience in English.
 
It feels like you're trying to talk me into anal sex
 
user2620028
@benjamin yeah i have always neglected my SO account but I do so because i have other projects i am working on. Sadly the one i am active on is private.
 
8:17 PM
No :( Not the tip
 
@Zirak come on baby
 
Anyway, @Zirak Zankyou no Terror really should be on your watching list.
It's fairly short too.
 
Have any of you watched any Indian family show? Your minds will be blown in the first episode, you'll feel tortured at the second, and want to throw your TV out in the third. After which you get bored and kill yourself.
 
user2620028
@awal can't say that i have
 
@MadaraUchiha Added
 
8:18 PM
@Zirak Parasyte?
 
How to recognize Indian TV Shows: If the amount of times the face of actors is focused is less than 500 times in 10 minutes, it is not an Indian TV show.
 
Parasyte is technically a shonen, but it's just one of those series where each character holds 50 liters of blood.
 
@MadaraUchiha Heard mixed opinions, will try
 
When they air at home, I put my face under 5 pillows. @darkyen00 @SomeGuy What do you guys do to save yourself?
 
8:24 PM
i.imgur.com/dKoWfCB.jpg my new phone background
 
@SterlingArcher #9 is relatable
 
Has anyone ever used matter.js? Can't find any tutorials on it.
 
You didn't...
Kendall noooo
 
@SterlingArcher not dragonball z
I avoid social situations in favour of video games
 
Social situations < girl coming on to you
 
8:32 PM
well ok maybe
but KSP > all
 
I've kind of had an experience like this. I intentionally played dumb because I wasn't interested.
She was making it incredibly obvious, though
I remember I had a lolipop, like one of those with bubblegum in it, and she asked me if I had another, because she "liked sucking things"
 
@Shmiddty the best
 
So you got on your unicorn, said "bitch please, I have a planet to save", and flew off into the sunset?
 
I remember just saying,"what?" and then pretending to get distracted by something else
It was a weird day
I don't regret those actions at all
 
8:38 PM
@NickDugger Would have been better to have a frank discussion, probs
But it's tricky
right? You don't want to hurt her feelings, and you definitely don't want to lead her on
 
From the situation, it sounds like Mrs. Random, not Mrs. Friend
 
Eh, we were almost friends
It was on a bus ride to DC when I was in high school. It was for band
she was being pretty flirty
It definitely put a sever on the potential friendship, though. I didn;t really know how to react
 
Score irony points and say she played the tuba or something
 
flute
 
Win an internet
 
8:43 PM
@Zirak s/to //
 
Well, time to go. I'm gonna go see avengers tonight! I'll spoil it for everyone tomorrow
 
you do, and I will reach through the internet and rip your balls out through your nose :D
#validthreats
 
has Evolution of the wireless phone been posted yet?
pretty hilarious, and so true.
 
Pretty soon it will be back to tiny but hologram screens
 
you know this:
 
8:49 PM
!!afk kfa
 
@SterlingArcher :D you love me
 
wow looks like @rlemon has been upping his gimp game
 
I love that pineapple more than I do you :(
 
aw mann epic
 
@SterlingArcher ANANA!!
 
8:51 PM
Is that a bag of water?
 
yes
lots of places have bags of water
we don't, but lots of places do
 
@rpineapple
 
canada has bags of milk
 
had no idea
 
yeah we don't either
 
8:51 PM
@KendallFrey they make WAY more sense
 
wish we did, Id totally drink from a bag
closest thing we have are Capri Suns
 
oh man i love capri suns
 
@rlemon environmentally or ?
 
but they're so dissapointing
it's like 20 seconds of fun
 
that's right on the threshold for phrasingworthiness
 
8:53 PM
@KendallFrey easier to store, easier to recycle/reuse, less waste, can be frozen, arguably easier to open (so long as you have a sharp object)
 
pain in the ass to use
 
Clearly you've never struggled to open a gogurt before
 
one year in elementary school they replaced our milk cartons with bags: i.imgur.com/YAxzp9B.jpg
 
@KendallFrey only if you don't have a milk bag holder, or are a tard
 
you don't have to stick a carton of milk in another container
 
8:54 PM
ohh no
so much hassle
5 things better, 1 minor annoyance for some :P
 
w/e
I don't drink milk anyway
 
Two downvotes with no explanation. How useful. — Ian Devlin 4 hours ago
 
That solves that conundrum
 
maybe... umm... provide a better and useful answer?
or don't answer shit questions
 

« first day (1658 days earlier)      last day (3290 days later) »