« first day (2201 days earlier)      last day (2748 days later) » 

3:00 PM
moment(startDate).clone().startOf('day')
 
but if I'm returning m.format()...
in my map function, will that matter?
if I'm only adding one day at a time?
 
I just answered that. How you format at the end doesn't prevent it from mutating
 
user4330208
fun question
 
Future actions rarely effect the past, in my experience.
 
3:01 PM
heh
 
i wrote a function for this for another vampire..
:)
 
/me cough
it's good for the skin
 
is it though?
 
No idea
 
hi all
 
3:03 PM
is it? ;)
 
@user3304007 Welcome to the JavaScript chat! Please review the room 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.
 
@ssube as in, if you could look that up, I'd appreciate it
 
look it up yourself
 
did that one go over your head?
 
I can already tell you that the sun won't be good for your skin
 
3:04 PM
Hello, am I getting the parent method right here. $(this).parent('.form-save-order-address').serialize();
 
@Shane here. created for @Waxi. You want a differnt format, but this is close: jsbin.com/joruzazope/edit?js,console
 
it was self deprecation, maybe I'm wandering off the reservation here..
oh jesus @Luggage I didn't actually want you to write anything!
 
@ssube limited exposure has benefits
 
thanks though
 
I already wrote it.
 
3:05 PM
ah ok... I was feeling kinda bad for being a vamp
 
well, then you might as well enjoy the fruits of it. :)
 
cheers
 
hi there, so I need to stop the hash jump on some anchors in case there are unsaved changes in that container. I use a hidden input to set a bit to 1 in case there is any input, and read it on click on said anchors. problem is, after showing the alert, I can't prevent the jump
nothing seems to work
 
I think I'm gonna go util function on this one
 
1 message moved to Trash can
@user3304007 Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
3:06 PM
@pemq story of my life
 
@Shane no worries, as long as you're one of the cullens
 
redirecting as they leave the page can't be done
 
@littlepootis I will kick you and your sparkly ass so fast
 
@BenFortune it's actually fun and doesn't require PTW
 
3:07 PM
@Luggage return false, event.preventDefault(), event.stopImmediatePropagation(), event.stopPropagation(), nothing...
 
@ssube ohh I can re-rune for free? :D
 
user4330208
Why the downvote tho dog
 
@SterlingArcher if you're willing to sacrifice the rune that's on there
 
@rlemon lol I threw up my food poisoning. It did give me violent gas though
@ssube yeah more than willing. if it's 1-3* It's shit for me at this point
 
do I really have to store the hash and then restore it after showing the alert? and will that even solve the problem, since the action is still to be executed (solutions I've read so far)
 
3:08 PM
@SterlingArcher food poisoning eh?
 
@SterlingArcher how voilent was the gas
 
1 message moved to Trash can
@user3304007 Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq. For posting large code blocks, use a paste site like gist.github.com, hastebin.com, pastie.org or a demo site like jsbin.com
 
I don't think I've got that, but I have some serious physics behind me this morning
 
@Shane yeah, I puked twice, and then for the next 5 hours I was dry heaving every 10-20 minutes. The final one, threw up stomach acid and passed out
@littlepootis it could be weaponized
 
@Shane Are you experiencing "the tyranny of the rocket equation"?
 
3:09 PM
feels kinda like death
 
@SterlingArcher you misread my message
 
@Luggage I haven't left the ground yet
 
you misread my foot in your ass
2
 
Eating a "high ISP" diet?
 
3:10 PM
subtle :P
!!youtube the last time from ashes to new
 
@SterlingArcher Something went on fire; status 403
 
@ssube
these guys are like a heavier linkin park
 
...
 
3:13 PM
Not a Hollywood Undead fan?
 
Is that a real question?
 
Is that a real dick question?
 
s/ question//
 
@rlemon do you like Trivium?
 
not as much as I like fishsticks
 
3:15 PM
@SterlingArcher I have a few stories from high school about the hollywood undead/clown band fans that I should tell you sometime, although not anywhere on the public record.
short story, nah, not a fan
 
@ssube eugh, I like the music, not the fanbase
I like.. 2 ICP songs
@rlemon and how much do you like fishsticks
 
user379888
Need help:
http://stackoverflow.com/questions/40242442/getting-the-values-of-element-using-javascript-by-class-name?noredirect=1#comment67748173_40242442
 
@SterlingArcher what's the difference?
 
@SterlingArcher like a gate lock
 
@FahadUddin with what
@rlemon wat
@ssube fans often ruin bands
 
3:17 PM
 
Like Black Veil Brides.. the singer actually has a good voice but all his fans are suicical tweens
@rlemon so you don't like trivium
 
@SterlingArcher that's because they decided to make an emo hair metal band. The band always knows what they're making, they're the source of it and the fans just follow.
 
Yeah but you gotta admit the dude has a good voice
 
It's really deep. 10/10 didn't expect when I first heard it
 
3:20 PM
@SterlingArcher dude, I went to Parkway Drive in Riverside yesterday, holy shit
 
Duuuuuuuuuuuude did they play Bottom Feeder or a Deathless Song?
 
both of them :)
more importantly for me, they played Gimme A.D. and Boneyards... woooooow
 
hnnggg how was the deathless song? I fucking love that one. most underrated on the whole album
 
I'm on a greenday throwback right now
 
3:22 PM
it was great overall
 
after lunch is metal
 
Yhellow
 
@BadgerCat happy birthday bae :)
 
Dookie is the only album I ever wore out
 
3:23 PM
really, really good show
 
the CD stopped playing after a while.
 
@rlemon I loved this album so much
 
So I'm reading about Ecma6
 
@Shoe \o/
 
how is the new one? I'm not sure if I should give it a listen
 
3:23 PM
what?
 
JS is almost becoming bearable due to that :P
 
How can you wear out a cd?
 
@GNi33 didn't really follow them past the american idiot
 
play it enough that it gets all scratched up
 
@Loktar dust and scratches?
 
3:24 PM
LOL
 
@rlemon haha
 
it's read by a light...
 
@Loktar looked fine, but it stopped playing
 
nice edit
 
didn't skip.
 
3:24 PM
I was reading about modules and I was wondering if I can use ecma6 modules with node.js in some way?
 
yeah, me neither
 
probably scratched af
 
if I shine a flashlight at a CD I can't screw it up just sayin.
 
@Shoe you can
 
My backstreet boys CD wore out because it scratched when it skipped
 
3:24 PM
you just need to compile them into traditional modules
 
(I was 11)
 
@SterlingArcher a laser can't scratch it dude
 
@ssube But if I run a node application with import ... then it says that import is not a recognized keyword
@ssube Is it worth it?
 
No but in those old walkmen? If it skipped it scratched
 
my mom used to go crazy when I would make CDs skip cracked me up, it's not a record
 
3:25 PM
yep, walkmen
 
@Shoe absolutely. The syntax is so much better. You need babel with the module preset or webpack.
 
i hate that they getting rid of dvd/cd drives on computers
 
they're not hard to use
 
Who the hell uses cd drives anymore
 
thumbdrives go corrupt after a period of time cd/dvd drives really don't
 
3:25 PM
"they"
 
I have so many CDs that won't play anymore, because I skateboarded with the discman in my pocket
 
@Loktar UV can cause disk rot tho in cheap older cds
 
@Loktar the rest of the drive can and will
 
but mine was probably filled with tiny scratches, I was like 10
 
skipping CDs totally scratches them
@William I think you have that backwards
 
3:26 PM
The only thing I've used a CD for recently was a centos ISO and I used an optical drive for that
 
@ssube Hmm
 
@William except the opposite
 
@ssube it's not as common as you are lead to believe
 
@SterlingArcher I tend to use usb drives for that now
 
That's needed because ES6 is not supported by node yet?
 
3:26 PM
@SterlingArcher I'd kind of hope you used an optical drive for your CD
 
@William this actually caused problems with data in space.
 
@ssube what do you mean cd/dvds can get scratched thumb have a limited read and write amount
 
@Shoe everything but modules are well supported
 
I see
 
@William look up "disc rot"
 
3:27 PM
yeah disc rot is over a looong period of time
 
Well, then perhaps it's not needed. I can just use node modules for what I need. Thanks anyway
 
@Shoe you can use node modules with the rest of es6, too
 
> It is hard to predict exactly how long an optical disc will last since it depends on so many different factors. Nevertheless, estimations are floating around that predict a life span of up to 200 years for recorded CD-Rs and Blu-Ray discs
 
Yup
 
@KendallFrey erm, why? We're not allowed to use thumbdrives at work
Security protocol
 
3:28 PM
It's a pain in the ass too.
 
@Trasiva <3
 
@SterlingArcher Think about what would happen if you tried to read a CD using anything other than an optical drive.
 
!!afk scrum
 
You guys gotta scan each disc at an isolated antivirus station to @SterlingArcher?
 
3:28 PM
@Loktar that's the top end, but old CDs can go bad pretty easily. Anything that makes the foil start to come off the plastic will ruin the whole thing.
 
@KendallFrey external optical drive sorry
 
and those old labels were not well printed
 
@ssube I have MANY CDs over 20 years old
haven't had an issue yet
 
then you took care of them well
 
shit some over 30 now
 
3:29 PM
i have yet to be able to install ubuntu from a thumb drive I still use cd drives because it just works easier
 
which I get, look at your games.
 
@William 1) flash memory doesn't have a read limit. 2) optical disks have a much lower write count than flash memory.
 
you've never seen a disc with the foil bubbled?
 
none of mine looked as good as your two weeks in
let alone 20 years in
 
@ssube the same will happen if you leave anything out to the elements
my point is it's not the mechanism destroying them over time or the reading of data
 
3:29 PM
well yeah, CDs and records are just super fragile
 
hmm interesting
 
its improper care and storage
the mechanism for reading the CD will wear out before the CD
 
I wish 10 year old me had the forethought of keeping my shit nice. but GI Joes + black cats === way too much fun
 
old drives would tear up discs all the time
 
^
 
3:30 PM
they were probably lousy drives
 
if you went crazy shaking them around sure
 
90's cheap cd players / discmans destroyed so many cds of mine
 
I made copies of all my games because the computer would eventually spin them crooked and something would get scratched
 
never had an issue with my pc cd rom
 
or they'd hop off the spindle and clip something
or I'd throw them on the ground
 
3:31 PM
the one I know of that seriously would eff CDs up was the Xbox
 
sometimes, when I was very small, I put the discs in upside down
I think that was just mental preparation for when USB became common
 
@Loktar if( Game.ProducedBy !== 'Microsoft' ) tilt();
 
upside down?
@rlemon lol
that explains why all my Age of Empires discs are pristine I guess.
 
@Loktar shiny side up, label down. Never had a CD work like that, oddly.
 
double sided cd's were magic
 
3:33 PM
@ssube lol
 
optical media in general is still slightly magic, just not good magic
 
magnetic media is the shitty media
everytime I use an original disc I'm playing Russian roulette it feels like
 
@ssube re-writable cd's are magic
and good magic
 
I have quite a few 5.25 games I won't even try now because I can just assume they still work
when in reality idk :p
 
3:36 PM
You know what I just got omg
 
fuck... I could totally put Lokes beard on him
 
Was pretty happy finally snagging that, dude accepted $60 best offer.
 
yea, well, You know what I just got omg
:(
 
LOL what?
 
Chlamydia ?
 
3:37 PM
@Luggage here's the util func I settled on (uses lodash):
export const getDateRange = (startDateString, endDateString, timeZone) => {
    const startDate = moment.utc(startDateString).utcOffset(timeZone);
    const endDate = moment.utc(endDateString).utcOffset(timeZone);
    return [startDate.format()].concat(_.times(endDate.day() - startDate.day(), () => startDate.add(1, 'day').format()));
}
 
> No Dr. YOU HAVE HEMORRHOIDS!
hah got him
 
@Loktar "Mr. Lemon, please put your pants back on. We don't do the surgery here, and we don't need your help spreading"
 
er.. forgot to change some var names
 
@Shane mine is more readable.
 
I don't care about readability optimization on some functions, particularly utils that are predictable
more performance and not making the doc too long, but that's just me
 
3:41 PM
@Loktar so I was cleaning my room the other day and found CDs of Unreal Tournament 99, Deus Ex (#1), Halo, and something else I can't remember.
I knew about most of those but had forgotten about UT99
 
I found an old HDD from early 2000s
 
that's ignoring the mediocre games like Civ 2 and Simcity 2k
 
Doesn't read tho
 
Man I love UT99
 
@rlemon open it up and take out the coasters :D
 
3:42 PM
one of my favorite games
 
@Shane endDate.day() - startDate.day() ? how does this work on year boundries?
 
@ssube I wanted to check out all of my old porn.
ohh well :(
 
probably not... good point
 
@Loktar fantastic shooter. We still play that and Q3A here after hours.
 
Simcity 2k, and Civ2 were awesome as well @ssube you crazy! :P
 
3:42 PM
@Loktar OMG sim city 2k
 
yeah my family has a lan party during Christmas now
 
<3
 
that is our top played game (UT99)
 
for days
 
@Loktar Simcity isn't in the same class as UT99. Civ 2 might be.
 
3:43 PM
another recent Ebay snag
I haven't seen the boxed Scenarios in a LONG time
was happy to get them
 
I gave up on UT99 when i couldn't figure out how to get it to install/run on Win7
 
@Loktar screw the lan parties, bust out 3 n64's and 007 tourny
 
@rlemon haha
 
ohh man would I ever love to have a 007 tourny
 
you should try the new 007 HL mod
it's free and awesome
standalone
 
3:44 PM
@Loktar huh, I've got a 2 (or 3) disc set in one of the butterfly cases.
 
I want golden gun only, no respawns, caverns
LETS DO THIS
 
you deserve to have a controller thrown at you
 
LEEEEEROOOOOOOOOYYYYY JENKINNNNSSSSS
 
looks at RLemon's quadrant of the screen to see where he is
 
3:45 PM
@rlemon oh god he entered
 
"can rockets hurt myself"
"no, it's fine, you can shoot the wall next to you"
"MOOOOOM, ROBBIES CHEATING"
 
@rlemon Loser buys the next round of beers!.
 
one of these days I want to get enough people together to have a game of Screencheat
 
You just need 3 more friends.
 
I only have 2, maybe 3 friends who play FPSes at all.
definitely 3. My gf made it through Halo, but slowly, and another one has some trouble with aiming.
 
3:53 PM
You wanna learn how to get better with aiming? Play Doom on Nightmare.
 
or Battlefield 1 just in general
 
or just go with the seat down
 
you couldn't even aim up/down in doom.
@KendallFrey and with someone else already sitting
 
back when mouselook was an option you had to set
 
That's international competitive level skill
 
3:55 PM
OR a fetish if your aim is bad.
 
bad? or good?
 
@BadgerCat Happy Birthday! :)
 
In honor of Badgers birthday, can we get the star list replaced by Badger Badger Badger Badger Mushroom Mushroom Snek
 
Make it so.
 
I support this plan.
 
3:59 PM
We're gonna need 4 people to say "Badger", 2 to say "Mushroom", and 1 "Snek" on separate lines, starred in order
 
Badger
14
 
Badger
16
 
Badger
14
 
@Loktar Yes! Rollercoaster Tycoon 2 aswell, when they used to come in the cereal boxes :D
 

« first day (2201 days earlier)      last day (2748 days later) »