These are chat archives for FreeCodeCamp/Help

29th
Nov 2018
ehutchllew
@ehutchllew
Nov 29 2018 01:31
@codeloopy per problem? Maybe 1 hour, max 2. After that just try getting some help, no shame in it. Afterwards, make sure that when you do receive help, or an answer, you try to understand the solution.
Beans
@willybeans
Nov 29 2018 03:26
I've recently been seeing people using multiple package.json files that are nested in their directories. Is this common practice? Why do people do this? Why not just use one package.json file for the entire project? for example: https://github.com/rhysdavies1994/koa-react-todo-tutorial
Claudio Restifo
@Marmiz
Nov 29 2018 03:37
That's because that particular project runs both a server and a front end. So it make sense to have the packages split
because they are in fact, two totally different instances
Bjorn van de Peut
@bjorno43
Nov 29 2018 03:39
I think a single instance wouldn't even load multiple package files
Claudio Restifo
@Marmiz
Nov 29 2018 03:40
no, you need a single one at root level. I think what he meant is why not having a single one that includes both the FE and BE packages, instead of having two different ones
Beans
@willybeans
Nov 29 2018 03:48
@Marmiz I dont entirely understand the logic behind splitting it. So does this mean they are changing directory to go to the front end and only run the front end? and then moving directory to only run the backend? What situation makes this efficient?
Further, if im writing fullstack app's, should i always be splitting it like this?
Claudio Restifo
@Marmiz
Nov 29 2018 03:59

having them split makes it so it's easier to maintain in the long run.
As for the switching directory to run, how's that inefficient?

You can:
-having multiple terminal windows opens
-run a terminal multiplexer
-put process in the background-foreground and keep working on a single terminal window

It's actually pretty normal to have multiple process active while working.

Further, if im writing fullstack app's, should i always be splitting it like this?

always is a strong word.
There's no right or wrong, is more on how you are more confortable / more efficient working.

But in a working environment it's normal to have the FE / BE / DB splitted, since usually it's a different team working on each portion

glitz20
@glitz20
Nov 29 2018 07:03
hey guys how can I use state in a route in react?
<Route exact path='/:this.state.username' render={() => <Profile />} />
this is not working
Johnny Cruz
@croozayy_twitter
Nov 29 2018 07:18
hi peeps, any good calendar libraries out there??
sorry calendar libraries for JS!
Dovydas Stirpeika
@Giveback007
Nov 29 2018 07:20

@glitz20

<Route exact path={`/:${this.state.username}`} render={() => <Profile />} />

You can use ES6 template string

or just string addition
<Route exact path={'/:' + this.state.username} render={() => <Profile />} />
Aditya
@ezioda004
Nov 29 2018 08:55
Not sure the point of using render prop when component already exist, since you arent passing any props to the component.
<Route exact path = {`/:${this.state.username}`} component = {Profile}/>
BuntyBru
@BuntyBru
Nov 29 2018 08:57

Guys,
I recently started working as a Frontend developer(angular)
And i was adamant to make things from scratch
But then i see around
people using plugins for almost everything

I agree that plugins make things easy and you dont have to waste much time on unnecessary things

But does excessive use of plugins make me a bad developer
or it is something which is pretty much normal

alpox
@alpox
Nov 29 2018 08:58
@BuntyBru The one thing you have to consider when using many plugins is that with every plugin you use, your bundle will grow
Apart from that the only bad thing about it could be the quality of the plugin :D
Aditya
@ezioda004
Nov 29 2018 09:01

@BuntyBru @alpox This is from the article I was reading yesterday:

we live in an age where people install npm packages like they’re popping pain killers.

Since the recent news of one of the popular npm package going rogue, I think people should reconsider using packages for stuff they can code themselves.
@BuntyBru Congrats on the new job!
alpox
@alpox
Nov 29 2018 09:07
@ezioda004 Thats true in general (Except you are under deadline pressure maybe)
I found myself often use a plugin for running into the deadline and then take some time afterwards to refactor it with my own code :D
BuntyBru
@BuntyBru
Nov 29 2018 09:28
@ezioda004 thanks mate
it as been near to 2 months now
@alpox in a deadline pressure
@ezioda004 the thing is that i coded the things on my own
Since the task of mine was a full fledged application with above average design
so i did all things by myself , took a lot of time
near about 35 days , Now at last when i am doing cross browser testing
Some dropdowns not working on Safari and "the Great " Internet Explorer
Now i think the last and the fast thing would be to use a plugin
But i am just concerned
Aditya
@ezioda004
Nov 29 2018 09:37
@BuntyBru In that case I agree with @alpox, you should focus on getting things work first - then do refactoring.
Victor Popescu
@VicPopescu
Nov 29 2018 09:38
@ezioda004 yea that lie that every developer believe. you'll never have time for refactoring, refactoring is a myth
@BuntyBru focus on making things work for now, in time, with experience, you'll do them better and you won't need refactoring
all business managers care only about delivering, they don't care how
alpox
@alpox
Nov 29 2018 09:44
@VicPopescu Idk, I usually did have time for refactoring
I guess that depends on where you work
May Kittens Devour Your Soul
@diomed
Nov 29 2018 09:51

Always remember - you are beaver than you believe.

William Shakespeare

@croozayy_twitter yes
BuntyBru
@BuntyBru
Nov 29 2018 09:57
@VicPopescu yup business managers are same everywhere
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:01
@ezioda004 you there js god? it's me, :cat:
Claudio Restifo
@Marmiz
Nov 29 2018 10:06
plays Lionel Richie in the background
Aditya
@ezioda004
Nov 29 2018 10:06
@diomed Maybe
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:07
gonna send you bootstrap page, if you got some time to check @ezioda004
Aditya
@ezioda004
Nov 29 2018 10:07
Sure, but that not JS
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:08
doesnt matter, u still JS god to me
I mean I'd send JS but u dont do vue :stuck_out_tongue:
Aditya
@ezioda004
Nov 29 2018 10:09
Because Vue doesnt pay my bills
Ruben Dario
@rubendmatos1985
Nov 29 2018 10:51
Hi i want to ask if anybody knows how to start working for the ong in frecodecamp
freecodecamp
anybody knows??
i am finishing my front-end and i would like to start to practice with some project
before i start to learn back-end stuffs
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:53
ong?
Ruben Dario
@rubendmatos1985
Nov 29 2018 10:53
yes i mean
at the begining the said that you learn in freecodecamo and then you can work for some ong's
maybe i missunderstood it
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:55
oh non-governmental organisation
you French have different order of letters :smile:
Ruben Dario
@rubendmatos1985
Nov 29 2018 10:56
heheheh it's write
sorry
i am not french but yeah it's the same i speak spanish
ngo it is right
any idea?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:57
right. it's just - your location is France :P
Ruben Dario
@rubendmatos1985
Nov 29 2018 10:57
yes because i live in Paris
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:57
@ezioda004 shed some light on this, would you?
Ruben Dario
@rubendmatos1985
Nov 29 2018 10:57
but i tried a lot to find a job
but it is always the same
the want experience
but it is a dilema
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:57
@rubendmatos1985 you did finish frontend and have a certificate, right?
Ruben Dario
@rubendmatos1985
Nov 29 2018 10:57
wich experience if nobody wants to hire me
i have front freecodecamp yes webdesign and all the other
i must finish with d3 js
and then start with backend
but i think that i could start making something with that i have learned
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:59
well, I'm just guessing but experience could be your portfolio and working on other open source projects
Ruben Dario
@rubendmatos1985
Nov 29 2018 10:59
open source projects in Github you mean??
May Kittens Devour Your Soul
@diomed
Nov 29 2018 10:59
yes
Ruben Dario
@rubendmatos1985
Nov 29 2018 10:59
mmm ok
i will start looking there
thanks
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:00
that could be part of it, not necessarily all
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:00
yes of course
Aditya
@ezioda004
Nov 29 2018 11:00
@rubendmatos1985 You want to contribute to fcc?
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:00
but maybe i could find something to start
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:00
maybe if you try to find someone who needs a web page
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:00
it would be a pleasure to contribute to fcc
but i don't know how
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:01
no, he wants to work on non government organisation things @ezioda004 like FCC promised
like - he wants to be involved in such project
Aditya
@ezioda004
Nov 29 2018 11:01
@diomed When did fcc promise that?
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:01
anywhere
i don't have any job right know
all the time making things with react and redux and exploring
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:02
@ezioda004 isn't that part of the course? like when u finish it, get a certificate, you can work for something like that .
@rubendmatos1985 you could also try asking this on FCC forums.
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:02
but i would like to stay learning javascript and react and front end before i start the back-end journey
you know what i mean?
Aditya
@ezioda004
Nov 29 2018 11:02
@diomed That was in the old curriculum and I think it was then you had to have all the certificates first
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:03
that's not part of new one?
Aditya
@ezioda004
Nov 29 2018 11:03
I dont think so - no
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:03
bummer - potato - :banana: :banana:
Aditya
@ezioda004
Nov 29 2018 11:04
@rubendmatos1985 You could contribute to fcc in many ways, checkout their github https://github.com/freeCodeCamp/freeCodeCamp
Articles, translation, fix bugs etc
that's my curriculum in FCC
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:05
@rubendmatos1985 impressive. also, you should always ask someone to bulletproof your English :stuck_out_tongue:
check for errors
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:06
yesi have some errors in english but i am getting better
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:06
:thumbsup:
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:06
i speak german english spanish and learning french now
and javascript
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:06
he heh
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:07
when i speak it's better
if you want to give me some tips to make my curriculum better i will appreciate that
thanks for the advices about freecodecamp projects
a good start indeed
i must to say to that all i know it's thanks to freecodecamp
they are making good things and i would like to make something in return
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:10
@rubendmatos1985 ever did some other react project outside of FCC?
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:10
my projects
Aditya
@ezioda004
Nov 29 2018 11:11
Yes, fcc is great!! You can give back to fcc by contributing on github :)
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:11
now i am making a movie app in react and redux
just because i am training with a new router
it is redux first router
and i love to make things as pure as possible
without frameworks
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:12
@rubendmatos1985 don't listen to him. he's a moderator. :yum:
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:12
like materialize or _underscore or jquery
i love vanilla
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:12
he just wants to lure you into fixing over 8000 PRs on github :yum:
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:12
hehehehe
Aditya
@ezioda004
Nov 29 2018 11:13
Lol - I'm an open source activist :D
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:13
i could start learning back-end right now but think that it's better if i stay a while with fron-end and then i can move on
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:13
me too, but not FCC only activist :yum:
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:13
@ezioda004 I would like to make open source projects
but i think i need to know more about npm
and node
Aditya
@ezioda004
Nov 29 2018 11:14
@rubendmatos1985 You dont have to know npm/node for making an open source project. Unless you decide to publish it on npm
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:15
can you give me an example?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:15
@rubendmatos1985 so you know pure vanilla JS
Aditya
@ezioda004
Nov 29 2018 11:15
@rubendmatos1985 It depends on what you're trying to make, besides you can learn npm in an hour
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:15
i am not the maker of vanilla but i think i can
i am learning algorithms right now
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:16
I mean - what's you're better at? vanilla js or react
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:17
the problem is that i am working a lot with react
but if i start thinking again in vanilla i can do it
Aditya
@ezioda004
Nov 29 2018 11:17
If you know good React then you definitely know decent vanilla js
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:18
i know react and the last i was making was trying to implement HOCs
but later i am using a lot redux
because i loved it
and with redux you must to use more vanilla
more than with react i think
Aditya
@ezioda004
Nov 29 2018 11:19
Redux is great, I like it too
Yeah you can use Redux with vanilla JS too
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:19
@rubendmatos1985 make me a datedropper
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:19
i like to use react for components and all the rest with redux
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:21
@rubendmatos1985 no, seriously, could you convert something from jquery to vanilla js or react?
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:22
i don't think so
i forget a lot of jquery
but i could try it
i forgot i meant
i sarted with jquery
but i didn't like it
it changes to much javascript
check this
Claudio Restifo
@Marmiz
Nov 29 2018 11:24

Redux is great, I like it too

I sweat at night thinking about all the work we did to remove Redux :shower:

Ruben Dario
@rubendmatos1985
Nov 29 2018 11:24
it's something simple but you can see how i work
Aditya
@ezioda004
Nov 29 2018 11:24
@Marmiz Why? :o
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:25
@Marmiz what do you mean?
Aditya
@ezioda004
Nov 29 2018 11:25
I can see Redux being overused when not required but it solves complex state problem with flux like architecture which React favors
Claudio Restifo
@Marmiz
Nov 29 2018 11:25
Redux was slowing down the developement. Was for us an unecessary layer of complexity that we decided to pull on the BE
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:26
what is :bee:
[BE]
Aditya
@ezioda004
Nov 29 2018 11:26
BackEnd probably
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:26
oh
Claudio Restifo
@Marmiz
Nov 29 2018 11:26
But when you have people that wrote f* form bindings on redux... .was.... ugh
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:26
@Marmiz But how you handle the states??
Claudio Restifo
@Marmiz
Nov 29 2018 11:26
@rubendmatos1985 react state?
like pure JS
it's built in, it's great
Aditya
@ezioda004
Nov 29 2018 11:27
@Marmiz Yeah that is definitely an overusing scenario
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:27
@Marmiz yes but a lot of components with a lot of states??
Claudio Restifo
@Marmiz
Nov 29 2018 11:27
yep
like a bazillion
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:27
how much states is in react? 52 or 54?
Aditya
@ezioda004
Nov 29 2018 11:27
Local state should be local state
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:28
@Marmiz and if you have just 3 async action in 4 components
and then you have a problem
Claudio Restifo
@Marmiz
Nov 29 2018 11:28
@rubendmatos1985 why?
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:28
how many nights you will be trying to find the problem?
Aditya
@ezioda004
Nov 29 2018 11:28
I think using Redux state + React local state + Context API is the way to go, just dont overuse either of those
Claudio Restifo
@Marmiz
Nov 29 2018 11:29
@ezioda004 we moved almost everything to GraphQL -> Apollo -> local state / context
Aditya
@ezioda004
Nov 29 2018 11:29
@Marmiz How does GraphQL solves the state problem? AFAIK its an alt to REST API?
Claudio Restifo
@Marmiz
Nov 29 2018 11:29
redux is still there because there's a component that no one wants to touch
@ezioda004 bc we know exactly each component what data will ask, and in what format
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:30
@Marmiz Which one?
Claudio Restifo
@Marmiz
Nov 29 2018 11:30
hence we can use local states once the query updates / subscribe .... bla bla
pretty handy to be honest
Aditya
@ezioda004
Nov 29 2018 11:30
@Marmiz Oh - so you have a state in the backend? Basically an API which all component is subscribed to?
Claudio Restifo
@Marmiz
Nov 29 2018 11:30
almos
Aditya
@ezioda004
Nov 29 2018 11:31
Thats interesting
Claudio Restifo
@Marmiz
Nov 29 2018 11:31
well, technically yes
Aditya
@ezioda004
Nov 29 2018 11:31
I gotta try GraphQL, I've only heard good things about it
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:31
is forum software turning JS?
Claudio Restifo
@Marmiz
Nov 29 2018 11:32
@ezioda004 grapql is amazingly fast at dealing with one small data that change in a big record.
once you pull in the big record once, you can detect when a small portion change -> apollo triggers a re-render
ez pz
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:32
@rubendmatos1985 I sent you PM
Claudio Restifo
@Marmiz
Nov 29 2018 11:32
@rubendmatos1985 a live pdf generator with invoice and mail composer.
nasty little bugger
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:32
lame.
voice composer sounds better
Aditya
@ezioda004
Nov 29 2018 11:33
@Marmiz But GraphQL makes request to the server right? Shouldnt that be slower than the Store thats already in the client side?
Or am I missing something?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:33
[learning time]
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:33
@Marmiz i don't understand what you mean
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:34
he means that's what they worked on
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:34
@diomed what you sent to me?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:34
private message
Ruben Dario
@rubendmatos1985
Nov 29 2018 11:34
@diomed ahh ok
Claudio Restifo
@Marmiz
Nov 29 2018 11:35

@ezioda004
looks at facebook states updates

slow?

Aditya
@ezioda004
Nov 29 2018 11:36
I'm just trying to connect dots :D
Ok - I'll read about GraphQL

This article was made for n00bs like me

“What?!”, you say. “GraphQL is a server side query language. Redux is a client-side state management library. How could one replace the other?” Good question.

Claudio Restifo
@Marmiz
Nov 29 2018 11:37

@ezioda004 the flow is kinda like:

  • pull data from GQL
  • user interact / change the local state

  • user decide it's ok

  • push new state to BE
  • BE updates
  • GQL updates portion of the client cache with new data

  • FE updates relevant part

Aditya
@ezioda004
Nov 29 2018 11:39
@Marmiz Yeah I get the flow of data but still hard to imagine how that is faster than something thats already in the FE, thanks for all the info!
Claudio Restifo
@Marmiz
Nov 29 2018 11:42

@ezioda004 how's your redux/REST flow now?

  • user interact - update redux
  • user send data to REST

then?
you clean redux and pull the updated data from REST or you keep the local?

May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:42
@ezioda004 what's the difference between react wrapper and react app
Claudio Restifo
@Marmiz
Nov 29 2018 11:44

@ezioda004 just to give you an insight, we need all the data to always be the BE. and never the local one. That's to avoid conflict.
If two users perform the same action at the same time (let's say update a doc) only one of that will go through.

But if we rely on local, both of them will see their "local" update. But one of them is a lie thunders

Aditya
@ezioda004
Nov 29 2018 11:45
@Marmiz I havent done React, Redux with RESTful yet but thats how I'd go about it:
  1. Update local redux
  2. Send data to REST
  3. Use the local after verifying that REST was successful
@diomed Not sure what React wrapper is

@Marmiz

But if we rely on local, both of them will see their "local" update. But one of them is a lie thunders

That makes sense

May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:49
sadness.js
May Kittens Devour Your Soul
@diomed
Nov 29 2018 11:59
:crying_cat_face:
Niraj Nandish
@Nirajn2311
Nov 29 2018 12:18
@diomed here have a :fish: , now be :smile:
May Kittens Devour Your Soul
@diomed
Nov 29 2018 12:36
thanks @Nirajn2311 :smile_cat:
TheCodingAlien
@TheCodingAlien
Nov 29 2018 12:57
Hi i need help getting an element to appear when a button is clicked.. the button html that has to be clicked for the element (which is text) to appear is : <label for="ANSWER.TTQ.MENSYS.2.1" onchange="show_area(this)" class=""><input type="radio" name="ANSWER.TTQ.MENSYS.2" id="ANSWER.TTQ.MENSYS.2.1" value="1" onchange="show_area(this)" data-ttip="Confirmation Statement" data-ttqseqn="2" class=""> Completed and uploaded the checklist confirming that the activity(ies) are not of high risk and that I will conform to the standards set out within. <br><br>OR<br></label>
Beans
@willybeans
Nov 29 2018 14:36
@Marmiz Hey thanks for your thorough reply! This is my first time in a collaboration environment on a full stack app, and they suggested doing multiple package.json files but didn't explain what the point of it was with the clarity you did. Of course different teams on different parts would want their own self contained directory. I appreciate the explanation! I was too embarassed to keep pressing my team because i didnt wanna seem like a dummy! :-D appreciate you!
May Kittens Devour Your Soul
@diomed
Nov 29 2018 15:25
Niraj Nandish
@Nirajn2311
Nov 29 2018 15:46
@diomed Karma, b*
May Kittens Devour Your Soul
@diomed
Nov 29 2018 15:51
@Nirajn2311 wanna learn a new word?
Niraj Nandish
@Nirajn2311
Nov 29 2018 15:52
@diomed What??
May Kittens Devour Your Soul
@diomed
Nov 29 2018 15:53
P _ _ _ _ O _ O M _
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:08
where is @cmccormack today?
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:09
@diomed Im also wondering where he is today?
@diomed A
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:10
no A
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:10
S
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:10
no S either
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:11
N
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:12
nope
@Nirajn2311 do you know what 'recovery position' is? are you familiar with that?
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:17
'Recovery Position'??
@diomed No I'm not familiar with the position, why??
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:18
you're young , but it's nice to get yourself familiar with medical things. never too early
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:19
Yeah, someday when I'm done with school
@diomed E
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:20
P _ _ E _ O _ O M _
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:20
I
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:21
no
try similar
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:21
U
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:21
no U
Aditya
@ezioda004
Nov 29 2018 16:21
no u
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:22
:smile:
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:22
:laughing: :smiley_cat:
B
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:23
P _ _ E B O _ O M _
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:23
Is it english?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:23
it is, but it draws roots from latin
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:24
topic hint??
Aditya
@ezioda004
Nov 29 2018 16:24
T
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:24
it's medical
P _ _ E B O T O M _
Aditya
@ezioda004
Nov 29 2018 16:24
S
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:24
No S
Aditya
@ezioda004
Nov 29 2018 16:25
Y
Phlebotomy
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:26
@ezioda004 haha, you looked. :congratulations: CORRECT!!! :tada:
Aditya
@ezioda004
Nov 29 2018 16:27
Nah, I'm a secret doctor
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:27
Theres even a word for injection to a vein
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:27
@Nirajn2311 not only a word, there's a whole profession, apparently
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:28
Then there must be a word incision to a artery
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:28
study microbiology , and go to draw blood, you're phlebotomist.
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:28
Medical is weird in some ways
@diomed did any of your projects have the event-stream issue
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:30
unsure what that is, so probably not. I am not so immersed into vue world yet
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:31
Is the bootstrap issue solved, if not i'll look at it now
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:31
IDK is it? @ezioda004 IS IT? :smirk_cat:
Aditya
@ezioda004
Nov 29 2018 16:33
Oh yeah I forgot, didnt we conclude that its your browser issue?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:33
._.
I've asked a few questions, tho.
did you delete it
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:34
@ezioda004 could you elaborate
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:34
@Nirajn2311 do you see shadow on hovering over cards in firefox?
Aditya
@ezioda004
Nov 29 2018 16:36
In apy.html?
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:37
How did you realise that it was a browser issue
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:37
he doesnt see it
only I see it. my browser is either gifted or cursed.
Aditya
@ezioda004
Nov 29 2018 16:38
Which file are we even talking about?
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:38
Are we even in the same page here?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:39
one you mentioned above
@ezioda004 I've also mentioned those 2 bigger cards that are vertical. I'd like them to be horizontal
Aditya
@ezioda004
Nov 29 2018 16:40
Ok - thats the issue from pseudo element ::before on .shards-app-promo-page--1 .app-screenshot:before
Remove background: #e9ecef;
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:42
@diomed I see that grey like thing in chrome
But not the pictures :confused:
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:43
ok. I removed that class from the body. grey thing is gone
but my big cards are not aligned ._.
Niraj Nandish
@Nirajn2311
Nov 29 2018 16:43
What shall be your next order, OH GREAT :cat: ??
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:44
@Nirajn2311 play Evil Apples with me :smirk_cat:
Aditya
@ezioda004
Nov 29 2018 16:44
Well I said to only remove the background - not the class
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:45
would take forever to find that one :yum:
Aditya
@ezioda004
Nov 29 2018 16:48
@diomed To make that thingy horizontal, use a different div so your layout should be like:
<div class  = "row">
  <div class = "col"> </div>
  <div class = "col"> </div>
</div>
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:51
beats me. didnt get it
@ezioda004 it's some layer that's blocking those above cards
I can't click on link
damn. why do I even think I can code :|
Aditya
@ezioda004
Nov 29 2018 16:54
@diomed Do you want it complete gone?
.shards-app-promo-page--1 .app-screenshot:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #e9ecef;
    opacity: .6;
}
Its position absolute blocking
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:55
if I remove class it's gone completely. but so is image area below that's using it
Aditya
@ezioda004
Nov 29 2018 16:56
Well dont remove the class..remove the pseudo element, not even sure why its there in the first place
May Kittens Devour Your Soul
@diomed
Nov 29 2018 16:58
yeah. that fixed it. thanks!
Aditya
@ezioda004
Nov 29 2018 17:00
Great! Now about that horizontal issue - just update the layout so the row div has 2 col children
Niraj Nandish
@Nirajn2311
Nov 29 2018 17:03
@ezioda004 i had though of the two separate divs for the cards after thinking about it for 30 mins
How do you like realise this stuff so quickly?
Is it practice or intelligence?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:05
must be intelligence, coz I'm idiot who's not getting it
if I wrap <div class="card mb-4"> into div with .col that aint it
if i add .col to that div - that ain't it again
Niraj Nandish
@Nirajn2311
Nov 29 2018 17:06
That structure is messed up
do that structure from beginning by yourself
Then it will work
Aditya
@ezioda004
Nov 29 2018 17:07
@Nirajn2311 I havent used BS in ages but layout is straightforward, check their docs
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:07
what about that other page and it's cards that are wocky, and not wide enough?
Aditya
@ezioda004
Nov 29 2018 17:08
app-promo?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:09
yes
Niraj Nandish
@Nirajn2311
Nov 29 2018 17:09
@ezioda004 i used BS last month just like that and i understood the layout
but i wanted to know like how did you realise that the structure was not properly done
Aditya
@ezioda004
Nov 29 2018 17:11
By inspecting the page?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:13
@ezioda004 stop lying, we know you're a Hogwarts wizard
Aditya
@ezioda004
Nov 29 2018 17:15
yer a wizard harry
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:15
@ezioda004 if you wanted to translate big .json list into your language what would you use?
Aditya
@ezioda004
Nov 29 2018 17:15
Thats vague - what language?

what about that other page and it's cards that are wocky, and not wide enough?

Looks same to me, can you screenshot the difference?

May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:17
@ezioda004 that section with So nice to meet you text
Aditya
@ezioda004
Nov 29 2018 17:18
Screenshot (172).png
This?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:19
yes
I hoped for like 4 cards there
Aditya
@ezioda004
Nov 29 2018 17:20
You can make the col from col-lg-4 to col-lg-12
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:23
excellent! thank you, Aditya :heavy_exclamation_mark:
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:29
@ezioda004 now bulma question? :yum:
@Nirajn2311 u there, amigo?
Aditya
@ezioda004
Nov 29 2018 17:30
Speaking of amigo, its narcos time!
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:30
ariba, ariba!!!
Smootimus
@Smootimus
Nov 29 2018 17:46
:D
Niraj Nandish
@Nirajn2311
Nov 29 2018 17:48
@diomed i’m back insert-terminator-noise
@Smootimus :wave:
Smootimus
@Smootimus
Nov 29 2018 17:48
:wave:
Niraj Nandish
@Nirajn2311
Nov 29 2018 17:51
@Smootimus you served in the army, right??
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:52
yes, he was original Terminator for USA
@Nirajn2311 how about horizontal modal card
image left, text right?
is that feasible?
Niraj Nandish
@Nirajn2311
Nov 29 2018 17:56
Yeah, that is possible
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:56
pls show me
Niraj Nandish
@Nirajn2311
Nov 29 2018 17:58
Flex or grid or normal css
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:58
Bootstrap 4
Niraj Nandish
@Nirajn2311
Nov 29 2018 17:59
:fire: :fire:
May Kittens Devour Your Soul
@diomed
Nov 29 2018 17:59
:smiling_imp:
Niraj Nandish
@Nirajn2311
Nov 29 2018 18:04
Give me 20-30 min and ill be back, then we can do it together
May Kittens Devour Your Soul
@diomed
Nov 29 2018 18:05
ok
I'll be here, translating Chemical elements
Niraj Nandish
@Nirajn2311
Nov 29 2018 18:42
@diomed I hope you are done translating
May Kittens Devour Your Soul
@diomed
Nov 29 2018 18:43
no. but never mind - that can wait
Aditya
@ezioda004
Nov 29 2018 18:44
Chemical :heavy_multiplication_x: => :girl: :girl: :girl:
Niraj Nandish
@Nirajn2311
Nov 29 2018 18:44
So you want horizontal cards with image on left and text on right side, done with bootstrap 4
May Kittens Devour Your Soul
@diomed
Nov 29 2018 18:44
indeed
but also modal
has science gone to far?
Niraj Nandish
@Nirajn2311
Nov 29 2018 18:45
Modal??, thats new
Explain it to me :cat:
May Kittens Devour Your Soul
@diomed
Nov 29 2018 18:46
modal should open as such card
May Kittens Devour Your Soul
@diomed
Nov 29 2018 18:55
My dad asked me the other day: "Are you even listening to me?"
Which is a really weird way to start a conversation if you ask me.
Niraj Nandish
@Nirajn2311
Nov 29 2018 18:55
:scream_cat:
May Kittens Devour Your Soul
@diomed
Nov 29 2018 18:57
what can one do with modal background?
can one put blur? have opacity? have background image maby????
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:02
Hmm, i cant seem to put and imgur image to codepen
May Kittens Devour Your Soul
@diomed
Nov 29 2018 19:05
they're not supported
@Nirajn2311 use https://picsum.photos/
Jason Luboff
@JLuboff
Nov 29 2018 19:05
imgur doesn't allow hotlinking
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:05
curses codepen and imgur
@diomed @JLuboff thx for that info
Jason Luboff
@JLuboff
Nov 29 2018 19:06
Its not an issue with codepen. And a lot of free image hosting sites don't allow hotlinking
May Kittens Devour Your Soul
@diomed
Nov 29 2018 19:07
@JLuboff wanna play hangman/stickfigures?
Jason Luboff
@JLuboff
Nov 29 2018 19:08
Maybe later...busy right now :)
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:31
@diomed So how is it?
May Kittens Devour Your Soul
@diomed
Nov 29 2018 19:34
@Nirajn2311 trying to convert it in card that shows like modal
not working for me :stuck_out_tongue:
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:35
I just did a card as I didnt know what a modal is :stuck_out_tongue_closed_eyes:
May Kittens Devour Your Soul
@diomed
Nov 29 2018 19:36
@Nirajn2311 lol wut?
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:36
Is modal a pop-up
May Kittens Devour Your Soul
@diomed
Nov 29 2018 19:36
how do you live in webdev world without knowing what a modal is? :scream:
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:36
modal never came up in FCC
May Kittens Devour Your Soul
@diomed
Nov 29 2018 19:37
well there's something that should be fixed. lol
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:38
So the popups/dialog boxes that appear at the top in chrome are modals??
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:39
:thumbsup:
May Kittens Devour Your Soul
@diomed
Nov 29 2018 19:47
@Nirajn2311 does vue have smth like @onhold
where you hold button and value increases or opposite
Niraj Nandish
@Nirajn2311
Nov 29 2018 19:49
@diomed mousedown is there
May Kittens Devour Your Soul
@diomed
Nov 29 2018 19:52
cool!
Niraj Nandish
@Nirajn2311
Nov 29 2018 20:27
@diomed sorry m8, am feeling sleepy
will do the modal thing tomorrow
May Kittens Devour Your Soul
@diomed
Nov 29 2018 21:28
from now on this is official emoji that represents @Nirajn2311 :bowtie:
salem833
@salem833
Nov 29 2018 21:33
Hello everyone, Im sorta new here, can anyone help me out with ES6 really fast?
ES6: Write Higher Order Arrow Functions; its the lesson that requires : squaredIntegers should be [16, 1764, 36]
closest i got was [16, 1764, 36, 4] :(
Jason Luboff
@JLuboff
Nov 29 2018 21:54
@salem833 Whats your code
salem833
@salem833
Nov 29 2018 22:03
<code> const squaredIntegers = realNumberArray.filter((x) => (x === Math.floor(x))).map ((x) => (x *x)) </code>
const realNumberArray = [4, 5.6, -9.8, 3.14, 42, 6, 8.34, -2]; This is the array given
im having a hard time finding out where to place a greater than 0 filter, it looks like the -2 is whats killing me
Jason Luboff
@JLuboff
Nov 29 2018 22:13
x === Math.floor(x) && x > 0
salem833
@salem833
Nov 29 2018 22:17
@JLuboff buddy, you're a men among boys. Incredible.
much thanks :) it makes sense to use a logical and to add to the function instead of trying to squeeze it in like i was before
Dovydas Stirpeika
@Giveback007
Nov 29 2018 22:19
@JLuboff what are you doing writing && operators
:P
salem833
@salem833
Nov 29 2018 22:19
you can make it shorter?
Dovydas Stirpeika
@Giveback007
Nov 29 2018 22:20
lol
he wants it shorter :D
Jason Luboff
@JLuboff
Nov 29 2018 22:20
@Giveback007 First thing that came to mind lol
Dovydas Stirpeika
@Giveback007
Nov 29 2018 22:20
@JLuboff I've never seen or used those before
Jason Luboff
@JLuboff
Nov 29 2018 22:20
whhhaaaa??? You've never used && or ||??
Dovydas Stirpeika
@Giveback007
Nov 29 2018 22:21
JK :D
you have to use nested if statements
that's the only true way to write code
Jason Luboff
@JLuboff
Nov 29 2018 22:36
if (condition1){
   if (condition2){
      if(condition3){
         if(condition4){
          }
        }
      }
   }
:joy:
Ethan Priebe
@Thomas245_gitlab
Nov 29 2018 22:44
How would you hyperlink to a webpage which is stored on a thumb drive?
Jason Luboff
@JLuboff
Nov 29 2018 22:47
@Thomas245_gitlab You wouldn't..
I mean..I guess you could but you would need to handle it via the backend
Ethan Priebe
@Thomas245_gitlab
Nov 29 2018 22:50
@JLuboff I am a student. What would be the most effective way to build a web page which I could just hand to a possible employer?
Jason Luboff
@JLuboff
Nov 29 2018 22:51
You wouldn't hand them anything. You should have it hosted somewhere instead. You can even setup a single page website via github.
Ethan Priebe
@Thomas245_gitlab
Nov 29 2018 22:51
oh, ok I will try that. Thank you.
Henry
@GitHub-Henry
Nov 29 2018 23:04
For those in the USA that would prefer an Open Internet.