« first day (2383 days earlier)      last day (2581 days later) » 

9:00 PM
sorry for depressing you all
 
Sounds like programming isn't for you.
 
@SuperUberDuper data/energy, which is what everything is, so
 
information/energy
 
I've been doing it 10 years
 
you're algorithmicaly controlling everything
 
9:00 PM
defo dont want to do this all my life
I want an exit plan
 
if you've been at it for 10 years, react should look like a million other MVC libraries you've used a million times before
 
@ssube right !
 
I wouldn't say I'm a natural
its been a bit of a hard slog
many people are much more talented at me
like you guys
 
react isn't mvc
 
What I lack in talent, I make up for in hating everything
 
9:03 PM
It's a V.
 
You're a V
 
put the D in the V to make a webpage
3
data in the view
 
touché
time to blow this popsicle stand
 
I'm not sure what that's a euphemism for
 
9:06 PM
I've never heard that before
 
I know the saying, I just assumed that you meant it as a euphemism.
 
nope
 
well
 
!!afk home, thin mints, web sockets
 
!!afk home, tin mints, factorio 0.15!
 
9:07 PM
0.15, huh?
and gitlab 9.1
 
yup
 
and a few other things are getting updates this week
ghost recon got one like 2 weeks ago
but github still gives me 2mb/s :(
 
when does the poe expac come out
also still waiting on subnautica updates/release
 
@KevinB Not sure, there's a beta in a few weeks though
 
Guys check it out :D
That makes 4 in a year
Notice anything... off.. about it? xD
 
9:14 PM
being a screen master must make demos easy
 
I don't even know what MS stands for
 
monkey scrotum
 
But hey, bonus and a framed award. That's pretty good
 
@SterlingArcher I can see your penis reflected on it
 
but those are my fingers D:
 
9:17 PM
var reg = /abc/g;
reg.test('abcdefghi'); // => true
reg.test('abcdefghi'); // => false

First Test returns true .. 2nd one false , can somebody explain why ??
 
it alternates
regexps are somewhat broken and contain state, not sure if that's the issue here
 
last para under DESCRIPTION.
test() called multiple times on the same global regular expression instance will advance past the previous match.
But i don't quite get it still !
 
@AlexanderSolonik Check reg.lastIndex
 
@ssube the fuck
TIL D:
 
regexp are stateful, if you want it to work right, use /abc/g.test('abcdefghi') each time
 
9:20 PM
TIL
 
or, don't use regexp
they're broken in both implementation and concept
 
eh
 
i mean... they work if you use them in such a way that they work
 
regexps are voodoo, you gotta treat them right and you won't be cursed
 
regexp should be left to the parser generator
it's the 2010s, don't write matchers by hand
 
9:22 PM
hmmmmm
 
yeah, you should use yacc to match \d+
 
That I agree, @ssube
 
@Zirak damn right
boost spirit did it right
 
use regex for everything
 
regexp condoms?
 
9:23 PM
@Shrek sorry m8, those sperm were unicode and the group didn't match, you're a dad now
 
oh my god this meeting is brutal
who makes a 5pm meeting on a tuesday
i swear to god
lemme catch you in the streets
 
@SterlingArcher who makes 5 pm meeting?
 
howbowdah
 
@SterlingArcher I really hope your boss opens this chat now
 
product people, obvs
 
9:25 PM
to show others how nice you are *:D
 
lmao
I take my shirt off in meetings to show intensity
oh dang
 
i'd much rather a 5:00 meeting than a 9:00am meeting
 
I've got an 8:45 on Friday with HR :D
 
@SterlingArcher I have meetings ~24/7 anytime
 
apparently they do 90 day(s of employment) "do you hate us yet?" meetings
 
9:26 PM
I take it as a part of my life.
 
speaking of... there's an 8:30am meeting every tuesday... i've never made it to that meeting
 
meetings are like standups
 
We just had our All Hands meeting
 
and I had a boss once who tried to make me stand up
he no longer works with the company
 
Once a month, and then we have our quarterly engineering meeting sometime soon
 
9:27 PM
@SterlingArcher eww
 
(they fired him later for unrelated reasons)
 
right
 
@SterlingArcher we do those every two weeks and they serve lunch
 
@ssube but I tried /d+/
 
if you're remote, you get to expense bitesquad
 
9:28 PM
They make ours at 4:30 and don't feed us
The engineering meetings they feed us
But I probably get a company paid lunch 2x a week
 
redbrick hardly ever fed anybody and it was always shitty pizza when they did
new place has lunch probably every other week and it's always good
 
Next week the French equivalent to the Director of the FBI (French National Intelligence? idk) is coming to our building
So that's cool
 
I wanna lose 20 pounds
who's with me
 
@SterlingArcher ask em to surrender their phone
 
I'm with you
 
9:30 PM
and if they do, comment that it's "just like paris in the 40s"
 
i don't think i should lose 20 pounds
 
give it here and I'll spend it on terrible things for you
 
That's a manly face
 
@SterlingArcher focus
 
9:31 PM
Sorry. @Mosho wanna make a friendly wager?
 
@SterlingArcher the queen doesn't have time to poop
 
@SterlingArcher now you're talking
 
Idk how we will do it, but you wanna bet a pizza?
We're probably different body types, so we can measure ratio of lbs lost
 
not my favorite tbh
 
you both make pizzas now, send them to me to escrow, and I'll send them on to the winner
 
9:32 PM
wonder if any of you guys can help me understand some weird corporate parlance I'm not used to.... dunno who else to ask
 
@Mosho what do you like? Money? Women? .. Men?
 
@Juan synergize your ideations
 
english is not my native language but it's usually OK except in this case
so I'm writing a script for a guy an I'm chargin $95. He then sent an email asking for a SOW which I had to google and said OK I'll send you one (I'll use Word template)
That's fine so far
then he sent this: "Regarding the SOW, I’d like to cap the work at a maximum amount."
 
@SterlingArcher yes
 
no idea what capping work at maximum amount so I told him this: "There’s no maximum amount. What should I set the SOW to?"
 
9:34 PM
@Juan he probably means set a maximum number of hours.
 
and now he said this: "I’d like to have the SOW reflect your best estimate of the hours for a writing a HS scrip to cycle through. I need this to gain approval from my Boss."
 
So if it takes longer, you'll have to renegotiate, you can't just bill him forever.
 
yeah that's kinda what I thought
 
that's pretty normal
if you think it will take 15, you estimate 15 and 20, and if it goes over 20 you have to talk again
 
@Mosho well?
 
9:35 PM
I'm thinking
 
lol so I probably sounded pretty dumb when I said there was no maximum amount hahaha
 
needing a number to get money from his boss also seems normal
essentially he needs a high and low estimate from you, it sounds like
or max and expected
I would just reply saying I misread the question, here's the estimate, etc
 
but then should I give him many prices or price/hour something like that?
i usually charge per job
 
depends on what rate you're working on and how the contract is structured
per-job is a great way to get ripped off
for your own sake, you should set a maximum number of hours on the job
 
do this one per hour
 
9:37 PM
@SterlingArcher I got nothing
a pizza it is then
@BadgerCat oh hi
 
@BadgerCat what should we bet our 20lbs on
 
we need ideas for a winner
lol
 
wat
 
mosho isn't a pizza fan, so I doubt his loyalty to us
 
a 20lb hog roast
 
9:38 PM
I don't think food is the answer
 
a 20lb roast hog
 
food is always the answer
 
food is the question
 
I agree. Maybe a gift card?
 
if you win food, you'll be able to play again
 
9:39 PM
yes is the answer
 
@ssube exactly
 
@Mosho rules?
 
winner gets prize?
this is becoming complicated fast
 
yeah but how tall and how heavy are you
 
The loser should get a tattoo
 
9:40 PM
OK I get the idea thanks guys
 
6'0, 225
 
I'm 6'3 215lbs
 
mosho is short
 
:(
 
Easiest way I've found is to do X months/weeks, and do the % weight lost
 
9:41 PM
@Mosho Don't worry, I'm 1 foot shorter
 
So let's do 2 months, and the best weight loss % wins X prize
 
my gf is 1 foot shorter than me
 
@SterlingArcher okay, we have time to think of a prize
 
Starting when?
 
but we're going to have to start in a couple of weeks
I'm moving back to canada next week
 
9:42 PM
@ssube how tall are you?
 
That's fine
 
@BadgerCat 6'4" ish
 
Gives me time to fatten up
 
save cheating for later
 
chivalry is a factor. Weigh in post-poop
 
9:43 PM
I have magnum sized poops
fine by me
 
Both should take pictures of before and after
 
Finally my tiny penis will play to my advantage
 
my phone is full of em
 
less weight
 
just have to edit out some parts
 
9:44 PM
@Mosho my before pic is gonna be nude with a vape cover up
 
majestic
I think I'll use whipped cream
 
Oh classy, and a classic
 
sea shell?
 
me gusta
Ok, shake on it?
 
gpg shake
 
9:45 PM
Send me your IP, i'll send a websocket handshake to you
 
you take the agreement and you both sign it to produce a shared key (? fuck knows how crypto works)
 
oh jesus I need a new coil, that hit was gross
tastes like burning
 
lets settle for this
but I'm arnie
 
ok but which one of us is the black guy
oh
ok
that gif is mesmerizing
 
he's Dutch
Dutch and Dylan
I like Dylan's polo shirt and tie combo
 
9:48 PM
thank you 1980s film critic
@Mosho this gives me time to grocery prep actually. I want to do it right with meal planning
 
yeah I need to get a fridge
and a house
 
that sounds essential
homes are for poor people
 
I hear homeless folk lose weight like crazy
 
i think that's the meth
but i feel yah
!!afk home time
 
 
2 hours later…
11:39 PM
why is this code not working jsfiddle.net/a1amvmnr
 
it wont work in fiddle
you have html in the js and document.write isnt supported
 
I mean, it doesnt work in my webpage. Is something wrong with code?
 
starting a new FO4 char
 
even this doesn't work - jsfiddle.net/a1amvmnr/2
 
@CinSbSangpi if i had to guess, the script is running before the DOM is ready
so wrap it in a onReady function block
uhh gimme a sec
 
11:46 PM
right, abit lost there! sure.
 
on your document.write refers to data which is out of context
 
yea.. i just realised and deleted that line and also since that function is not supported by jsfiddle.
but still doesnt give me anything as result
 
also jquery isn't loaded in your fiddle
 
0
Q: How to send json data with file in same response using express,node,mongodb?

its meI upload files using multer and gridfs storage and everything is working fine .after uploading file i saved my userdetails with filepath in user collection. Now i want to retrieve userdata from user collection. response i need to send image and user details app.get('/user', function(req, res){...

 
problems:
1) jquery is not loaded, you can add jquery with the little cog in the js box on the right
2) $.get isn't in the right format, the success function to be run is the THIRD parameter no the second
3) the response is an array of objects not simple text data
hope that helps
 
11:54 PM
@Derp, thank you for the jsfiddle, it is inside?<script type="text/javascript" charset="utf-8"> </script> or <script type="application/javascript"> </script>
 
type="text/javascript"
not sure you need the charset
 
@derp, thanks for some reason its not outputting anything. I have tried removing // for output. still not output yet.
 
hit f12 and see the output in your console log
the // is there because it won't work
 
@derp, i'm sorry but it showing "Undefined"
 

« first day (2383 days earlier)      last day (2581 days later) »