« first day (2471 days earlier)      last day (2702 days later) » 

00:06
o/
@Loktar dudeeeee
can't wait already
yeah same, looks like an exciting season
good that at least we have game of thrones now :D
00:41
!!witchdoctor or wizard
@KevinB wizard
 
2 hours later…
02:46
@Loktar twd comic con panel youtube.com/watch?v=LjVsPUcU-EA :D
 
2 hours later…
04:33
hi guys ,
@webmansa Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
any assistance on this thread would be appreciated
https://stackoverflow.com/questions/45242831/javascript-click-event-on-input-autosuggest-item
@CapricaSix thanks
@CapricaSix there's no space between "Please" and "don't" in your welcome message
04:59
wontfix
05:10
We went paddleboarding with @Amaan today
morning room
what does shallow copy mean
A K
A K
05:29
Deep Copy And Shallow Copy. ... Shallow copy is a bit-wise copy of an object. A new object is created that has an exact copy of the values in the original object. If any of the fields of the object are references to other objects, just the reference addresses are copied i.e., only the memory address is copied.
Object.assign creates a shallow copy
 
2 hours later…
07:18
var a= [
	{
  	a:"a"
  },
  {
  b:"a"
  }

]
var b = a.slice();
b.splice(0,5);
console.log(a);
console.log(b);
when i slice, the objects are shallow copied which means b has reference to {} in a and not a new copy. when i splice b, both b and a should be empty then, right
?
07:41
"If you have a family or loved ones fighting for your innocence, good. If not, the prison is where you go"
"Why does people caring about me matter?"
"Well because if no one gives a shit abour you, you might as well rot in prison"
I had a dream in which the bible was the npm registry
and there was a "react pub" in which the owner consistently killed everyone in it after a certain hour
the owner was also a dog
theresa may had bought a lamb pet, which escaped imidiately
but we became friends
and it got huge
like, the non-furry part of the nose was the size of my hand
it brought me dead cats
then a teacher came to me and said that I need to take some more tests to make it clear that I passed highschool well. Turns out he did that to everyone, and in the end it was for a tv show
after that, one of my highschool mates became emperor of earth
just so he could wear a big coat, as he was always cold
08:09
Bravo.
he wasn't cold anymore
@KamilSolecki ok, today I'm probably actually getting the ingredients
I realized that it can be something really fancy, as long as it's cheap
Oh oh! Have you decided what are you making?
Or do you need ideas
nope, that can be up to you :P
Oke, give me 10-15 mins
but it needs to have a huge amazing/cheap ratio
not because I'm lacking money, but because she hates wastes of money
08:17
All right, forgot to ask
What ingredients are off the charts?
@towc can you answer my question
As in allergens, stuff y'all don't like
@MichaelScott I don't appreciate random pings. I could answer, but I won't
@KamilSolecki she says she's not allergic to anything, but never had medical tests afaik
but she's ok with nuts and the sorts
08:19
Oke.
(I tried to explain that it's basically impossible not to be allergic to anything, but I guess it's most common foods)
my parents had me believe I was allergic to smoke when I was 6
Haha lol
I got an idea - 400g of salmon as the main ingredient. The price should be around 8$ for that.
Acceptable?
what's the end result?
Imma cook one today, and snap pics
08:29
sure, thanks
So the idea is salmon sprinkled with crushed pistachios, layered on top of golden potato slices, with a side of rocket salad and (served in a separate little bowl) yoghurt, pine nuts, onion and garlic sauce/salad
Overall cheap
And effective af
honestly doesn't sound too good :/
WHAT
It's absolutely delicious, but I guess we have options
it might look better than it sounds
does the plate have a name so I can google it?
can someone please answer
08:39
try on main SO
ok..
maybe only changing the value works
08:56
@towc most likely not, perszonal invention
even if it was good, it sounds way too fancy :/
I know I'm being hard to please, I'm so sorry :P
I really appreciate your help!
Welp, we can try chicken as well
Do you have an oven?
I do have an oven, yup
How about seared and baked chicken breasts, covered with a layer of roasted tomatinis, topped with goat cheese?
You prolly cannot go simpler then that
+ some side salad
that does sound good
but at that point, might as well be macaroni and cheese :P
do you have any tips for macaroni and cheese?
09:03
+ is good. Only thing, you MUST find goat cheese (soft)
Don't go macaroni
Cheese
Pls
what's wrong with it?
well, it's more complex than that. It has onions and bacon and gratinated cheese with cheese sauce then you put in an oven
and maybe some ham pieces
I'm so sorry :(
it sounds cafeteria like
:D
my guardian in the UK used to make it every so often, I absolutely loved it
@KamilSolecki is that the chicken?
We are looking at something alike this vs mac and cheese
I honestly don't understand things with loads of flavour-adders
09:06
(Not my pic)
Cooking is not adding random flavors
It's matching flavors
well, not random
but I would be ok with none of the red things and only one of the green things
Well it IS only one
Just cut differently
Basil chiffonade cut + whole basil leaves
oh
And reds are tomatoes.
ooooooh
09:09
White is cheese
how do you make tomatoes look like that?
those in the pic are sun dried tomatoes
I usually use fresh ones
Plating dishes is art in itself, makes 40% of the actual dish quality
Makes no difference when you live alone and eat it while binge watching on youtube.
@littlepootis plate's not for me :P
well, not only for me
so looking forward to it :)
Oh, good luck.
09:21
I should have all the ingredients
I will cook it today
Snap lots of pics on the way
+ try to explain best I can
Trust me, it's hella simple
It's absolutely possible, even if you don't have a knife like mine : ibb.co/i8mMkQ
XD
 
3 hours later…
11:56
Hey guys
Hey guy
>friends with vegetarian for a week
>wants to be vegetarian
me right now
guise
what are your thoughts on stormpath?
12:19
Whats faster, binding, or calling function witihin function with args?
i.e:
x.on("event",y.bind(undefined, args));

// vs

x.on("event",function(){
    y(args)
});
1 message moved to Trash can
@Tobiq Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
Why don't you benchmark and tell us?
because my program isnt 10 lines long
That's what you need for benchmarking.
user4368224
Has anybody build anything using ethereum JS framework? I keep getting errors like TypeError: web3.eth.contract is not a function
12:24
@Code Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
user4368224
This is after compings the contract etc. It's really bizzare
var y = function(x, z){ x+z }, func, rounds= 100000000;

console.time("binding init");
for (var i = rounds; i--;) func = y.bind(undefined, 1, 2);
console.timeEnd("binding init");

console.time("embed init");
for (var i = rounds; i--;) func = function(){
    y(1, 2)
};
console.timeEnd("embed init");


> binding init: 4280ms
> embed init: 3325ms
var y = function(x, z){ x+z }, func, rounds= 100000000;

console.time("binding init");
for (var i = rounds; i--;) func = y.bind(undefined, 1, 2);
console.timeEnd("binding init");

console.time("binding run");
for (var i = rounds; i--;) func();
console.timeEnd("binding run");

console.time("embed init");
for (var i = rounds; i--;) func = function(){
    y(1, 2)
};
console.timeEnd("embed init");

console.time("embed run");
for (var i = rounds; i--;) func();
console.timeEnd("embed run");

> binding init: 4278ms
(see full text)
That's right, right? Embed?
12:53
o/
13:11
good morning people
@towc
We are beginning.
I have a drop down menu that isn't behaving as it should, The code works its just not acting how I thought it would - I want it to push the rest of the content down when it is displayed, instead it overlaps the content jsfiddle.net/tc0qdqhg/2 - On the fiddle the menu doesn't even display but it works in chrome
@KamilSolecki What ya making their?
Cooking lessons for towc
We are doing goat cheese sun dried tomatoes chicken bathed in a buttery-lemoney awesomeness
mmm - That sounds so tempting...
Except the sun dried tomatooos lol
need to go out soon, sorry @KamilSolecki :/
just bought some other stuff for the house
including covers
and a fan
It's ok, imma keep updating steps and you can catch up when you come back
sure :D
Are you going to insert the cheese and garlic inside the chicken - Paste it with olive oil and sprinkle herbs on top and then place the tomatoes over it?
jsfiddle.net/nw39r164/6 how to get rid of that jump in firefox browser --> any ideas ?
13:34
@Piotr Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
aww, seems like I missed out on the fun yesterday
@towc you can get small under the sink style fire extinguisher for cheap. I'd recommend it
@Piotr What Jump?
jump which happenes after fixed menu finshed scrolling to chosen in menu section
in chrome there is no problem BUT IN FIREFOX does not work
I see - Im currently using Chrome and works fine for me - Unfortunately I dont have Firefox installed - Have you googled it to see if anyone else has had the problem
13:38
have been googling for more than 2 days now
to fix this
@Ricky Try jsfidde which I linke in internet explorer where it also does not work
It woprks fine on the fiddle for me
Is it not working client side - Try clearing your cache
ctrl - shift + f5
@towc Continuing: skim, debone and season the chicken. Also, preheat oven to about 210 deg C
@Ricky have you tried it in internet explorer and there is no jumps after scrolling ?
@towc preheat a skillet on high, with some oil on it (preferably olive oil for better taste)
We are going to sear our chicken on both sides, to close its pores (when we put it in the oven, the juices will say inside)
@Piotr Why oh why would you want it to work with IE??? That is so outdated and horrible - Just create a popup telling people to update their browsers for optimum performance otherwise they cant view the site :)
13:49
Wait, that looks undercooked.
It's searing now, duh :D
@Piotr - Okay on Edge the jump is there
Without looking at the code it appears you have the timings wrong for the slide
So it slides to the set point stated and then "Jumps" to the point you want it too
1 message moved to Trash can
@Piotr Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
$('html, body').stop().animate({
                        scrollTop: $target.position().top -80
                    }, 1200, 'swing', function (e) {

                        location.hash = target;
                        $(document).on("scroll", onScroll);
                    });
after the animation --> location.hash = target; is causing the jump
Whats this bit for ->  'var target = this.hash,
      menu = target;
    $target = $(target);'
13:58
@towc transfer seared breasts to a separate, oven-capable container
Now it's tomato / sauce time
Also don't eat the chicken just now, unless you enjoy meeting with a chick called salmonella
@Piotr Look here it may help stackoverflow.com/questions/23547055/…
well, it's raining...
you know what rain is right? free water.
collect that shit up.
then you can get a house plant and you have water to put in it
Growing your own tomatoes yet?
also, a house plant is a good idea. if you go a year without killing it you can check off 'took care of something living'
14:01
@KamilSolecki sounds hot
if she weren't italian
Because the tomatoes you buy at the retail store have rootkits.
@rlemon there are fake cacti in the house
sad, but kinda nice
you sure they are fake?
well, they're not dead...
oh, Lucas H. is back
did you get an invite?
14:03
shit, it went from "I need to buy sunglasses asap" to "I don't envy anyone who's not under a roof right now" in less than 5 minutes :D
this place is better than the UK
@rlemon got 2
you can tell them to not. most consider it annoying
one for a "room for a and b" and another for a "BoneOS" thing
@rlemon I'm not sure how to parse this sentence
@towc lol, BoneOS.
you can tell them to not invite you in the future.
random room invites from random people usually doesn't go over well on chats.
oh
14:07
Ok we are back
Now, get one of these dissolvable broth cubes and dissolve it in hot water. It will be a base for our sauce, unless you wanna boil a whole broth just for 1/4th of a cup :D
@KamilSolecki can you compile these in like a blog post?
You should start a codepen cooking blog
make occasional jokes about programming
@LucasH. STOP INVITING PEOPLE TO RANDOM ROOMS
Now, we will sauté garlic and onion on butter for our sauce, for +-2 minutes
@towc I guess lol
Stop making me Hungary
Also, sauté is medium heat, it's to extract the key tastes from the things, and not burn the shit out of them
We will be removing the crushed garlic later
@littlepootis oh boy I will fockin Budapest ya.
14:13
if your cook top has numbers, 1-9 on the dial. saute at like 3
Hey guys, ironically I wasn't here and won't be here for hte next 2 days
but let the butter/oil heat up first.
I'm travelling :P
What lemon said
also you should try putting a tiny bit of oil with your butter.
it makes it not burn
14:20
So followed the code from w3schools for an accordian effect but its still acting as a dropdown :/
I might have a twitch session in 3 hours, where you get to see me burn the kitchen down
@KamilSolecki will you be around in 3 hours?
The JS doesn't run in a fiddle either but runs on codepen and browsers :/
who is this @LucasH. ?
fiddle code run after onload fires, usually. you can change that option. click the gear
@Luggage Thats useful to know thank you
any ideas why my accordian is stilla cting as a dropdown though?
I cant really see anything as to why it is
14:31
the fixed height on nav ul li
@Luggage - You know - I removed that earlier and it didn't work - "Reset cache and removed" it works - FML... 4 hours wasted on that.......
thank you
and I need sunglasses again
the UK's got nothing
What does sunglasses have to do with javascript?
@J.Eng Welcome to the JavaScript chat! Please review the room rules. Pleasedon'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.
14:41
@J.Eng Welcome.
Thank you @littlepootis :)
@KamilSolecki please update
kamil d3d
Angular 4 vs React, which is better in which situations?
he lacked sugar, so his love for cooking made him get it out of his blood
@J.Eng vue, mostly anytime
angular and react try to solve different problems
it's apples and oranges
did you try googlng "angular vs react"?
14:43
When will you use apples and when will you use oranges?
when I want apples, I use apples
react is just a view engine, angular is a whole batteries-included framework.
If you compared it to fruits then it almost seems as if it is up to taste which one is better. Some like apples more and some like oranges more.
So there for is react better to...
A comparison of apples and oranges occurs when two items or groups of items are compared that cannot be practically compared. The idiom, comparing apples and oranges, refers to the apparent differences between items which are popularly thought to be incomparable or incommensurable, such as apples and oranges. The idiom may also be used to indicate that a false analogy has been made between two items, such as where an apple is faulted for not being a good orange. == Variants == The idiom is not unique to English. In Quebec French, it may take the form comparer des pommes avec des oranges (to compare...
And if you are going to do X then you should properly use angular 4
14:47
apples and oranges means, in america, at least: incomparable
not a matter of only taste
you also can get mixed apple-orange juice .. its the best
so, it depends if you are shopping for a view engine to add to other libraries, or a "all decisions made" framework like angular
Do you want a car, or a car part?
So there is no reason to use angular 4 over react in some cases and vice verser
So you are saying that teams would prefor to use react becuase they have more options with react?
And angular is more for a single person because everything is decided?
14:51
@J.Eng I have a veryyy good tutorial for you
Or is it the other way around?
That's my personal preference, yes, but sometimes people choose angular so they don't have to make choices or don't know how to construct something out of a few parts
I started to watch it, it is really good:
@J.Eng in 3.5h you are done and a master in angular, vue and react and please after you watched it come again and tell us, which one is good for which job
*master... a guru!
A K
A K
15:04
Angular gives you everything out of the box doens't it? whereas with React, you need to plan and decide what additional tech you need to use
Ok I'm done with food and eating, update time @rlemon @littlepootis @towc
A K
A K
Luggage, is there anything Typescript can't do that Javascript can do?
Make me excited
A K
A K
Anyone good at python here?
15:08
When the onions and garlic are sautéing, cut up the dried tomatoes and place them on the chicken breasts. Crumble the goat cheese on top of them
@AK Join the Python channel :P
@KamilSolecki YDIW......
MEant to create a pocket in the breast and stuff with the cheese and garlic... So when you cut it open it pours out and also runs into your mouth when you bite
Put the chicken in the oven for 16-20 mins and get back to your sautéed stuff
Keep adding butter and olive onion. Taste when it melts. Keep adding them until you think it tastes smooth and graceful
After that's done, remove the garlic from the pan
When chicken is done, it's plating time!
First pour the butter on the plate. Now, I opted for spinach leaves, they add to the overall presentation. Then goes the topped chicken breast. At the end, sprinkle it all with basil! (I have a weird kind of basil, ofc normal will be fine)
End result:
On the table:
@KamilSolecki are you trying to starve me wtf
I don't know, I appreciate small, quality, dishes
but I wouldn't want to have them for a normal meal :/
I'm looking forward to seeing your ideas/recipes so we can share some good cooking stuff! @rlemon @littlepootis @towc
15:21
I do like 90% of the cooking in my house. I've thought about recording it
but that's a lot of work
@towc its a whole fuking chicken breast, its just that the plate is huge af
the plate is actually the size of my arm
a whole chicken breast alone is not a meal
@KamilSolecki something for scale?
forearm*
I don't know how big your arm is :P
15:22
I'd need some veg and maybe some rice or a potato
@towc u got cutlery for scale on the table
@rlemon this can always have a side of a salad. Adding potatoes under the breast, so its 'stacked' would work too
just, sliced potatoes
@KamilSolecki good kitchen people probably have a huge range of cutlery anyway :P
15:24
I like a nice hearty meal.
also, who the fuck is lucas and why am I getting invited to different places
@LucasH. FFS STOP INVITING PEOPLE RANDOMLY FROM HERE INTO OTHER ROOMS!~
@rlemon yuuuummmy!
well yeah, compared to that mine is fairly minimalistic :D
@KamilSolecki salmon, portobello, steak, shrimp, and potatoes with green peppers and onions.
I have a killer tuna recipe, I might post some when I make one again
tuna steak*
15:30
quick question: don't you get more money as a classy chef than a programmer?
no
you'd need to be the top 1% of chefs to make the top 25% of developers.
you might be able to make really good money as a chef, but you'll have a larger pool to choose from as a programmer
source: worked as a chef
you did? :D
for just over a year
end of 2007 I left programming for 4 years .
like, did no coding
worked other jobs
maybe 5 years
15:33
good idea?
I got back into programming when I started on SO again
(because I got a job in programming again)
oh, so not exactly by choice?
@towc nahh, it was the tech recession. finding a tech job was hard
Now, a quick JS question. I have almost no backend on my webapp yet. I have decided to drop .net and go full JS here. Is express /w mongoDB a good choice for backend / rest api?
for frontend im using React with TS, MobX, react-router
+webpack
Also If you have any suggestions regarding my choices, please do share.
@Luggage interesting.. people use tagged template literals for js-css
I've been looking for real world examples of tagged template literals for a while.
15:43
also Relay uses them for graphql queries with params, i think
lol waat
That reminds me of pomegranatephone.com

« first day (2471 days earlier)      last day (2702 days later) »