« first day (2277 days earlier)      last day (2898 days later) » 

09:06
@user3304007 It depends on your need and resources. Apache is pretty heavy weight, esp. older versions (or latest version that is configured like older version). Think of it like Linux vs Windows.
I have made a chat but its not room
on server side, when new user is connected, it adds to array
hahah its called passing messages, men do these stuffs
and someone message someone
but I wonder what is the capacity of this nodejs socketio depend on ?
capacity = max concurrent users
i have an api which sends email when its called. it has securitytoken as a parameter
now there is a need it has to be invoked and send email
there is no way to generate token without user logs in
sendgrid api ?
09:10
how to handle this issue?
oh, please.
user6619012
hi all , we are using below code :
user6619012
$stmt = $user_home->runQuery("SELECT commission1 FROM tbl_users where userID=:uid ");
$stmt->execute(array(":uid" => $productdetail->getDesignerID() ));
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$commission = $row['commission1'] ;
@user5348fh8y5 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.
user6619012
09:20
@CapricaSix Thanks , got it.....
user6619012
it return NaN as result
user6619012
here what variable i need to initialize to get proper result instead of NaN.....
user3119231
09:34
o/
> I have a function ChangeOrderits worked yesterday,today I got error
Magically changing code is always a PITA
user3119231
PITA?
!!urban PITA
@DenysSéguret [pita](http://pita.urbanup.com/635466) 1) Acronym for Pain In The Ass, a major annoyance.
2) Flat bread of Mediterranean origin, eaten as is or filled with small pieces of roasted meat, veggies, condiments, etc.
Pain in the ass
09:38
But I could close the question with code which "worked yesterday" ( stackoverflow.com/questions/41544862/… )
user3119231
2) is better
Sounds tasty
me goes to get a bite
@FilipDupanović basic configuration is fine for standard website model
aah pita. nom nom
09:57
I need a dependency free date-time picker that also supports changing values from input itself. I'm out of luck so far :(
!!> ['hello', 'world'].join(' ')
@ZhengquanBai "hello world"
OMG, Caprica is a robot.
2
!!> Math.sqrt(3)
@ZhengquanBai 1.7320508075688772
@ZhengquanBai Yes, lol
10:17
!!tell ZhengquanBai sandbox
@ZhengquanBai Please go and play in the Sandbox
@Paran0a just look for native js datepickers?
robot !== bot
the difference is the "ro"
10:19
@KarelG what do you mean ? That it doesn't work ?
was replying to that other comment (got starred by someone else)
user3119231
@KarelG ro is latin
caprica is ro + bot
so, she is a ro-bot.
robot.
@KarelG I agree and for most people the setup requires nothing more than installing a certain package and copying files to a certain path
11:22
anyone can help me "Uncaught TypeError: Cannot call method 'querySelector' of null", source: abc.com/build/js/frontend-abc.js (16683)
i m getting this when loading url in webview android in Huwei device
error comes on showing confirm box to user
Hello , anyone can help with angular selecting issue?
@AmrAyoub 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.
hello , i'm trying to figure out a way in angular to select all items when the user try to unselect last one of them.
11:44
That's... a lot of backticks
stackoverflow.com/revisions/41547303/2 oh wow that is tough to read
user3119231
12:04
@Erum no
you don't have to respond like that
so short "no"
He said "pls" because it's shorter than "please". I said "no" because it's shorter than "yes".
@KarelG yes
@KendallFrey Just wondering, did you get offended by that ?
By what?
I don't get offended
12:14
Then I can keep using plz :D
pls no
@FlyingGambit And I can keep saying no
plz no, im trying 2 type fster & sv time
eh i recall jan being grammar politik guy here
@FlyingGambit And I'm trying to ignore you and save time
12:16
oh no good brothers don't ignore each other
Lucky we aren't good brothers then
lel
ai ai Mommy
XD
-3
Q: what worng with my javascript code?

Alon0709javascript can some one tell me what is worng? i try evey thing and it is not working. pls some one tell me what is worng document.write("<table>"); for (i = 0; i = 8 ;i++ ) { name = window.prompt("מה השם שלך"); age = window(parseFloat.prompt("מה הגיל שלך"))); if (i >= 50) ...

oh the irony
12:38
javascript
12:57
heh that code
13:16
mmm jerky for breakfast
I wonder... if jerky tastes good on poutine?
It's shrodingers workday. I'm either working for 20+ hours or not at all!
take the day off, make dank memes
Can't, pre-demo demo with customer today. If it goes well and we're good for tomorrow, early day. If not, work all night till it's finished.
@Loktar Bruce Dickinson's son is back at it!
*schrödingers
schrödingers' ¨
How do I avg values for rows when plotting a graph in Google Docs?
@Abhishrek AVERAGE(A2:A100,B2:B100,4,26)
O_O
That didn't work :'(
it averaged the date
probably cause I called it wrong :D
but thanks :)
13:42
oh sweet jesus my vape went off in my pocket there's so much vape smoke at my desk LOL
careful with that
y jordan
y r u lik dis
that's how people explode their shit
I caught it quickly, it was only going for like 3 seconds
Good news is, you get steamed brussels sprouts for lunch
13:44
I wanna send lemon something but it's completely tmi but i thought it was funny
when has that ever stopped you before?
Explain me why JS was created for spying
4
fucking LOL
That's true, but I'm gonna refrain on this one :P
That insta kick.. I'm losing it
bad troll is bad
yes, troll user from another room who pops in every so often to troll us as well
I'm watching him create a crapshow in c# right now. wasn't having it in here
13:48
I got flagged for telling him to shut up
I validated it. Suck it Kendall
> This user has been temporarily suspended by a moderator and cannot chat for 6 days.
You can't troll a troll.
troll is invincible?
webpack --watch is killing my memory :/
13:56
wait until you try alcohol
how'd the jerky beef end btw?
little salty. needed a bit more brown sugar in the sauce
but overall tasty
you ate it all by yourself? 0.o
still eating it
oh, makes sense
bits of tree?
13:59
bits of beef tree
@rlemon omg, send me some
What kind of jerky?
🎧 my jerky-bin brings all the boys to the yard.
Beef jerky is so fuckin' good, could live on it.
How did you dry yours?
like in the video
racks + fans
14:29
@rlemon So, in a datacentre?
yes
best smelling datacenter there ever was
just read an article that client side templating is "wrong"
i was like "ok"
@rlemon I have no clue where even to get a slab of meat like that around here
@Cerbrus Ask your mother, I'm sure she knows
If she did, I'd have seen it on my plate by now
Hehe
14:33
Is it possible to fill in facebook description field with javascript?
@JustasSam 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.
@JustasSam yes.
@Cerbrus how? when I try to append or set innerText it doesnt work :(
Is that field a input or a textarea?
@Cerbrus any sirloin cut will do
14:35
@Cerbrus Neither, it's a div
Gotta give that a try some time
@Cerbrus the hardest part is waiting the entire dry time.
it is edible after 4 hours (if you don't mind the raw consistency of just cured meats)
@JustasSam So, it's still possible, most likely, but the answer isn't simple.
greetings, programs!
Just one day?
(Didn't have audio)
@Cerbrus maybe you could suggest what to google or where to look? :D
@Cerbrus 8 hours in the salt/soy/sugar/spice mix (turned a few times) then 12-20 hours under a fan
depending on the thickness
@JustasSam Frankly, not a clue
Fan overnight...
yup
14:39
Jerky breakfast :D
I didn't think the fan would actually work. I thought if you didn't have a dehydrator you would have to cook it in your oven on low heat.
saturday night I prepped it for the fridge for the 8 hour 'soak'. sunday morning I put it on the racks. packed it up this morning
@Waxi the salt cures / dehydrates the meat
the oven / dehydrator just speeds it up slightly.
wait, facebook's description field is a div ?
Facebook, Google don't ask
that's not an input element. Maybe you're inspecting the elements incorrectly
14:42
Hi everyone
can promise be passed multiple parameter in catch function ?
pass an object or an array if you need multiple values
in catch function
1 message moved to Trash can
@Redplane 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
@CapricaSix : Thank you for your tip :)
As the function I posted above
I want to pass a local parameter in that
is it possible ?
what do you mean by local param?
14:44
please wait for awhile, I'm posting my code
Here
In my code
I have 1 local parameter which is : loginBox
its a FormGroup instance
(angular 2)
I want to pass that instance in catch function beside response
is it possible ?
(someParam:any)?
What's that any?
its typescript
@Redplane Why? Your _clientAccountService.login isn't returning it, is it?
Oh right... Typescript.
15:06
Hey @FilipDupanović are you able to deploy the latest version of asteroids, I can't get now to send me the verification email :/
@rlemon You ever accidentally cook so much food you look at it and go...*Fuck*?
^ since the days of Team fortress
@Trasiva yes
@rlemon I accidentally made 14 cups of vegetable medley last night. I knew I was in trouble when I had to break out the second cookie sheet.
@Loktar Since the days of including a healer ever.
15:18
@Trasiva why do you think I said Team Fortress?
@Loktar true
@Loktar I mean, even DnD parties need a healer, or someone who can heal. At least if you have a good GM they do.
@rlemon Doesn't seem like that much, but that's all dinners for next week.
not bad
14 oz of chicken, 1/4 of rice, and a cup of veggies. Boil some water, toss that bad boy in there for five minutes, warmed all the way through.
I need to buy the vacuum seal bags that work better with liquid though. I had to double or sometimes triple seal those to get them to seal properly.
Why not use plastic containers?
15:24
Tupperware is the name of a home products line that includes preparation, storage, containment, and serving products for the kitchen and home. It also includes plastic containers used to store goods and/or food. In 1942, Earl Tupper developed his first bell shaped container; the brand products were introduced to the public in 1948. Tupperware develops, manufactures, and internationally distributes its products as a wholly owned subsidiary of its parent company Tupperware Brands. It is marketed by means of approximately 1.9 million direct salespeople on contract. In 2013, the top marketplace of...
I'm freezing the food guys, it's not for this week.
Vacuum sealing it means you don't deal with freezer burn, on top of as I said, I dump it in boiling water to re-warm it instead of cooking it again in the microwave.
user2620028
how does the plastic bag taste?
...it doesn't?
user2620028
15:26
no taste at all? crazy
@HatterisMad it's like a pill
you just swallow it
user2620028
ahh yeah it just dissolves in your throat?
it dissolves and the food is in your stomach
user2620028
solid
yea
15:26
salt all your foods and preserve by jerking
no need for containers
@Trasiva If you're able to re-warm it by boil then I assume it's taking place at home, which if that's the case, why not just make your meals fresh since you're already at home?
then you don't get the benefit of the bulk meal cooking
@Waxi Because I just cooked five meals in one evening versus spending 40 minutes in the kitchen every night?
How long did you it take you to cook all of that in your evening?
An hour.
Well, hour and a half with prep.
15:30
I need to get back to meal preppin'...damnit.
Tonight I'm making up a bunch of stir fry for this week.
tonight I'ma make more jerky.
and go pick up 5 more sirloin roasts while they are on sale
@lix sure, let me try
Beef jerky is easily in my top 5 favorite foods. I can't make it or I would just eat my entire batch in one day.
@FilipDupanović I'm talking to one of the zeit guys in there slack, he said there may be a problem
Though if you can deploy a new copy that'd be helpful :D
15:35
looks like it's updating
People around here like deer jerky, but it tastes too 'gamey' for me.
venison is fucking fantastic
user2620028
i gave my girlfriend beef jerky and bacon for the first time in her life when she was in the states in august... i would have gotten bitten if i tried to take it away from her after that.
@lix huh, I'm confused, got some errors, but looks like server.js did really get updated
@FilipDupanović I think they may be having some issues there end
15:38
double smoked venison sausage
best thing I've ever put in my mouth
2
and you've put many things into your mouth
so you definitely know
Lemon loves putting sausage in his mouth.
not just sausage, I'll gobble down most meats
lol
@lix you need this on Heroku now or smt?
15:40
jerky was totally not what I thought it was
I'll take meat sweats for $500.
@FilipDupanović Na was planning to roll with zeit
@Waxi I think you meant sweets.
!!urban meat sweats
@KendallFrey meat sweats To consume an obsene amount of meat resulting in perfuse sweating.
15:42
I could go for some sweetmeats...
Pulled pork is one of the best.
@littlepootis have you ever had it?
Hi people, I got a quick question and I thought this might be the right place for it.
I'm starting a new project which should expend real fast to contain multiple databases and I was wondering what's the right way to approach this, as in using an ORM or any other library that will help me with managing large amounts of data and data schema.

So I wanted to ask, in regard to Node.js, what are you using for managing entities and repositories? What are your recommendations? What do you think I should really stay away from? :)
@rlemon yes, I love them
how expensive is beef in India?
15:43
It could cost your life.
lol
silly northerners don't know
how much does beef cost per kg elsewhere
He's not joking actually. A village killed a guy because they thought he had beef in his fridge...when it was lamb.
it's only in certain states, a lot of India you can consume beef.
(so I've been informed again and again)
it just isn't popular I guess
due to religion
I only know one Indian who eats beef (out of all the Indians at work)
and depending on which god some every day is a different meat day for someone it seems
15:47
a lot more of the youth are non-religious and trying beef as well
@FilipDupanović one of the zeit guys manually got me deployied and it looks like it's running
like on wednesdays X person might eat chicken, whereas Y person can't
I want to get the closest custom attribute (data-leaves) value, html is

<div id="sss446" data-leaves="needtogethisvalue" rel="twsharele" data="446"class="likekisim2"></div>

My code is

var val = $(this).closest("[rel='twsharele']").attr("data-leaves");

where I did a mistake ?
Now to finish off the test suite and ready up
anyone know of anything interesting you can do with sawdust?
15:48
@rlemon pykrete
@lix go get them 🎊
@user3304007 What value does your variable have and are you sure this is what you think it is?
@user3304007 your mistake was using jQuery
@user3304007 : I think $(this).closest("div[rel='twsharele']").attr("data-leaves");
this.closest('[rel=twsharele]').dataset.leaves
15:53
@red doesnt worked
jQuery is so bad. It almost makes me cry as much as when I watch dog rescue videos on youtube
dataset.leaves ? or data.leaves
@ndugger You can't mix vanilla with jQuery like that...which sucks.
@KendallFrey boring
@Waxi I didn't mix anything
15:54
@user3304007: what is 'this' ?
@ndugger Dataset won't work on a jQuery selector.
@user3304007 data('leaves')
it's jQuery
@Waxi I wrote the code without jQuery, you fucking mongoloid
6
why do you think it is jQuery?
Jesus
15:55
.closest is DOM API
@jAndy Ohhhhh...now I know!
I love that word
@red "this" is just another button which doesnt have these.
@user3304007 closest looks up the current tree of elements. If there is none, like if the element that you seek is a sibling, or in a completely different tree, it won't be found
Well what's the difference between jQuery's .closest() and vanilla's .closest() ?
15:57
@BenFortune I didn't know it was a funny insult until I heard a Brit use it
!!urban mongoloid
@jAndy mongoloid A derogatory term for a mentally retarded person.
it's also not standardised yet. so if he's using jQuery closest and wants a useful .data call ....
the button must be inside the div
$(this).closest("div[rel='twsharele']").attr("data-leaves");

This should be give the nearest div which has rel=twsharele
15:58
@Waxi jQuery's is shit by nature of it being jQuery. The DOM one is also shit by nature of it being DOM, but less shit than jQuery
@ndugger How does the browser know which one to use since the syntax is the same? I'm going to assume jQuery's version just turns into the vanilla...?
@user3304007 nearest UP THE CURRENT TREE.... it doesn't just find the nearest matching element wherever in the document
@Waxi You clearly have no idea how things work
@Waxi not sure if srs
ns if srs
@jAndy The Game
2
nsifsrs
15:59
Haha. I'm being totally serious. Why would jQuery provide a .closest() if it's already built into the language?

« first day (2277 days earlier)      last day (2898 days later) »