« first day (2676 days earlier)      last day (2272 days later) » 

8:27 AM
@MadaraUchiha @BenjaminGruenbaum @Zirak I have an idea
let's go on a ski trip when I'm back in Israel
 
Ski trip where?
Also @MadaraUchiha and @Zirak don't ski afaik
And I have -20 vacation days at Peer5 - when are you back anyway?
 
I think @Zirak said he is going to val thorens actually
in a week
and I don't care where
where there is snow
in a week, for a month
 
You ski where there's snow?
 
@BenjaminGruenbaum does that mean you will work extra 20 days? :P
 
@BenjaminGruenbaum I think Purim is somewhere in there
 
8:36 AM
Don't think there's a skiable location around Purim
 
why not
 
Most of the snow would have melted by then
 
nah
alps have snow
 
Ah, I thought you meant here in Israel.
 
why would I mean that
 
8:37 AM
@MadaraUchiha aren't you a god? can't you create snow at will?
 
@SaitamaSama I can usually create fire and destruction.
Snow isn't really my forte.
 
meh... :B While I can just punch water really hard to create ice
 
"Ray, when someone asks you if you are a god, you say YES!"
 
lol what the shit @netflix
 
are they really going to realify any popular anime
 
8:49 AM
and whatever anime's live action they do is shit by default
gawd, that Death Note movie was awful
 
it could be fun if they did it well
instead of recreating animes can't they give me a warhammer 40k movie
even if it's bad
 
oh btw I've heard (rumors from Jap forums), that FMA:B live action movie isn't all that bad
 
@Mosho did you see / enjoy the warcraft movie?
 
I did x 2
 
I liked how it was not only made for those who are totally green in the WC universe
 
8:55 AM
It was true to the original
 
but also for the fans
 
it was mostly for fans
the only complaints I heard were about the plot
and some about the graphics
well, the plot is exactly what it was in the game
what did they expect
and graphics look good to me
 
9:07 AM
since i'm using alot of Angular , I wanted to have in intellisense for the lifecycle methods. So i've created a *.d.ts file with :
declare function _ngOnInit ();
declare function _ngAfterContentInit() ;
...
But when I type _ng.. outside of function , I dont see them
only inside(!) a function I do see the intellisence of _ng...
What am I doing wrong ?
 
it's probably not it being inside/outside a function
 
Mosho , sorry , I don't catch. Are my declearations wrong ?
 
they're fine, I mean that it doesn't have anything to do with intellisense inside/outside a function
 
@Mosho Gershon is getting married - what dates?
@KamilSolecki no lol I'm going on vacation 3 times more in the coming 3 months - it just means I don't feel easy taking more vacation time
Because I'm "pushing it" anyway
 
9:12 AM
wohaa.... @Mosho are you also from our region ?
 
@BenjaminGruenbaum I'm pretty flexible within that month
 
@RoyiNamir originally
 
@Mosho we should definitely meet - there's also a goodness squad and I'm giving a talk about Node modules at the end of the month (this one)
 
@BenjaminGruenbaum my next plans are for May probably :(
 
9:14 AM
@BenjaminGruenbaum yeah for sure
I just really want to go snowboarding :P
 
yeah a lot :)
new keyboard ( not that I don't have mistakes but...)
Ok so there is no way to have intellisense for custom methods in TS via d.ts files ?
 
you can declare whatever you want and get intellisense
 
^ doesn't work outside a method , i.e in a "class" region
 
what is a "\"class\" region"?
 
^ I start typing _ng but no suggestions
 
9:17 AM
because it doesn't belong there
 
what can you put here apart the name of a method (or "static") ?
 
many things
consts etc
 
...
 
But I'm after intellisence for method name
 
a class declaration body is not where you put code
you only declare class properties/methods
 
9:20 AM
Either I've missed a recent addition in JS or @RoyiNamir is confused
 
latter
 
No harm in being confused. :) Thought that d.ts can also supply intellisense for decleration body of a method
 
you're not in the method body here
The static part of the class syntax is very limited
 
@RoyiNamir yeah I see what you tried, no that doesn't work
 
@RoyiNamir There's no ham in being confused either. Think about that why don't ya!
 
9:23 AM
you can probably declare an interface and implement it
 
@Mosho I miss skiing
But I don't think I'll have time for a vacation, I can't remember the last time @MadaraUchiha was on vacation so he's a good target
 
he was in japan for a month
we can go ski in japan!
 
Right now the best place to store a class' static fields seems to be in the outer scope (for example the old IIFE)
 
Thanks
 
@DenysSéguret Why not static getters?
 
9:24 AM
"Either I've missed a recent addition in JS " hahaha :-)
 
@RoyiNamir I don't follow ES closely
 
@BenjaminGruenbaum I went every week since winter started here
 
good morning my dudes
 
there's a ski hill 15 minutes away
 
happy monday to all
 
9:30 AM
anyone see the opening ceremony for the olympics? impressive stuff with those drones
 
how can i use Array.map and place a setTimeout inside
for example I want t generate date.now and stall the loop by one second to ensure unique date creation
 
@mibbit how about a setTimeout "outside"?
 
@Neil yeah man...
 
@Mosho so you want to go Skiing with 3 people - 2 of which can't ski (yet) and me (who can barely).
 
@mibbit you can use the index to delay each iteration more than the last
 
9:33 AM
Maybe @Zirak skis, IDK
 
> chineses
 
@mibbit just promisify setTimeout and use await
 
Makes me want to have my own drone army, but not necessarily for making light shows
I'd settle for taking over the world.
 
@BenjaminGruenbaum you usually don't go with people who are exactly your level
 
yeah, just make each one to carry a M9
 
9:34 AM
you learn a lot in a week
 
ggez
 
const delay = ms => new Promise(r => setTimeout(r, ms));

(async () => {
  for (let i = 0; i < 10; i++) {
    document.body = Date.now();
    await delay(1000);
  }
})();
 
and you don't have to be together 100% of the time
 
uuuuh
 
@BenjaminGruenbaum trying it out
 
9:39 AM
hi i stick with the problem in redux and couldn't solved is there anybody can help me with this question
1
Q: Multi Api call using redux and thunk doesn't work properly

Hussein OjaghiI want to use redux to call api in react native. redux is ok when i want to call only single api in a component but when i want to dispach more than one api. it just mix up and i can not handle in componentWillRecieveProps. this is my component which i want to call api in it: import React, { Com...

 
multi api?
what is a multi api?

lolwat
did I just send an empty message
 
I mean sending two api in one component
 
where's exactly your problem?
you're missing some basic concepts
you don't dispatch api calls, you dispatch actions
and in the actions you can fire as much api calls as you want
in your actions you may want to return a function with dispatch as a parameter
uploadAssetYoutubeAsync(uuid, name) {
    return (dispatch) => {
        axios.post('/api/assets/youtube', {uuid, name})
            .then((response) => {
                console.log(response);
            })
    };
},
this is something I did the other day
there you can dispatch many actions
and do more than 1 post request
 
ok i lost that code now
 
1 message moved to Trash can
@mibbit 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
 
9:47 AM
!!iz I still in jail?
:cries:
use ctrl+k
 
1 message moved to Trash can
@mibbit 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
 
ok dude @CapricaSix how do I format the code
I am using the quotes like you want
 
If only the message would explain how to format as code properly :(
 
yeah duh
lol
should be `
 
Maybe just try again
 
9:49 AM
@OliverSalzburg that would be nice
 
that's not what the message says, does it?
 
xDDDDDD
 
Oh boy
 
is that not the correct character?
 
1 message moved to Trash can
@mibbit Please don't post unformatted code - hit Ctrl+K before sending, use up-arrow to edit messages, and see the faq.
 
9:50 AM
good god. press ctrl + k before sending
 
> hit Ctrl+K before sending
 
.map(item => {
  (async () => {
    if (item.propId) {
      item.expiresAt = new Date().toUTCString();
      return item
      await delay(1000);
    }
  })();
}).filter(x => x)
that
 
much indent
 
now put indentation
 
now I'm really spamming the chat so sorry
 
9:50 AM
yay
 
@MadaraUchiha rollback plz
 
i am guessing async goes outside the map
 
had my mouse over the star already
 
כאכט
 
9:51 AM
כאכט.
 
stars plz
 
now it's not funny anymore
you just become star whores
 
hello
 
hi boi
 
does anyone have experience with react-equalizer ?
 
9:52 AM
nu
I have experience with guardian druid and assassination rogue
 
:(
 
but ask
 
it only works if i give it divs as nodes, but i want to give it a component i built ( which returns a div)
 
I gues it should work
 
9:56 AM
that's not a div, that's undefined
 
it can't reach the style.height on my component it seems
 
you should do an example in codesandbox
 
posted on February 12, 2018 by Mathias Bynens

TL;DR: Lazy deserialization was recently enabled by default in V8 version 6.4, reducing V8’s memory consumption by over 500 KB per browser tab on average. Read on to find out more! Introducing V8 snapshots But first, let’s take a step back and have a look at how V8 uses heap snapshots to speed up creation of new Isolates (which roughly correspond to a browser tab in Chrome). My coll

 
!!afk back to work
 
:(
can i create a height property in my component? not in props?
 
9:58 AM
you can pass height as a prop and then use it in your component to define your div's height
or you can style={{height: '10px'}}
 
@Gilad hello
 

« first day (2676 days earlier)      last day (2272 days later) »