These are chat archives for FreeCodeCamp/Help

9th
Jan 2019
Claudio Restifo
@Marmiz
Jan 09 02:19
@anandpotukchi i do graphql
lkbharadwaj
@lkbharadwaj
Jan 09 04:20
hey guys there was a small mistake in a lesson video it was actually mixed(swap) with the next lesson
so wer can i report tat?
Anand Potukuchi
@anandpotukchi
Jan 09 04:22
@Marmiz i need help
ill let you know in a few minutes
let mee boot up
Aditya
@ezioda004
Jan 09 05:26
@lkbharadwaj Which video lesson?
Kranti Nebhwani
@darkphotonKN
Jan 09 08:18

has anyone used bootstrap or any ui framework with grids that separate your rows into columns, something like:

<div class="row"> 
     <div class="col-4"> Content 1</div>
     <div class="col-8">Content 2</div>
</div>

where the first Content1 will be on the left taking 1/3rd of the row, and the Content2 will take 2/3rd of the space on the right.

I was wondering with this sort of "grid" system, if there is a way to deal with this problem:

  1. You have 1 row with 4 items split between TWO pairs of columns, col-6 col-6 and col-4 col-8
  2. Another row UNDER it with only one item split into a column-4 size column and a column-8 size column, (so col-4 col-8)

How would you align the start of of the col-4 text with the start of the col-6 texts of both rows? And how do you align the start of the col-8 of the second row with 2/3rd of the way into the first row?

Garrus Napp
@GarrusNapp
Jan 09 08:27
I'm not sure you can easily align stuff between rows
you may manually add margins and stuff
but for more complex structures I think it's better to use CSS grid
May Kittens Devour Your Soul
@diomed
Jan 09 09:44
offset, maybe?
or I'm probs getting it wrong. dunno
I probls am. I'm a :cat: after all
May Kittens Devour Your Soul
@diomed
Jan 09 12:25
fussilli
Victor Popescu
@VicPopescu
Jan 09 12:53
@diomed What do you do for a living? Web design? just curious
Ene Catalin
@EneCatalin
Jan 09 13:33
he develops the vue framework
people keep giving :cat: shit about being a bad bad bad php programmer and it's true, he's a horrible php programmer
but he's a js artist
I mean have you seen how lightweight vue is ?
psyperl
@psyperl
Jan 09 13:37
what do you call a channel where bird, cat, penguin and ostrich are talking to each other?
Garrus Napp
@GarrusNapp
Jan 09 13:39
what
Kranti Nebhwani
@darkphotonKN
Jan 09 13:47
got another interesting problem - check out this site: https://ilife.ntpc.net.tw/fans.php. See how some of the facebook group boxes are empty (not rendering)? They actually work but facebook's iframe just shows a blank screen if the link leads to a expired facebook group.meaning I cannot check if the link is an error, nor if the iframe is missing. What would be a way to hide the facebook iframes that are showing blank>
I thought of many different ways but they all seem to fail because I can't use javascript to "look into" the elements inside the iframe - to check if the contents are empty as that counts as cross-site scripting or somethign and i get blocked
@ezioda004 you got any ideas bro? you're pretty good at solving puzzles :P
Kranti Nebhwani
@darkphotonKN
Jan 09 13:54
seems like the only way the space of an empty "failed" iframe disappears is if one were to remove the <div class="col-md-6"> that wraps the iframe - but how would you check if the iframe in this particular col-md-6 is one which is rendering blank lol
Victor Popescu
@VicPopescu
Jan 09 14:02
@psyperl madagascar?
psyperl
@psyperl
Jan 09 14:12
Victor Popescu
@VicPopescu
Jan 09 14:14
@psyperl exactly
May Kittens Devour Your Soul
@diomed
Jan 09 14:26
I'm not talking to penguins. They're pagan creatures
Niraj Nandish
@Nirajn2311
Jan 09 14:30
@diomed what about foxes?
May Kittens Devour Your Soul
@diomed
Jan 09 14:30
🦊🦊 are ok
they're like wild :cat:s
Niraj Nandish
@Nirajn2311
Jan 09 14:31
:laughing:
May Kittens Devour Your Soul
@diomed
Jan 09 14:39
:arrow_up: :dog:
Niraj Nandish
@Nirajn2311
Jan 09 14:42
@diomed Hangman time??
May Kittens Devour Your Soul
@diomed
Jan 09 14:42
@Nirajn2311 if you're up for it
Niraj Nandish
@Nirajn2311
Jan 09 14:43
Give me 10 mins, then ill be ready
Victor Popescu
@VicPopescu
Jan 09 14:48
@diomed actually cats are more likely to be used in pagan rituals
Aditya
@ezioda004
Jan 09 14:48
@darkphotonKN Link isnt working for me, could be my work wifi blocking it
May Kittens Devour Your Soul
@diomed
Jan 09 14:51
@VicPopescu yeah, by penguins
who knows what you guys do on South Pole
Victor Popescu
@VicPopescu
Jan 09 14:53
@diomed still trying to fly...
but, you know... underwater...
it's a start
Niraj Nandish
@Nirajn2311
Jan 09 14:54
@diomed I'm ready
May Kittens Devour Your Soul
@diomed
Jan 09 14:54
_ E _ _ _ _ E
Niraj Nandish
@Nirajn2311
Jan 09 14:55
A
May Kittens Devour Your Soul
@diomed
Jan 09 14:56
noA
Niraj Nandish
@Nirajn2311
Jan 09 14:57
S
I
Kaz Baig
@kbaig
Jan 09 14:57
@ezioda004 wrote my first hook last night. Excited at how cleaner it already :smile:
May Kittens Devour Your Soul
@diomed
Jan 09 14:57
_ E _ _ I _ E
@kbaig you should be following Aditya on github by now
Niraj Nandish
@Nirajn2311
Jan 09 15:00
V
May Kittens Devour Your Soul
@diomed
Jan 09 15:00
-
Niraj Nandish
@Nirajn2311
Jan 09 15:02
C
May Kittens Devour Your Soul
@diomed
Jan 09 15:03
-
Niraj Nandish
@Nirajn2311
Jan 09 15:06
U
May Kittens Devour Your Soul
@diomed
Jan 09 15:06
nU
:stuck_out_tongue:
Niraj Nandish
@Nirajn2311
Jan 09 15:06
Which language?
O
May Kittens Devour Your Soul
@diomed
Jan 09 15:07
English, I swear
❄️ E R O I ❄️ E
Niraj Nandish
@Nirajn2311
Jan 09 15:08
R
May Kittens Devour Your Soul
@diomed
Jan 09 15:09
:ballot_box_with_check:
Aditya
@ezioda004
Jan 09 15:09
@kbaig Thats awesome, I like how it makes lifecycle so much simpler; I'm also getting more warmed up to it :D
Niraj Nandish
@Nirajn2311
Jan 09 15:09
L
May Kittens Devour Your Soul
@diomed
Jan 09 15:09
lol, this guy follows no1 :-/
no L
Aditya
@ezioda004
Jan 09 15:10
Heroine
May Kittens Devour Your Soul
@diomed
Jan 09 15:11
:congratulations: @ezioda004 :tada:
:ballot_box_with_check:
Aditya
@ezioda004
Jan 09 15:11
:balloon:
May Kittens Devour Your Soul
@diomed
Jan 09 15:11
is that that famous :balloon: from It?
Aditya
@ezioda004
Jan 09 15:12
Maybe 🃏
May Kittens Devour Your Soul
@diomed
Jan 09 15:18
@Nirajn2311
_ _ _ L _ T _ O _
Niraj Nandish
@Nirajn2311
Jan 09 15:21
@diomed gtg, maybe tomorrow
May Kittens Devour Your Soul
@diomed
Jan 09 15:22
:crying_cat_face:
Kaz Baig
@kbaig
Jan 09 15:23

@ezioda004 I was literally just toggling show state lol

const [show, setShow] = usestate(show);

but it's just so declarative

Ene Catalin
@EneCatalin
Jan 09 15:26
P
May Kittens Devour Your Soul
@diomed
Jan 09 15:29
noPe
Ene Catalin
@EneCatalin
Jan 09 15:32
R
May Kittens Devour Your Soul
@diomed
Jan 09 15:33
_ _ _ L _ T R O _
Ene Catalin
@EneCatalin
Jan 09 15:33
btw what's the topic ?
May Kittens Devour Your Soul
@diomed
Jan 09 15:33
nature
Ene Catalin
@EneCatalin
Jan 09 15:34
I
i*
May Kittens Devour Your Soul
@diomed
Jan 09 15:34
noi
Ene Catalin
@EneCatalin
Jan 09 15:34
m
May Kittens Devour Your Soul
@diomed
Jan 09 15:35
well, now you're talking
M _ _ L _ T R O M
Ene Catalin
@EneCatalin
Jan 09 15:35
u
May Kittens Devour Your Soul
@diomed
Jan 09 15:35
nu
Ene Catalin
@EneCatalin
Jan 09 15:35
a
May Kittens Devour Your Soul
@diomed
Jan 09 15:36
M A _ L _ T R O M
Ene Catalin
@EneCatalin
Jan 09 15:36
no idea
Christopher McCormack
@cmccormack
Jan 09 15:36
S as in Syphilis
MAELSTROM
Ene Catalin
@EneCatalin
Jan 09 15:36
wtf is that
May Kittens Devour Your Soul
@diomed
Jan 09 15:37
hmmm... think of beginning of *Life is strange
:congratulations: @cmccormack :ballot_box_with_check: correct! :tada:
Christopher McCormack
@cmccormack
Jan 09 15:37
@EneCatalin it's a disease that can kill if not treated. Al Capone died of it in prison
Ene Catalin
@EneCatalin
Jan 09 15:37
not that
May Kittens Devour Your Soul
@diomed
Jan 09 15:37
wut?
Christopher McCormack
@cmccormack
Jan 09 15:37
:D
May Kittens Devour Your Soul
@diomed
Jan 09 15:38
from maalen ‘grind, whirl’ + stroom ‘stream’.
May Kittens Devour Your Soul
@diomed
Jan 09 15:51
:eight_pointed_black_star:
@cmccormack u here?
:postbox:
Christopher McCormack
@cmccormack
Jan 09 15:54
sometimes
May Kittens Devour Your Soul
@diomed
Jan 09 15:55
could you update script a bit, perhaps?
Christopher McCormack
@cmccormack
Jan 09 15:56
feature request?
@diomed what changes?
Niraj Nandish
@Nirajn2311
Jan 09 16:07
@diomed what script
May Kittens Devour Your Soul
@diomed
Jan 09 16:08
@Nirajn2311 oh, you're back?
:yum:
hangman generator script
Christopher McCormack
@cmccormack
Jan 09 16:08
@diomed do you want just general updates? random feature add?
May Kittens Devour Your Soul
@diomed
Jan 09 16:09
M A :postbox: L :postbox: T R O M
if possible
Christopher McCormack
@cmccormack
Jan 09 16:09
mailboxes as the blank?
Niraj Nandish
@Nirajn2311
Jan 09 16:09
I think he wants random emojis
May Kittens Devour Your Soul
@diomed
Jan 09 16:10
I mean I'll change it to whatever suits me, but yeah
Christopher McCormack
@cmccormack
Jan 09 16:10
but one for each puzzle?
May Kittens Devour Your Soul
@diomed
Jan 09 16:10
they won't be random. always the same ones
Niraj Nandish
@Nirajn2311
Jan 09 16:10
@diomed did you check fullstack.io 30 days of vue
May Kittens Devour Your Soul
@diomed
Jan 09 16:12
no.
gimme link
@Nirajn2311 is it free
Niraj Nandish
@Nirajn2311
Jan 09 16:18
Yes, it is and it is also present in github
May Kittens Devour Your Soul
@diomed
Jan 09 16:18
link me already
May Kittens Devour Your Soul
@diomed
Jan 09 16:20
@Nirajn2311 on what day are you?
Niraj Nandish
@Nirajn2311
Jan 09 16:24
@diomed what day of what
May Kittens Devour Your Soul
@diomed
Jan 09 16:24
of that course
Niraj Nandish
@Nirajn2311
Jan 09 16:25
I am busy with finals
And you want me to learn vue :cat:
May Kittens Devour Your Soul
@diomed
Jan 09 16:28
@Nirajn2311 well, thanks for this :)
Niraj Nandish
@Nirajn2311
Jan 09 16:28
:thumbsup:
Aditya
@ezioda004
Jan 09 16:34
@kbaig Some might say magical :sparkles:
Niraj Nandish
@Nirajn2311
Jan 09 16:41
Looks like github has gone down again
curses Microsoft
Christopher McCormack
@cmccormack
Jan 09 16:42
📮 C 📮 📮 📮 📮 📮
G 📮 📮 📮 📮 T 📮 📮 C 📮 📮 📮 Y
how's that look @diomed ? pen
May Kittens Devour Your Soul
@diomed
Jan 09 16:45
good
thanks! :)
Christopher McCormack
@cmccormack
Jan 09 16:47
seems like too many characters hmm
did you paste it wrong or is that how it pasted?
May Kittens Devour Your Soul
@diomed
Jan 09 16:48
yeah, I pasted it wrong
added some rubbish
Christopher McCormack
@cmccormack
Jan 09 16:50
A ❤️ ❤️ S ❤️ M ❤️ !
max of two characters in the input for now as emoji requires it, I can do some cleanup on that later so you can't put two normal characters in
May Kittens Devour Your Soul
@diomed
Jan 09 16:52
A 😺 I 😺 O 😺
@cmccormack I kinda wanted to use emoji from gitter :P
:cat:
Christopher McCormack
@cmccormack
Jan 09 16:53
@diomed in what way?
@diomed oh that may be more difficult
May Kittens Devour Your Soul
@diomed
Jan 09 16:57
this is good as well :thumbsup:
May Kittens Devour Your Soul
@diomed
Jan 09 17:25
@thekholm80 wanna buy a magic carpet :question:
Kaz Baig
@kbaig
Jan 09 17:43
not enough rgb
Man I wish I wasn't locked into my mousepad
Christopher McCormack
@cmccormack
Jan 09 17:51
@kbaig I didn't know mousepads came with handcuffs
Kaz Baig
@kbaig
Jan 09 17:51
@cmccormack They do when they charge your mouse wirelessly
Christopher McCormack
@cmccormack
Jan 09 17:56
oh nice
What mousepad/mouse? Can't make comments like that without sharing :)
I've been using a logitech G5 for like 6 years now, but not wireless. Great mouse though
Kyle Holm
@thekholm80
Jan 09 17:58
@diomed I would love one of those
Kaz Baig
@kbaig
Jan 09 17:58
@cmccormack I'm using the G903
Christopher McCormack
@cmccormack
Jan 09 17:59
@kbaig gotta get some extra RGB
Kyle Holm
@thekholm80
Jan 09 17:59
@cmccormack i use the logitech g600, i couldn't live without it
Kaz Baig
@kbaig
Jan 09 17:59
@cmccormack I like RGB but that looks gross
Powerplay is the charging pad
Christopher McCormack
@cmccormack
Jan 09 17:59
@thekholm80 oh man I bet that would be great for gaming
Kyle Holm
@thekholm80
Jan 09 18:00
it is, it really is
Kaz Baig
@kbaig
Jan 09 18:00
I've had it for like 8 months and love it so far
@thekholm80 I'd be fat fingering those side buttons all day
Christopher McCormack
@cmccormack
Jan 09 18:00
@kbaig wow that's pricey - is it cloth mousepad or rigid?
Kaz Baig
@kbaig
Jan 09 18:01
@cmccormack You get both
Christopher McCormack
@cmccormack
Jan 09 18:01
(whatever the rigid ones are made out of)
Kyle Holm
@thekholm80
Jan 09 18:01
@kbaig i worried about that at first, but you get used to it
Kaz Baig
@kbaig
Jan 09 18:01
You could easily play a moba with one hand with a mouse like that lol
Christopher McCormack
@cmccormack
Jan 09 18:02
Has logitech improved their quality? I saw it go downhill over the last few years
Niraj Nandish
@Nirajn2311
Jan 09 18:02
I use the keypad itself :fire:
Kyle Holm
@thekholm80
Jan 09 18:02
i'm with you right up until the "play a moba" part
Niraj Nandish
@Nirajn2311
Jan 09 18:02
Next level y’all
Christopher McCormack
@cmccormack
Jan 09 18:02
I'll challenge you all to use just the side buttons on the G600 to do all your coding :)
Kaz Baig
@kbaig
Jan 09 18:02
@thekholm80 I played League for 6 years so my mind still goes to that. Haven't since early last year tho.
@cmccormack I've absolutely no complaints about that mouse so I can't say I perceive low quality
Kyle Holm
@thekholm80
Jan 09 18:03
i love LoL, but the community makes it unplayable
Niraj Nandish
@Nirajn2311
Jan 09 18:04
@thekholm80 is LoL that good?
Christopher McCormack
@cmccormack
Jan 09 18:04
I liked it a lot, but saw my backlog growing and decided I wanted to actually beat some games
@Nirajn2311 the gameplay is great
Niraj Nandish
@Nirajn2311
Jan 09 18:04
havent tried it yet, but will soon
Kyle Holm
@thekholm80
Jan 09 18:05
i thought it was really fun
Kaz Baig
@kbaig
Jan 09 18:05
I wanted to intern for them for the longest time. Got an interview but some harvard kid beat me to it :/
Besides all the recent sexual harassment stuff, seems like a great company
Kyle Holm
@thekholm80
Jan 09 18:06
lol
Kaz Baig
@kbaig
Jan 09 18:06

recent sexual harassment
great company

yikes

Christopher McCormack
@cmccormack
Jan 09 18:09
there are so many good companies out there, might as well avoid the ones treating their colleagues/subordinates that way
Kaz Baig
@kbaig
Jan 09 18:10
true
Ene Catalin
@EneCatalin
Jan 09 18:18
you guys need to try dota
just pick techies and enjoy the won game
(and the ruined day of 9 other enemies)
May Kittens Devour Your Soul
@diomed
Jan 09 18:47
guys, who is so hyped for Glass
Kaz Baig
@kbaig
Jan 09 18:48
u
May Kittens Devour Your Soul
@diomed
Jan 09 18:48
@kbaig besides me, unfollower
Kaz Baig
@kbaig
Jan 09 18:48
me
May Kittens Devour Your Soul
@diomed
Jan 09 18:49
really?
Kaz Baig
@kbaig
Jan 09 18:49
Yeah dude. Split was dope
Niraj Nandish
@Nirajn2311
Jan 09 18:49
Im just waiting for endgame and S8
May Kittens Devour Your Soul
@diomed
Jan 09 18:49
endgame???
gotta rewatch Unbreakable before
Kaz Baig
@kbaig
Jan 09 18:49
I actually haven't seen it
But I will
Niraj Nandish
@Nirajn2311
Jan 09 18:50
@diomed Avengers 4
May Kittens Devour Your Soul
@diomed
Jan 09 18:50
haven't seen Unbreakable? @kbaig
Niraj Nandish
@Nirajn2311
Jan 09 18:50
And GOT S8
May Kittens Devour Your Soul
@diomed
Jan 09 18:50
that's like 10 times better than Split.
Kaz Baig
@kbaig
Jan 09 18:50
@diomed I have not seen unbreakable
May Kittens Devour Your Soul
@diomed
Jan 09 18:51
in terms of being real hardcore brutally realistic superhero movie ever made.
@Nirajn2311 when is GOT coming out? which month?
Kaz Baig
@kbaig
Jan 09 18:51
Doesn't that title go to kickass?
May Kittens Devour Your Soul
@diomed
Jan 09 18:51
no. coz kickass is anything but realistic. lol
this is like - down to earth superhero drama
Niraj Nandish
@Nirajn2311
Jan 09 18:52
@diomed In april
May Kittens Devour Your Soul
@diomed
Jan 09 18:52
totally different tone
@Nirajn2311 thanks for info. I see that BluRay from season 7 came out
Niraj Nandish
@Nirajn2311
Jan 09 18:53
FInally ill be getting my hactoberfest shirt by this weekend
May Kittens Devour Your Soul
@diomed
Jan 09 18:53
any sign of George Martin publishing last book before season is published?
@Nirajn2311 how the heck did you not get it yet? Even I got it
Niraj Nandish
@Nirajn2311
Jan 09 18:54
Ask dhl why they took so long🤷‍♂️🤷‍♂️
May Kittens Devour Your Soul
@diomed
Jan 09 18:55
ps don't know if they tell you or not - but you also get some nice stickers.
I was pleasantly surprised. Got me :octocat: sticker, and sharky as well.
Niraj Nandish
@Nirajn2311
Jan 09 18:55
I dont think he'll be able to publish the book before the season gets released
ps don't know if they tell you or not - but you also get some nice stickers.
I was pleasantly surprised. Got me :octocat: sticker, and sharky as well.
:grinning:
May Kittens Devour Your Soul
@diomed
Jan 09 18:55
And some red thing sticker I dont quite understand... [irrelevant]
it's like a dotted button
whatevs
Christopher McCormack
@cmccormack
Jan 09 19:09
@diomed that was Twilio one of the co-sponsors
May Kittens Devour Your Soul
@diomed
Jan 09 19:11
oh
meh
Niraj Nandish
@Nirajn2311
Jan 09 19:11
@cmccormack could you check this - freeCodeCamp/github-tools#53
its very strange
May Kittens Devour Your Soul
@diomed
Jan 09 19:12

When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!

Christopher McCormack
@cmccormack
Jan 09 19:13
@Nirajn2311 uh sure I can take a look
Niraj Nandish
@Nirajn2311
Jan 09 19:17
@diomed JC will be proud of you
Christopher McCormack
@cmccormack
Jan 09 19:33

@Nirajn2311 I can't even npm i keep getting

'lerna' is not recognized as an internal or external command, operable program or batch file.

Levis
@agabyte
Jan 09 20:25
hi guys
can anyone help me on this challenge? :Redux: Use Middleware to Handle Asynchronous Actions:
var code = 'formatted';
const handleAsync = () => {
  return function(dispatch) {
    // dispatch request action here
    requestingData(dispatch);
    setTimeout(function() {
      let data = {
        users: ['Jeff', 'William', 'Alice']
      }
      // dispatch received data action here
      receivedData(data);
    }, 2500);
  }
};
Aditya
@ezioda004
Jan 09 20:28
You need to dispatch the action creator before setTimeout too.
Ah, I see - the dispatch needs to dispatch the function and not the other way around.
Like dispatch(requestingData) and likewise, dispatch receivedData too.
Levis
@agabyte
Jan 09 20:31
This is slightly confusing "Remember that you're passing dispatch as a parameter to this special action creator.
"Then, to create an asynchronous action, you return a function in the action creator that takes dispatch as an argument."
Aditya
@ezioda004
Jan 09 20:33

Remember that you're passing dispatch as a parameter to this special action creator.

Yeah, so thunk are special action creators which instead of returning an object, returns a function

"Then, to create an asynchronous action, you return a function in the action creator that takes dispatch as an argument."

That is return function(dispatch) { }

The redux will automatically call this dispatch function, with the arguments you pass to it.
Kaz Baig
@kbaig
Jan 09 20:35
@cmccormack I don't suppose you're tried deploying anything with hooks yet...
Christopher McCormack
@cmccormack
Jan 09 20:54
@kbaig just played with it
Kaz Baig
@kbaig
Jan 09 20:54
Ugh I tried deploying on netlify and it complained till I refactored it back to a class
It was just one component but it's about the principle
Christopher McCormack
@cmccormack
Jan 09 20:55
what did it complain about?
I don't get why netlify would even care
doesn't it use your toolchain, which should include babel and all that good stuff?
Richard
@rylew0925
Jan 09 23:20
Would anyone please clarify what a # or a dead link is supposed to do?
Philip Durbin
@pdurbin
Jan 09 23:20
404