These are chat archives for FreeCodeCamp/Help

12th
Jul 2018
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:01
come try the internet in egypt then you'll know you're blessed 😂😂😂
i wanna go back to qatar so i can have the fast internet speeds again
Kyle Holm
@thekholm80
Jul 12 2018 01:02
both those places sound really hot
i'm not a big fan of heat lol
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:08
egypt is not actually that hot
as for qatar its smoking hot the temperatures now is like 46 degrees celcius or something
but
you don't feel the heat
because everywhere you go is air conditioned
like that?
Christopher McCormack
@cmccormack
Jul 12 2018 01:11
That's how Phoenix is too, when I moved to Flagstaff in the mountains, it was actually quite a bit hotter as there are less airconditioners but the temps are still fairly high in the summer
Kyle Holm
@thekholm80
Jul 12 2018 01:11
@cmccormack for some reason i thought you were in Denver
Christopher McCormack
@cmccormack
Jul 12 2018 01:11
I wish
Daryll
@Lafender
Jul 12 2018 01:11
Hey i dont know if this is the right place to ask this but does anyone here do any compiling on their android device? I'm looking for a good compiler for my phone. One with a way to import new modules or libraries from github easiely. I've had trouble getting the kivy module to work in python on my android, without using the one app on the playstore that supports it.
Kyle Holm
@thekholm80
Jul 12 2018 01:12
@cmccormack i've been thinking about getting some land outside flagstaff, about 30 miles east of Kingman
but just for winters lol i'd not go there in the summer
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:13
also qatar in winter is really cold, desert in winters are quite harsh
Christopher McCormack
@cmccormack
Jul 12 2018 01:13
Not sure what summer would be like in that area, not terrible in Flag, 80s/90s
@ahmedtarek2134 does it have really rainy winters as well? When I was in Iraq I was surprised by how much rain there was in the winter
Kyle Holm
@thekholm80
Jul 12 2018 01:13
@LunktheSkunk sorry i don't know anything about that
Christopher McCormack
@cmccormack
Jul 12 2018 01:14
@LunktheSkunk what are you trying to compile? JS?
Kyle Holm
@thekholm80
Jul 12 2018 01:14
@ahmedtarek2134 i've spent winters in the Mohave desert, it got down close to freezing a few nights
Christopher McCormack
@cmccormack
Jul 12 2018 01:16
@ahmedtarek2134 Android sits on Linux, maybe you can get an app to access the terminal and run it locally? If you use NVM you may not even need node
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:16
im not deh one asking deh question
also
Christopher McCormack
@cmccormack
Jul 12 2018 01:16
oops that was for @LunktheSkunk sorry
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:16
the winter there changes
this year we didn't see a lot of rain
but in egypt it hails actually
i remember our school being shut multiple times because of floods from hails when i was still living in egypt
Daryll
@Lafender
Jul 12 2018 01:17
I meant for java or c. If this chat just for js? I don't know how to handle inputs from html forms into js and i dont know how to use it at all within a web browser.
Christopher McCormack
@cmccormack
Jul 12 2018 01:18
@LunktheSkunk you can see if gcc is already installed, no idea.
glitz20
@glitz20
Jul 12 2018 01:18
Anybody knows a good way for authentication for MERN stack? Any free tutorials on it?
Kyle Holm
@thekholm80
Jul 12 2018 01:19
@sabin20 passport.js is pretty straight-forward
and gives you lots of options
Christopher McCormack
@cmccormack
Jul 12 2018 01:19
@sabin20 passport
Yeah it's pretty easy to setup
Kyle Holm
@thekholm80
Jul 12 2018 01:20
their docs are awesome, with lots of sample code
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:20
also there is Auth0 i think thats how it is called
if you dont want any setup
Christopher McCormack
@cmccormack
Jul 12 2018 01:20
@LunktheSkunk you can install clang via terminal > pkg install clang
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:21
guys about mern
glitz20
@glitz20
Jul 12 2018 01:21
Oh that's great @cmccormack @thekholm80 I will have a look
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:22
i have this project in mind hat will have a backend that uses express and graphql
but i want to use react at the front end
Christopher McCormack
@cmccormack
Jul 12 2018 01:22
@sabin20 if you have questions several of us have built apps using MERN or at least MEN for the FCC projects
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:22
any mern boilerplates?
glitz20
@glitz20
Jul 12 2018 01:22
@ahmedtarek2134 for how long does auth0 provide free trial?
Christopher McCormack
@cmccormack
Jul 12 2018 01:22
Hah I was actually working on one
Kyle Holm
@thekholm80
Jul 12 2018 01:22
@ahmedtarek2134 i use express, graphql and react together, it's a great combo
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:23
@thekholm80 how do you manage to make them all work together on the same port
i dont want the backend and the frontend to be separate
glitz20
@glitz20
Jul 12 2018 01:23
@cmccormack that's awesome, I will definetly ask when I get stuck
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:23
but still have all the cool auto reloading stuff
Kyle Holm
@thekholm80
Jul 12 2018 01:23
during development i run my front and back ends on separate ports, but when you build for production it will all be same port
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:23
@sabin20 i've never used it before
Christopher McCormack
@cmccormack
Jul 12 2018 01:23
I think it's probably good to get through building a MERN app yourself first. You don't really need to combine them either as a React App has no dependency on the backend, but you can use your express backend to serve the app
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:24
the problem with it is that whenever you change server code the browser doesn't refresh
Daryll
@Lafender
Jul 12 2018 01:24
@cmccormack okay i'll try some terminal apps. Last time i tried them was a long time ago, and i didnt know how important modules were going to be, so i might not have tried that.
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:24
i don't like that
it's like i want something like create-react-app but it will also refresh fastly whenever the server changes
Christopher McCormack
@cmccormack
Jul 12 2018 01:25
@thekholm80 that's a really good idea; developing locally can be a bear for a MERN app due to relative pathing and such, does it help using different ports?
glitz20
@glitz20
Jul 12 2018 01:26
@cmccormack I saw your voting app. It's pretty awesome
Christopher McCormack
@cmccormack
Jul 12 2018 01:26
@sabin20 thanks :) I spent entirely too much time on that one
glitz20
@glitz20
Jul 12 2018 01:26
Did you use passport for that?
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:26

during development i run my front and back ends on separate ports, but when you build for production it will all be same port

a problem with that also is that the fetches would need to change depending if it is in production or development if i am correct

Kyle Holm
@thekholm80
Jul 12 2018 01:26
@cmccormack yeah - i think it's so much easier to just enable cors for development and run separate ports. i used to proxy and all that, it wasn't worth the effort
glitz20
@glitz20
Jul 12 2018 01:26
How much did it take @cmccormack
Christopher McCormack
@cmccormack
Jul 12 2018 01:27
@sabin20 haha maybe 4-6 months, but I have good excuses as I got married in between
And it was my first time with almost all of those technologies, and I wanted to do it in React, etc...
glitz20
@glitz20
Jul 12 2018 01:28
That's still great
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:28
i saw this mern boilerplate that seemed to work greatly, but it was too outdated
react-router v2 and that
Kyle Holm
@thekholm80
Jul 12 2018 01:28
@cmccormack but also before you do your production build you have to go through and update all the paths. i don't think i've ever remembered them all before the first build
Christopher McCormack
@cmccormack
Jul 12 2018 01:29
@thekholm80 that's the part I like the least, I ended up adding a variable for my publicPath in webpack just because of that
I hate the idea of having to change much for produciton
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:29

@cmccormack but also before you do your production build you have to go through and update all the paths. i don't think i've ever remembered them all before the first build

that's the pain i hate the most

Kyle Holm
@thekholm80
Jul 12 2018 01:29
it's pretty annoying, and i'd still like to find a better solution
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:29
@thekholm80 i agree
guys
Christopher McCormack
@cmccormack
Jul 12 2018 01:29
@thekholm80 I used this
glitz20
@glitz20
Jul 12 2018 01:30
@cmccormack did you use passport for votery app?
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:30
let's collaborate and find a solution to this?
Kyle Holm
@thekholm80
Jul 12 2018 01:30
@cmccormack i'm using CRA now
Christopher McCormack
@cmccormack
Jul 12 2018 01:30
basically
   output: {
      path: path.resolve(__dirname, "public"),
      publicPath: local ? "./" : "/",
      filename: "[name].bundle.js",
    },
how does CRA handle publicPath? Do you have to export or whatever they call it?
@sabin20 yeah passport local for votery, passport twitter for nightlife
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:30
eject you mean?
Christopher McCormack
@cmccormack
Jul 12 2018 01:31
yeah @ahmedtarek2134 thanks
Kyle Holm
@thekholm80
Jul 12 2018 01:31
CRA hides the webpack config unless you eject
Christopher McCormack
@cmccormack
Jul 12 2018 01:31
@thekholm80 that's why I stopped using it :)
Kyle Holm
@thekholm80
Jul 12 2018 01:31
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:31
i actually once managed to get react and express working on the same port with browser refresh on both
but i didn't like how it was still
Kyle Holm
@thekholm80
Jul 12 2018 01:31
fortunately, using graphql means only one endpoint so i only have one URI to update
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:31
i had to run webpack in watch mode
Christopher McCormack
@cmccormack
Jul 12 2018 01:32
@thekholm80 haha
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:32
then browserSync to reload the server and the client bundle
Christopher McCormack
@cmccormack
Jul 12 2018 01:32
@ahmedtarek2134 I think you may have to if you're serving it with express
I know I did
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:33

fortunately, using graphql means only one endpoint so i only have one URI to update

oh that's true cause apollo only takes one link hmm

Christopher McCormack
@cmccormack
Jul 12 2018 01:33
@thekholm80 that will be in my next project, graphql and typescript. too buzzworthy to ignore in the current environment
Kyle Holm
@thekholm80
Jul 12 2018 01:33
i love graphql
i hope i never write another REST api
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:34
@thekholm80 what if you make a function to change the URI based on the environment variable?
@thekholm80 i love graphql too
it is amazing
Kyle Holm
@thekholm80
Jul 12 2018 01:34
@ahmedtarek2134 you can totally do that, env variables are pretty simple
i use a package called dotenv to make it really easy
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:35
@thekholm80 exactly what i am thinking right now
i use it all the time
for the database keys too
Christopher McCormack
@cmccormack
Jul 12 2018 01:37
@thekholm80 now all you need is Parcel
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:38

Parcel our lord and savior

Christopher McCormack
@cmccormack
Jul 12 2018 01:40
Parcel is pretty great, although the opaque errors it gives at times in watch mode are extremely frustrating
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:40
i agree
Christopher McCormack
@cmccormack
Jul 12 2018 01:41
But not much different than an error in a webpack config, I hope we get to a place soon where we can easily figure out an error in all tools fairly easily
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:42
i hope we get to a place soon where we can build mern apps easily
Christopher McCormack
@cmccormack
Jul 12 2018 01:43
There has to be some good boilerplates out there, it's not all that bad to setup once you understand what you need
Does MERN assume auth as well?
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:45
there is one called isomorphic react or something
but the boilerplate is too bloated in my opinion
it's hard to understand what's going on
Christopher McCormack
@cmccormack
Jul 12 2018 01:46
That's the problem yeah
not only do you have to provide all the boilerplate but you also have to clean up your own git config, help build a proper package.json, accomodate for tons of different configs, and at that point someone new that wants something simple won't be interested
Maybe we should be OK with instructions like:
  1. Clone git
  2. Cleanup our mess and make it your own
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:48
i couldn't agree more with what youre saying
and when they have like different boilerplates for different things
one is bare minimum and you have to add everything
then the other bloated everywhere and you have to delete a ton
Christopher McCormack
@cmccormack
Jul 12 2018 01:50
Yeah it's why I don't use CRA - It adds stuff i'm not using, and hides configs
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:51
i like CRA because i can ignore the added stuff it doesn't get in your way
Christopher McCormack
@cmccormack
Jul 12 2018 01:51
I wonder if it's just better to do this all from scratch so we learn, in the end we'll be more informed and better able to react to changes
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:51
like jest testing i might not use then i would just delete the files and that's all
Christopher McCormack
@cmccormack
Jul 12 2018 01:52
They added jest testing?
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:52
but when it breaks something like in other boilerplates then i dont like that
@cmccormack a while ago
Christopher McCormack
@cmccormack
Jul 12 2018 01:54
Maybe a nice tool that gave you options with descriptions you can pass as a requirements file and built just what you need is what we need
take into account conflicts
sounds hard to make though :)
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:57
not really express generator did it
Christopher McCormack
@cmccormack
Jul 12 2018 01:57
what does it do? Not used it
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 01:58
so basically the generator has options
you want pug as the view engine?
just add --view=pug
or sass
--css=sass
and it will set it up for you in the boilerplate automatically
Christopher McCormack
@cmccormack
Jul 12 2018 01:59
hmm I always used webpack, didnt know you could run sass through express
does it just import node-sass and run any scss/sass files that are requested through it?
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:01
no preprocessors are supported like view engines in express
like stylus to add it you just have to write:
Kyle Holm
@thekholm80
Jul 12 2018 02:01
@cmccormack :point_up: July 11, 2018 7:37 PM dang that's got to be at least $5 today
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:01
app.use(stylus.middleware('public')); // or any directory where your stylus files live in
Christopher McCormack
@cmccormack
Jul 12 2018 02:02
@thekholm80 Hah
@thekholm80 they're paying me truckloads to bring it up in here every day
Lorrie Pearson
@Lorrie01
Jul 12 2018 02:03

Help! I am reposting this because I can't seem to get it right. I have tried researching, watching videos on for loops and practicing using Google Chrome without success.

Maybe I need a coach/mentor on this Basic Data Structure Challenge: Iterate Through All an Array's Items Using For Loops- here is the link: https://bit.ly/2u9BItc

My code:

function filteredArray(arr, elem) {
  let newArr = [];
  // change code below this line
for (let i = 0; i < arr.lenght; i++){
if (arr[i].indexOf(elem)=== 1){
  newArr.push(arr[i]);
}

}

  // change code above this line
  return newArr;
}

// change code here to test different cases:
console.log(filteredArray([[3, 2, 3], [1, 6, 3], [3, 13, 26], [19, 3, 9]], 3));

Your suggestions, advice or link to documentation is more than appreciated.

This struggle is real :-(

Kyle Holm
@thekholm80
Jul 12 2018 02:03
i follow the guy who made it on twitter, it's hard to imagine him doing that lol
Christopher McCormack
@cmccormack
Jul 12 2018 02:03
@thekholm80 who made Parcel? Good man!
@Lorrie01 why ===1?
Kyle Holm
@thekholm80
Jul 12 2018 02:04
@cmccormack jamie
sorry lol
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:05
@thekholm80 this guy is a legend
Christopher McCormack
@cmccormack
Jul 12 2018 02:05
I feel like my rods and cones were briefly destroyed
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:05
i love unstated from him
i don't use redux anymore
Christopher McCormack
@cmccormack
Jul 12 2018 02:06
I never got into redux, then tried out Context API and that's good enough for my small projects
Kyle Holm
@thekholm80
Jul 12 2018 02:06
i will probably use redux again, if i find an appropriate need
i doubt i'll ever build anything on that scope though
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:07
unstated is so simple how it works i love it
Kyle Holm
@thekholm80
Jul 12 2018 02:07
especially front end, because eww
Christopher McCormack
@cmccormack
Jul 12 2018 02:08
@Lorrie01 length is also spelled wrong
@ahmedtarek2134 had Context not come out I was going to check that out next, maybe still will
is it as easy?
Lorrie Pearson
@Lorrie01
Jul 12 2018 02:11
@cmccormack You just gave me good luck because I just passed this challenge after agonizing for 2 days. Thank you!!!
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:11
unstated works with context
Christopher McCormack
@cmccormack
Jul 12 2018 02:11
@Lorrie01 nice!
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:11
its actually easier than context
Kyle Holm
@thekholm80
Jul 12 2018 02:11
@Lorrie01 congrats! :tada:
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:11
you basically write the good old react classes but with no render function or lifecycle methods its just for the state
then you can access that state with the changing methods in any component
even to change the state with unstated you use a setState function just like react
you'll pick it up in 5mins no joke
Lorrie Pearson
@Lorrie01
Jul 12 2018 02:13
Thanks @cmccormack and @thekholm80
Christopher McCormack
@cmccormack
Jul 12 2018 02:13
@ahmedtarek2134 one more thing to add to the list!
one day I'll have to get job doing this so It's not a complete waste of time...
Kyle Holm
@thekholm80
Jul 12 2018 02:13
lol i've been thinking the same thing
Christopher McCormack
@cmccormack
Jul 12 2018 02:14
haha
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:14
same herr waiting to go to college and finish it so i can finally work
my parents are the type that will not let me do any work before i finish my education
Christopher McCormack
@cmccormack
Jul 12 2018 02:15
@ahmedtarek2134 what major will you pursue?
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:16
going for computer science for sure
Christopher McCormack
@cmccormack
Jul 12 2018 02:16
@ahmedtarek2134 :thumbsup:
It really is good to have that base structure to build off of
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:17
im thinking of studying in sweden
Christopher McCormack
@cmccormack
Jul 12 2018 02:18
Why Sweden? Sounds great, just curious
Nelson J
@nelsonaj
Jul 12 2018 02:18
am I for this? Ive been trying to learn programming for a while now, I notice I don't get motivated everyday like I do sometimes. Now, I am looking into going back to school for video editing, motion graphics or animation but I fear I will say the same thing after I hit a really hard challenge. WTF, how do you stay motivated everyday?
Kyle Holm
@thekholm80
Jul 12 2018 02:19
@nelj3196 motivation is tough
Christopher McCormack
@cmccormack
Jul 12 2018 02:19
yeah you have to have something that drives you
Kyle Holm
@thekholm80
Jul 12 2018 02:19
setting goals (realistic goals) helps
Christopher McCormack
@cmccormack
Jul 12 2018 02:19
if it isn't coursework find something you actually want to make and try to make it
Kyle Holm
@thekholm80
Jul 12 2018 02:20
set short term goals & long term goals, and check in often to make sure you're on track
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:20
i like swedish people and stockholm is a beautiful city, also spotify has a place there so who knows maybe ill work there
Kyle Holm
@thekholm80
Jul 12 2018 02:20
i enjoy video editing, but it doesn't fulfill that puzzle-solving itch like programming
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 02:20
also uk is expensive and colleges in the middle east are not great for computer science
for me motivation is picking up something new then you would have the motivation to build something with it but don't sleep on it after you learn because that will demotivate you
Nelson J
@nelsonaj
Jul 12 2018 02:22
Thank you guys, I've been following the teamtreehouse front end, freecodecamp but I feel no motivation anymore, it comes and go. I'm now trying to do 2 hours a day after work, I work 9 hours a day.
Kyle Holm
@thekholm80
Jul 12 2018 02:22
@nelj3196 maybe cut back to an hour? they say one hour minimum per day for learning
got to have balance
Nelson J
@nelsonaj
Jul 12 2018 02:23
You see that's what I do, I learn something then move on to something else but I don't practice as I should.
@thekholm80 I'm thinking on that because I feel I don't have time either.
Christopher McCormack
@cmccormack
Jul 12 2018 02:23
@nelj3196 It may also help to jump into a project, then go back to training when you went to shore up knowledge. learning by videos and exercises only takes you so far, you have to immerse
Kyle Holm
@thekholm80
Jul 12 2018 02:24
hanging out here used to really help my motivation, back in the "good ol' days"
Christopher McCormack
@cmccormack
Jul 12 2018 02:24
Hey @thekholm80 get to work
Kyle Holm
@thekholm80
Jul 12 2018 02:24
we had that friendly competitive thing going
@cmccormack lol
Christopher McCormack
@cmccormack
Jul 12 2018 02:25
haha
Yeah that is fun, wish there were more of it
Nelson J
@nelsonaj
Jul 12 2018 02:25
@cmccormack Good idea. I just move forward and think of when I'm going to finish a course. Bad thinking, I know.
LOL
Kyle Holm
@thekholm80
Jul 12 2018 02:25
used to be a bunch of us that would work katas together every day, it was fun
Christopher McCormack
@cmccormack
Jul 12 2018 02:26
yeah @Chrono79 would drop one in every morning and I was like /sigh better do this while I should be working
Nelson J
@nelsonaj
Jul 12 2018 02:26
Let me know of any online hangout. Wish I had time to know to the nearest ones in the bay area, but they are always when I'm working. smh
Kyle Holm
@thekholm80
Jul 12 2018 02:26
lol
Christopher McCormack
@cmccormack
Jul 12 2018 02:26
@nelj3196 you used meetup.org
May not help with your schedules but in a large area like that I'm sure there are at least a few groups
Kyle Holm
@thekholm80
Jul 12 2018 02:28
we've got lunch meetups and after work meetups here. weekend, too
it's pretty neat
Christopher McCormack
@cmccormack
Jul 12 2018 02:28
What area you in @thekholm80 ?
Nelson J
@nelsonaj
Jul 12 2018 02:28
@cmccormack Yea it's the schedule
Kyle Holm
@thekholm80
Jul 12 2018 02:28
@cmccormack utah
Christopher McCormack
@cmccormack
Jul 12 2018 02:28
Oh nice what part?
I was up there last year, so much more beautiful than I expected
Nelson J
@nelsonaj
Jul 12 2018 02:29
Wish they had night meetups in my area
Kyle Holm
@thekholm80
Jul 12 2018 02:29
about 30 miles south of SLC, kind of near the "Silicon Slopes"
Christopher McCormack
@cmccormack
Jul 12 2018 02:29
Ah I was up north I think, near Midway and Heber
Silicon Slopes is a weird name, but sounds cool
Kyle Holm
@thekholm80
Jul 12 2018 02:30
okay, i'm right down the canyon from there
Nelson J
@nelsonaj
Jul 12 2018 02:30
going to code bye.
Christopher McCormack
@cmccormack
Jul 12 2018 02:30
@nelj3196 enjoy!
Nelson J
@nelsonaj
Jul 12 2018 02:30
@cmccormack thanks
Kyle Holm
@thekholm80
Jul 12 2018 02:30
that's what they're calling the area all the tech companies are - trying to make a new silicon valley
Christopher McCormack
@cmccormack
Jul 12 2018 02:30
@thekholm80 ah so maybe I had the wrong direction, it was a short trip but it was great, I wouldn't mind spending a couple years there just to go biking
Kyle Holm
@thekholm80
Jul 12 2018 02:31
there's a lot of outdoorsy stuff to do here, for sure
Christopher McCormack
@cmccormack
Jul 12 2018 02:32
Lunch time meetups is awesome, I can't even find a group here in Flagstaff, and there's only one group in Phoenix I attend meetings with every once in a while
How often do they do them?
Kyle Holm
@thekholm80
Jul 12 2018 02:33
i gotta look, i don't attend anymore
bleh, i thought meetup had a combined view where you could see upcoming events from all your groups?
Christopher McCormack
@cmccormack
Jul 12 2018 02:35
It shows it for me as soon as I login
Kyle Holm
@thekholm80
Jul 12 2018 02:36
oh duh
Christopher McCormack
@cmccormack
Jul 12 2018 02:36
haha
Kyle Holm
@thekholm80
Jul 12 2018 02:37
so the lunchjs group meets once a month, on tuesdays
Christopher McCormack
@cmccormack
Jul 12 2018 02:37
Oh not every day? disappointing
Kyle Holm
@thekholm80
Jul 12 2018 02:37
the ML group has lunch talks about once a week
Christopher McCormack
@cmccormack
Jul 12 2018 02:37
ML?
Kyle Holm
@thekholm80
Jul 12 2018 02:37
machine learning
Christopher McCormack
@cmccormack
Jul 12 2018 02:38
Oh that has got to be riveting
Kyle Holm
@thekholm80
Jul 12 2018 02:38
it's in SLC, i'm too lazy to ride the train up there and screw driving there lol
Christopher McCormack
@cmccormack
Jul 12 2018 02:39
not for lunch at least haha
Kyle Holm
@thekholm80
Jul 12 2018 02:39
looks like the python group has a lunch meetup once every other month or so
anyway, it's cool to live where there are a good number of tech companies. they host a lot of these and it's a good way to network
back when i thought i wanted to work as a dev i went to tons of meetups, it was a lot of fun
Christopher McCormack
@cmccormack
Jul 12 2018 02:41
So you don't want to be one now?
Kyle Holm
@thekholm80
Jul 12 2018 02:41
kind of sucked being the "old guy" there
Claudio Restifo
@Marmiz
Jul 12 2018 02:41

machine learning

I thought it was meta language

your friends at lisp or Ocaml will be sad
Kyle Holm
@thekholm80
Jul 12 2018 02:42

So you don't want to be one now?

maybe, if i could find someone that would hire me as back end. i'm not going to do css 40 hours a week

Christopher McCormack
@cmccormack
Jul 12 2018 02:42
@thekholm80 nothing wrong with being the old guy :) I didn't go to University until my late 20s and thought I was the old guy but it was still great
I imagine there are tons of companies hiring for that
Kyle Holm
@thekholm80
Jul 12 2018 02:43
i still have a lot to learn before i'd even try applying
i'm still a noob
Christopher McCormack
@cmccormack
Jul 12 2018 02:43
At my workplace they have that all pretty segregated
I do get the feeling that most of this even for veterans is still a learning process. I've wanted to make the jump into a developer position for so many years but share your same worries
Kyle Holm
@thekholm80
Jul 12 2018 02:45
i keep hearing about impostor syndrome, it seems to fit a lot of how i feel
Claudio Restifo
@Marmiz
Jul 12 2018 02:47

@thekholm80 nah. You are good.
Don't be fooled by how confident people looks / talks.

I see my seniors still going on SO, or googling MDN because they forget stuff.
You don't have to be perfect.

Christopher McCormack
@cmccormack
Jul 12 2018 02:47
Yeah it's tough to jump that hurdle. Especially if what you're doing now isn't too bad
Kyle Holm
@thekholm80
Jul 12 2018 02:48
@Marmiz aww thanks
i'm pretty darn good at what i do now. which is weird because my job is like 90% dealing with people and i suck at social stuff
hard to break out of something comfortable to try for something that might be better
Christopher McCormack
@cmccormack
Jul 12 2018 02:49
Are you a Dancing Bear?
Kyle Holm
@thekholm80
Jul 12 2018 02:49
when there's enough vodka
Christopher McCormack
@cmccormack
Jul 12 2018 02:49
haha
Claudio Restifo
@Marmiz
Jul 12 2018 02:50

@thekholm80 the only real difference I see on myself from when I was learning to now that I'm gatting paid for it, is that before iif I had a goal, I probably only knew one way to achieve it.

It's like a mountain. Your goal is the top.
If you are a total beginner you only know one way to take you up there.
With years and practice you start seeing that there are more routes that leads you there.

But ultimately the goal is the same ^^

#metaphors

Kyle Holm
@thekholm80
Jul 12 2018 02:51
kind of sounds like a taoist parable
Manish Giri
@Manish-Giri
Jul 12 2018 02:51
With years and practice you start seeing that there are more routes that leads you there.
this is why I always wish for a female boss
Christopher McCormack
@cmccormack
Jul 12 2018 02:51
My goal is a cushy 8-4 job that I could actually leave at the end
Manish Giri
@Manish-Giri
Jul 12 2018 02:51
:fire:
Claudio Restifo
@Marmiz
Jul 12 2018 02:52

all in all I think if you are willing, you can go for it.
Just be sure to not use it as a way to rationalize yourself to not do it.

(like a "i'm gonna start my diet...tomorrow)

@Manish-Giri :wave:
Kyle Holm
@thekholm80
Jul 12 2018 02:53
i'm just waiting for @Manish-Giri to become CEO of Microsoft, then he can hire me to empty the trash or something
Christopher McCormack
@cmccormack
Jul 12 2018 02:53
@thekholm80 no trash all recycle
Manish Giri
@Manish-Giri
Jul 12 2018 02:53
@Marmiz :wave:
Christopher McCormack
@cmccormack
Jul 12 2018 02:53
even the banana peels
Kyle Holm
@thekholm80
Jul 12 2018 02:53
@cmccormack oh right, that was like windows 95 that they renamed it?
Claudio Restifo
@Marmiz
Jul 12 2018 02:53

kind of sounds like a taoist parable

@thekholm80 living in a buddhist country certainly doesn't help on that regard

Christopher McCormack
@cmccormack
Jul 12 2018 02:53
@thekholm80 haha
Manish Giri
@Manish-Giri
Jul 12 2018 02:53
when I become CEO of MS, I'll just shut down the whole thing and move to Apple
Kyle Holm
@thekholm80
Jul 12 2018 02:54
@Marmiz i think that would be cool
Claudio Restifo
@Marmiz
Jul 12 2018 02:54

@Manish-Giri noob.

I'd try to rule the world like a good 'ol bond villain

like forcing every machine to use IE 7
insert evil laughter
Manish Giri
@Manish-Giri
Jul 12 2018 02:54
:smiling_imp:
Kyle Holm
@thekholm80
Jul 12 2018 02:54
make everyone go back to XP and issue .net updates every day
Christopher McCormack
@cmccormack
Jul 12 2018 02:56
If they would just port all games to Linux I would never use Windows again
Claudio Restifo
@Marmiz
Jul 12 2018 02:57
cries gaming on a mac
Kyle Holm
@thekholm80
Jul 12 2018 02:57
i'm almost with you. i haven't found a good replacement for windows media center
guess i could get a tivo
Manish Giri
@Manish-Giri
Jul 12 2018 02:57
VLC
Christopher McCormack
@cmccormack
Jul 12 2018 02:57
Although now that I have a Switch I don't really want to game on anything else
@thekholm80 tried Plex?
I use Plex through Roku, not bad
Kyle Holm
@thekholm80
Jul 12 2018 02:58
i use it as a dvr, does plex do that? i've only used plex to stream from my pc to other devices (like roku)
Claudio Restifo
@Marmiz
Jul 12 2018 02:58

@cmccormack is it good?
Thinking about it myself.

Everytime I want to game the iPad is taken...
and sometimes I don't feel like going back on a PC (even just for gaming)

Manish Giri
@Manish-Giri
Jul 12 2018 02:58
@Marmiz mac app store apparently has some good games now
Christopher McCormack
@cmccormack
Jul 12 2018 02:58
@thekholm80 dvr from cable/satellite? I have no clue, cut the cord long ago
Kyle Holm
@thekholm80
Jul 12 2018 02:58
no, OTA
Christopher McCormack
@cmccormack
Jul 12 2018 02:58
hmm
Amit Patel
@AmitP88
Jul 12 2018 02:59
hey guys, this might be a dumb question, but do you think it would be difficult to land a VR job if I were to learn React 360 and build a VR app?
Christopher McCormack
@cmccormack
Jul 12 2018 02:59
IIRC there is something for that
Amit Patel
@AmitP88
Jul 12 2018 02:59
I've read that VR devs are expected to know C++ or C#
Christopher McCormack
@cmccormack
Jul 12 2018 02:59
@AmitP88 not if you dedicated yourself to it
Facebook owns a VR company so knowing React and building your own apps couldn't hurt :)
Kyle Holm
@thekholm80
Jul 12 2018 02:59
i think a lot of that would depend on how many companies are looking for React 360 devs
Christopher McCormack
@cmccormack
Jul 12 2018 03:00
I never even heard of it
Amit Patel
@AmitP88
Jul 12 2018 03:00
@cmccormack I see. After finishing FCC, I really want to get into VR development, but I also want to stay with JS and React. React 360 is a revamped version of React VR
@thekholm80 that's true. So far I've read that the VR scene is very young
Christopher McCormack
@cmccormack
Jul 12 2018 03:01
Is it like React Native applied to VR?
Kyle Holm
@thekholm80
Jul 12 2018 03:01
if i wanted to do vr i think i'd learn c++, then you can use a real game engine
or c#, i think unity uses that
Manish Giri
@Manish-Giri
Jul 12 2018 03:01
I've forgotten most of react, and all of angular
Amit Patel
@AmitP88
Jul 12 2018 03:01
@cmccormack maybe. I'm not sure since I haven't learned React Native yet, but it might be
Christopher McCormack
@cmccormack
Jul 12 2018 03:01
@Manish-Giri what are you working with now?
@thekholm80 I think both would be good
Amit Patel
@AmitP88
Jul 12 2018 03:02
@thekholm80 that's what I read too. I still need to work on my JavaScript before I even touch a different language lol
Christopher McCormack
@cmccormack
Jul 12 2018 03:02
and learning C# makes it easier to transition to other OOP languages like Java if necessary
Kyle Holm
@thekholm80
Jul 12 2018 03:02
i don't think i could make myself learn c#
Manish Giri
@Manish-Giri
Jul 12 2018 03:02
@cmccormack I'm trying to finish my thesis and graduate, it's about a NoSQL db
Amit Patel
@AmitP88
Jul 12 2018 03:02
I've heard that too. But isn't C# hard?
Kyle Holm
@thekholm80
Jul 12 2018 03:02
but c++ would be fun
Christopher McCormack
@cmccormack
Jul 12 2018 03:03
@Manish-Giri oh yeah that leaves very little time for outside projects I bet. Good luck with it!
Amit Patel
@AmitP88
Jul 12 2018 03:03
also, is there a huge difference between C++ and C#? I don't know much about those languages
Kyle Holm
@thekholm80
Jul 12 2018 03:03
$10 if @cmccormack can guess which db @Manish-Giri is working with
Manish Giri
@Manish-Giri
Jul 12 2018 03:03
:gun:
Christopher McCormack
@cmccormack
Jul 12 2018 03:03
Parcel! no wait, MongoDB?
Manish Giri
@Manish-Giri
Jul 12 2018 03:03
hint - it's a royal pain in the a**
Kyle Holm
@thekholm80
Jul 12 2018 03:04
haha if it were mongodb he'd have graduated years ago
Claudio Restifo
@Marmiz
Jul 12 2018 03:04

@AmitP88 yeah.

C++ is like C but more modern.

C# is like Java.

Amit Patel
@AmitP88
Jul 12 2018 03:04
@Marmiz lol I don't know what that means. I've only learned JavaScript so far as languages go :P
Christopher McCormack
@cmccormack
Jul 12 2018 03:04
Couchbase?
Kyle Holm
@thekholm80
Jul 12 2018 03:04
one more chance
Christopher McCormack
@cmccormack
Jul 12 2018 03:05
I give up I don't really know many haha
Cosmos
Kyle Holm
@thekholm80
Jul 12 2018 03:05
neo4j, the best ever
Manish Giri
@Manish-Giri
Jul 12 2018 03:05
something that no one uses
:neutral_face:
Kyle Holm
@thekholm80
Jul 12 2018 03:06
well, one master's student
Christopher McCormack
@cmccormack
Jul 12 2018 03:06
I didn't even know there were graph DBs but now I'm really interested
Manish Giri
@Manish-Giri
Jul 12 2018 03:06
lol
Kyle Holm
@thekholm80
Jul 12 2018 03:06
who's also the world's leading expert
Christopher McCormack
@cmccormack
Jul 12 2018 03:07
I have so many questions but I can't ask them right now because they'd probably go over my head
Manish Giri
@Manish-Giri
Jul 12 2018 03:08
same with me
Christopher McCormack
@cmccormack
Jul 12 2018 03:08
haha
Claudio Restifo
@Marmiz
Jul 12 2018 03:08
@AmitP88 well they are different :)
that's all that matters for now
Manish Giri
@Manish-Giri
Jul 12 2018 03:08
and it's so wonderful when all my questions on SO and their github issue page go unanswered
Christopher McCormack
@cmccormack
Jul 12 2018 03:08
I get how a graph based structure can be efficient for some queries but possibly very inefficient for others
Time to start reaching out to them personally
Kyle Holm
@thekholm80
Jul 12 2018 03:09
at their houses. at 3am
Christopher McCormack
@cmccormack
Jul 12 2018 03:10
With a rock in one hand an flowers in the other
They might like rocks you don't know them
Manish Giri
@Manish-Giri
Jul 12 2018 03:10
good reason to go to CA
San Mateo
Kyle Holm
@thekholm80
Jul 12 2018 03:10
"We can do this the easy way, or the weird way. Don't make me show you what the flowers are for."
Amit Patel
@AmitP88
Jul 12 2018 03:10
@Marmiz lol ok. I do want to pickup one of those eventually, but for now I just gotta finish FCC and get that first job lol
Christopher McCormack
@cmccormack
Jul 12 2018 03:11
@Manish-Giri lot of other reasons to go there as well, might as well drop some resumes around town :)
Manish Giri
@Manish-Giri
Jul 12 2018 03:12
of course
:stars:
Claudio Restifo
@Marmiz
Jul 12 2018 03:13

@AmitP88 it all depends on what you actually wants to build/learn.

you can even start for example with some typed superset for JS so you don't have to learn a new syntax but still know about typed language

Manish Giri
@Manish-Giri
Jul 12 2018 03:13
TS
Kyle Holm
@thekholm80
Jul 12 2018 03:14
i wonder if i'd hate going back to a typed language
Christopher McCormack
@cmccormack
Jul 12 2018 03:14
@thekholm80 I want to know what the flowers are for now...
Claudio Restifo
@Marmiz
Jul 12 2018 03:14
I love going back to a typed language
Manish Giri
@Manish-Giri
Jul 12 2018 03:14
I couldn't imagine life w/o a typed lang
Kyle Holm
@thekholm80
Jul 12 2018 03:14
@cmccormack it's about 8 hours to Flagstaff, depending on traffic
Christopher McCormack
@cmccormack
Jul 12 2018 03:15
@thekholm80 I was listening to something recently where they talked about how simple it was to move to some new framework or something because they had TS, so now I'm leaning toward trying it
Kyle Holm
@thekholm80
Jul 12 2018 03:15
my only real experience with typed language was VB/VBA. not the best example
Claudio Restifo
@Marmiz
Jul 12 2018 03:15
yesterday I wasted 2 hours of my time cleaning a stupid queries data that had so many missing - mixed typed in there.
So frustating when you make a stupid dropdown and still don't work! :angry:
Christopher McCormack
@cmccormack
Jul 12 2018 03:15
@thekholm80 that... isn't actually too far
Claudio Restifo
@Marmiz
Jul 12 2018 03:16
TS is :fire:
Christopher McCormack
@cmccormack
Jul 12 2018 03:17
is fire?
Manish Giri
@Manish-Giri
Jul 12 2018 03:17
lit
Kyle Holm
@thekholm80
Jul 12 2018 03:17
:100:
Claudio Restifo
@Marmiz
Jul 12 2018 03:17
dab
Christopher McCormack
@cmccormack
Jul 12 2018 03:17
:D
Manish Giri
@Manish-Giri
Jul 12 2018 03:17
altho sometimes the syntax can get somewhat cryptic
Christopher McCormack
@cmccormack
Jul 12 2018 03:17
Worse than Java?
Manish Giri
@Manish-Giri
Jul 12 2018 03:17
haha
no java is better in that way
easy to understand
Christopher McCormack
@cmccormack
Jul 12 2018 03:18
If you say so
Kyle Holm
@thekholm80
Jul 12 2018 03:18
all i'm saying is, what if you have a variable holding an integer, and all the sudden you need to store an array there?
Amit Patel
@AmitP88
Jul 12 2018 03:19
@Marmiz you mean like TypeScript? I was thinking of learning that too for Angular
Kyle Holm
@thekholm80
Jul 12 2018 03:19
lives could be lost - who has time to create a whole new variable?
Christopher McCormack
@cmccormack
Jul 12 2018 03:19
I guess if I messed with it more it wouldn't have been that bad, I just remember some weird stuff when declaring types that were a class but you'd use the parent or something, was strange
@thekholm80 haha
Claudio Restifo
@Marmiz
Jul 12 2018 03:19
@AmitP88 flow is a super valid alternative that has lots of pros than TS :)
again, it's up to you!
Kyle Holm
@thekholm80
Jul 12 2018 03:20
@AmitP88 learn python. everyone should learn python
it's super fun and the ladies will love it
Manish Giri
@Manish-Giri
Jul 12 2018 03:20
because in TS, your function can accept an interface - which is just an object, and that object can have properties which are themselves functions or other objects, so when you up the whole thing - param list + types followed by function return type.. by the time you get to the function body, you're just pulling your hairs out
Christopher McCormack
@cmccormack
Jul 12 2018 03:20
I saw today it passed JavaScript in some metric!
Claudio Restifo
@Marmiz
Jul 12 2018 03:20

lives could be lost - who has time to create a whole new variable?

@thekholm80 amen. I use only one global variable and keep reassigning it through my program

Kyle Holm
@thekholm80
Jul 12 2018 03:21
@Marmiz exactly! if you need more than one variable, that's why the JS gods made objects
Claudio Restifo
@Marmiz
Jul 12 2018 03:21
if you need more than one variable, that's why the JS gods made objects you are doing something wrong
Manish Giri
@Manish-Giri
Jul 12 2018 03:22
foo
forever
Christopher McCormack
@cmccormack
Jul 12 2018 03:22
@thekholm80 your entire app should just be one long chained map
Claudio Restifo
@Marmiz
Jul 12 2018 03:22
`bar`
:fire: :fire:
Kyle Holm
@thekholm80
Jul 12 2018 03:22
lol
Amit Patel
@AmitP88
Jul 12 2018 03:22
@Marmiz lol sometimes I don't even know what to learn. I just wanna build cool stuff haha
Christopher McCormack
@cmccormack
Jul 12 2018 03:23
@AmitP88 maybe do that until you actually figure out what you do want to do?
Kyle Holm
@thekholm80
Jul 12 2018 03:23
@AmitP88 there's the trick. think of something you want to build, then start building it
if you find you need a new tool, learn it
Claudio Restifo
@Marmiz
Jul 12 2018 03:23

maybe do that until you actually figure out what you do want to do?
^
best advice of the day

edited cos you guys type too fast

Kyle Holm
@thekholm80
Jul 12 2018 03:23
then keep building
Christopher McCormack
@cmccormack
Jul 12 2018 03:23
Haha
Manish Giri
@Manish-Giri
Jul 12 2018 03:24
I wanna work at reddit
Kyle Holm
@thekholm80
Jul 12 2018 03:24
eww
Manish Giri
@Manish-Giri
Jul 12 2018 03:24
I wonder where their offices are
Christopher McCormack
@cmccormack
Jul 12 2018 03:25
@Manish-Giri maybe you can revert the latest UI
Kyle Holm
@thekholm80
Jul 12 2018 03:25
they started in salt lake, but i think they've moved to cali
Manish Giri
@Manish-Giri
Jul 12 2018 03:25
aw
Kyle Holm
@thekholm80
Jul 12 2018 03:25
new reddit is :poop:
Christopher McCormack
@cmccormack
Jul 12 2018 03:25
well you were going there anyway right?
it's sooo sloooow
Manish Giri
@Manish-Giri
Jul 12 2018 03:25
idk why everyone seems to not like the new design
Kyle Holm
@thekholm80
Jul 12 2018 03:25
and why the heck did they add chat rooms?
who even uses chat rooms anymore?
Manish Giri
@Manish-Giri
Jul 12 2018 03:25
um
Christopher McCormack
@cmccormack
Jul 12 2018 03:25
haha
Manish Giri
@Manish-Giri
Jul 12 2018 03:25
...
Christopher McCormack
@cmccormack
Jul 12 2018 03:26
Apparently not Qunicy
Manish Giri
@Manish-Giri
Jul 12 2018 03:27
he visits the discord room sometimes
Kyle Holm
@thekholm80
Jul 12 2018 03:27
why?
Manish Giri
@Manish-Giri
Jul 12 2018 03:28
to post updates on the upcoming parties
Kyle Holm
@thekholm80
Jul 12 2018 03:28
hmm
Christopher McCormack
@cmccormack
Jul 12 2018 03:28
there are parties?
Manish Giri
@Manish-Giri
Jul 12 2018 03:28
yup
Kyle Holm
@thekholm80
Jul 12 2018 03:28
i guess he only invites the cool kids
Manish Giri
@Manish-Giri
Jul 12 2018 03:28
NY, hong kong and dublin
lol
Kyle Holm
@thekholm80
Jul 12 2018 03:29
i think i saw that on twitter, about the same time he announced the top contributor list thingy
Manish Giri
@Manish-Giri
Jul 12 2018 03:29
yup
Claudio Restifo
@Marmiz
Jul 12 2018 03:29

I was saltier that I'd like to admit when I saw the 2018 invitee list.
Well thanks for ignoring all the stuff I did in 2017.

It's cool i guess. New year new me

Manish Giri
@Manish-Giri
Jul 12 2018 03:30
aw
Kyle Holm
@thekholm80
Jul 12 2018 03:30
it's really a beauty contest
Christopher McCormack
@cmccormack
Jul 12 2018 03:30
well I'm out then
Kyle Holm
@thekholm80
Jul 12 2018 03:30
that's why only @Manish-Giri made the list
Manish Giri
@Manish-Giri
Jul 12 2018 03:30
:running:
Christopher McCormack
@cmccormack
Jul 12 2018 03:30
I'll have to start catfishing
that's a thing right?
Kyle Holm
@thekholm80
Jul 12 2018 03:31
lol
Claudio Restifo
@Marmiz
Jul 12 2018 03:31
yeah, I use @Manish-Giri github profile image to lurk people into giving me their Steam account
Christopher McCormack
@cmccormack
Jul 12 2018 03:31
haha
Claudio Restifo
@Marmiz
Jul 12 2018 03:31
<3
Manish Giri
@Manish-Giri
Jul 12 2018 03:31
pfft
I use Kyle's
Amit Patel
@AmitP88
Jul 12 2018 03:32
@cmccormack @thekholm80 lol I'll give it a shot. I tried that last time (tried to build a mobile game that was kind of complex), but kinda put it aside because it was taking too long. This time I'll go simpler though and start from there. Thanks for the advice though :)
@Marmiz thanks for the tips too :)
Kyle Holm
@thekholm80
Jul 12 2018 03:32
i use his pic to get free stuff on Hello Kitty Online
pretty much the greatest thing since Hello Kitty Island Adventure
Christopher McCormack
@cmccormack
Jul 12 2018 03:33
@thekholm80 yeah we know you don't have to tell us!
Manish Giri
@Manish-Giri
Jul 12 2018 03:33
you could use the K pop guys' pics for that
Kyle Holm
@thekholm80
Jul 12 2018 03:33
oh man
Manish Giri
@Manish-Giri
Jul 12 2018 03:33
would work out very nice
Christopher McCormack
@cmccormack
Jul 12 2018 03:33
there are K pop guys?
Manish Giri
@Manish-Giri
Jul 12 2018 03:33
oh man
Kyle Holm
@thekholm80
Jul 12 2018 03:33
i know this 20-something lady on twitter that would be so in love
Christopher McCormack
@cmccormack
Jul 12 2018 03:33
I always thought it was girls or holograms
Kyle Holm
@thekholm80
Jul 12 2018 03:34
wait, is it a guy?
Manish Giri
@Manish-Giri
Jul 12 2018 03:34
its all boys
90% of them are boys
Kyle Holm
@thekholm80
Jul 12 2018 03:35
hmm ... kpop is weird
but then, canada has justin beiber so things are kind of weird all over
Claudio Restifo
@Marmiz
Jul 12 2018 03:36

@AmitP88 we are slacking off here, but that's the general attitude.

Build stuff as you know how to.
Once you hit a roadblock you'll learn and advance...
But the roadblock don't have to be the whole project

Christopher McCormack
@cmccormack
Jul 12 2018 03:36
The older I get the more sheltered I get, I have no idea what kpop or justin beiber music sounds like, and I'm OK with that, I'll continue listening to my 90s alternative blissfully
Manish Giri
@Manish-Giri
Jul 12 2018 03:37
@Marmiz did you hear about the thai boys who got trapped
Kyle Holm
@thekholm80
Jul 12 2018 03:37
@cmccormack when you have kids, you'll get exposed to a whole new generation of weird stuff
Claudio Restifo
@Marmiz
Jul 12 2018 03:37
@Manish-Giri yeh. They're out thankfully :)
Manish Giri
@Manish-Giri
Jul 12 2018 03:37
Are the caves near to your place
Claudio Restifo
@Marmiz
Jul 12 2018 03:37
@Manish-Giri no, up in the north. I'm in the south, on a bliss tropical island :palm_tree: :sun_with_face:
Manish Giri
@Manish-Giri
Jul 12 2018 03:38
oh man
Christopher McCormack
@cmccormack
Jul 12 2018 03:38
@AmitP88 but also take the time to drop back and focus on fundamentals, make sure you're studying up on the important datastructures and algorithms and learn discrete mathematics
Manish Giri
@Manish-Giri
Jul 12 2018 03:38
I know about Ko Samui
its heaven
Christopher McCormack
@cmccormack
Jul 12 2018 03:38
@thekholm80 we'll be DINKs forever I hope
Claudio Restifo
@Marmiz
Jul 12 2018 03:38

its heaven

I learned you can get tired of heaven too :smile:

Kyle Holm
@thekholm80
Jul 12 2018 03:38
@cmccormack you're living the dream
@cmccormack soon
Christopher McCormack
@cmccormack
Jul 12 2018 03:39
@thekholm80 I occassinally wonder what I'm missing then remember that my stuff isn't all broken and I don't have vomit on my shirt and smile
Replace that with my bitchin Ford Edge and you aren't far off!
Kyle Holm
@thekholm80
Jul 12 2018 03:39
lol
Manish Giri
@Manish-Giri
Jul 12 2018 03:40
x
Christopher McCormack
@cmccormack
Jul 12 2018 03:40
I'll take good sound proofed car with great bluetooth over a sports car anyday
gotta hear my podcasts on the highway
Kyle Holm
@thekholm80
Jul 12 2018 03:41
i'll take a motorcycle over a sports car any day
Christopher McCormack
@cmccormack
Jul 12 2018 03:41
Plus I have had about 30 speeding tickets in the last 10 years so don't really need my license taken
Manish Giri
@Manish-Giri
Jul 12 2018 03:41
i'll only take a ferrari pls thx
Kyle Holm
@thekholm80
Jul 12 2018 03:41
oh geez
Christopher McCormack
@cmccormack
Jul 12 2018 03:41
@thekholm80 I bet a motorcycle up there is bliss
Claudio Restifo
@Marmiz
Jul 12 2018 03:41
I like trains
Amit Patel
@AmitP88
Jul 12 2018 03:42

@Marmiz for sure. I figured for me it would be better to finish FCC first so that way I get used to finishing projects first before diving into a bigger one, but I get your point. It's about overcoming obstacles.

@cmccormack I'm definitely focusing more on data structures and algorithms atm, as well as learning React fundamentals. I'm sort of completing the Algorithms and Front End Libraries certifications at the same time to keep it interesting

Christopher McCormack
@cmccormack
Jul 12 2018 03:42
@Marmiz trains don't fit in garages
not mine anyway
Claudio Restifo
@Marmiz
Jul 12 2018 03:42
@cmccormack it's dumb meme from a dumb web series
Manish Giri
@Manish-Giri
Jul 12 2018 03:42
@AmitP88 teach me trees
Kyle Holm
@thekholm80
Jul 12 2018 03:42
@cmccormack it's awesome
Christopher McCormack
@cmccormack
Jul 12 2018 03:43
@AmitP88 take the CS50 class if you get a chance too, great course
@Marmiz I must have missed that one :)
Amit Patel
@AmitP88
Jul 12 2018 03:44
@cmccormack is that the Harvard online course? I think I've heard of that one. It's free right?
Christopher McCormack
@cmccormack
Jul 12 2018 03:44
Although I agree trains are really the best things ever. When we were in Austria, taking the train to Graz, sitting in the dining car coding and drinking beers while staring at the Alps was probably one of my top memories
Amit Patel
@AmitP88
Jul 12 2018 03:44
@Manish-Giri lol I don't know trees yet. I know objects, arrays, and familiar with prototypal inheritance
Christopher McCormack
@cmccormack
Jul 12 2018 03:44
@AmitP88 it was when I did it a few years ago
Amit Patel
@AmitP88
Jul 12 2018 03:45
@cmccormack I'll look into it. I've heard it helped other people immensely :)
Kyle Holm
@thekholm80
Jul 12 2018 03:45
@AmitP88 tree
Manish Giri
@Manish-Giri
Jul 12 2018 03:45
sitting in the dining car coding and drinking beers while staring at the Alps
wow
all I have is my cramped research lab
Amit Patel
@AmitP88
Jul 12 2018 03:45
@thekholm80 lmao, never seen that before. That is a weird data structure :P
Manish Giri
@Manish-Giri
Jul 12 2018 03:46
and no beer either
Christopher McCormack
@cmccormack
Jul 12 2018 03:47
@AmitP88 first things in Comp sci you learn are datastructures, algorithms, discrete mathematics, how computers actually work - these are all great foundations to build everything else on top of
if you learn that stuff first, you can progress much faster in the technologies built on top
Amit Patel
@AmitP88
Jul 12 2018 03:48
@cmccormack I see, I'll sign up for it then :) I definitely want to build as strong a foundation of knowledge as I can, so I'll dive in asap
Manish Giri
@Manish-Giri
Jul 12 2018 03:48
discrete math was one of my fav subjects in engineering
Christopher McCormack
@cmccormack
Jul 12 2018 03:48
I think so @AmitP88 it was like 4-5 years ago sorry
had a guy with a cool beard and a deep voice
Manish Giri
@Manish-Giri
Jul 12 2018 03:49
david malan
Christopher McCormack
@cmccormack
Jul 12 2018 03:49
@Manish-Giri right! so much logic you never even consider, it should be taught in elementary school really
Manish Giri
@Manish-Giri
Jul 12 2018 03:49
he talks so fast
Kyle Holm
@thekholm80
Jul 12 2018 03:49
i'm not sure what discrete math is, but i really want it to be something you do in a shady back alley or behind people's backs
Claudio Restifo
@Marmiz
Jul 12 2018 03:49

someone good at CSS can please explain to me what is inline-block?

I mean. Is there a difference from:

row
  col
    el.block

to

row
  col
    e.inline-bloc
Manish Giri
@Manish-Giri
Jul 12 2018 03:49
lol
Amit Patel
@AmitP88
Jul 12 2018 03:49
@cmccormack hmmm, well, it's by Harvard University CS50 Introduction to Computer Science and it's free. It must be the one
Manish Giri
@Manish-Giri
Jul 12 2018 03:49
such discreet
much math
Christopher McCormack
@cmccormack
Jul 12 2018 03:50
@thekholm80 haha
Claudio Restifo
@Marmiz
Jul 12 2018 03:50
ppppst, hey kid... wonna do some math?
Kyle Holm
@thekholm80
Jul 12 2018 03:50
:joy:
my mom told me not to differentiate with strangers
Christopher McCormack
@cmccormack
Jul 12 2018 03:51
@AmitP88 probably is, when I did it, it was Python based, which shouldn't discourage you, Python is pretty easy to pickup and well worth learning on its own
Manish Giri
@Manish-Giri
Jul 12 2018 03:51
true, you should always integrate, never differentiate
Amit Patel
@AmitP88
Jul 12 2018 03:51
@cmccormack "Familiarity in a number of languages, including C, Python, SQL, and JavaScript plus CSS and HTML"
under the What You'll Learn section
Christopher McCormack
@cmccormack
Jul 12 2018 03:52
@AmitP88 I think it's grown since I took it
Manish Giri
@Manish-Giri
Jul 12 2018 03:52
I still haven't managed to submit week 1 assignment
move the cat
Scratch is so hard
Amit Patel
@AmitP88
Jul 12 2018 03:52
@cmccormack yeah, it must have gained some popularity. I think ppl on Quora even mention it
Christopher McCormack
@cmccormack
Jul 12 2018 03:53
this must have been like 2013 or earlier, not sure sorry
@Manish-Giri is that the visual language?
drag-n-drop?
Amit Patel
@AmitP88
Jul 12 2018 03:56
it's ok. I'm signing up for the certificate. I wanna put that on my resume lol
Manish Giri
@Manish-Giri
Jul 12 2018 03:56
@cmccormack yup
Christopher McCormack
@cmccormack
Jul 12 2018 03:56
@AmitP88 more exposure the better!
@Manish-Giri I tried that a few times and yeah it was weird
Kyle Holm
@thekholm80
Jul 12 2018 03:57
i did not enjoy Scratch
Amit Patel
@AmitP88
Jul 12 2018 03:57
@cmccormack definitely :)
Christopher McCormack
@cmccormack
Jul 12 2018 03:58
Google has https://developers.google.com/blockly/ which is also hard, not sure why you would want to lay it out like this
if anything you would want something more declaritive
Kyle Holm
@thekholm80
Jul 12 2018 03:58
i mean, i kind of get it
Christopher McCormack
@cmccormack
Jul 12 2018 03:58
Like Python!
Kyle Holm
@thekholm80
Jul 12 2018 03:58
helps think in code blocks
but yuck, all the same
Christopher McCormack
@cmccormack
Jul 12 2018 03:59
yeah but isn't that forcing someone new into a paradigm?
"this is how you code, it's all blocks and scope issues! Enjoy!"
Kyle Holm
@thekholm80
Jul 12 2018 03:59
you just invented javascript
Christopher McCormack
@cmccormack
Jul 12 2018 03:59
haha
I think kids should learn using a 16-bit processor and registers first, THEN move on to JavaScript
No parallelism either, you have to wait for your next instruction until the previous one is done!
Claudio Restifo
@Marmiz
Jul 12 2018 04:02
and deal with EOF complining errors
Christopher McCormack
@cmccormack
Jul 12 2018 04:02
and malloc
Manish Giri
@Manish-Giri
Jul 12 2018 04:03
Segmentation Fault
Christopher McCormack
@cmccormack
Jul 12 2018 04:04
I guess we just traded some abstract issues with others, things don't get easier they just get different
Kyle Holm
@thekholm80
Jul 12 2018 04:05
seg fault: core dump. best error message ever
Christopher McCormack
@cmccormack
Jul 12 2018 04:06
@thekholm80 that's what happens when you try to take what isn't yours!
Claudio Restifo
@Marmiz
Jul 12 2018 04:08
i'll take a SF every day over "cannot read x of undefined"
Christopher McCormack
@cmccormack
Jul 12 2018 04:09
hmm I dunno I always hated the idea of being responsible for my own access to memory, I'm human, I'll mess up. Most modern languages abstract that for you and do a pretty good job
Kyle Holm
@thekholm80
Jul 12 2018 04:12
i have to admit i'm kind of envious of those who write in low level languages, like assembly or whatever. there's this guy who wrote a program called Spin Rite or Spin Write or whatever - and he works in low level languages. the stuff he writes is amazing and tiny
Christopher McCormack
@cmccormack
Jul 12 2018 04:12
Steve Gibson
grc.com
Kyle Holm
@thekholm80
Jul 12 2018 04:12
yeah, that's him
he does an awesome security podcast
Christopher McCormack
@cmccormack
Jul 12 2018 04:12
Yeah he makes me jealous every day
sits at starbucks and codes all day
Kyle Holm
@thekholm80
Jul 12 2018 04:13
i couldn't do that
Christopher McCormack
@cmccormack
Jul 12 2018 04:13
I did some MIPS programming in assembly in college, it was really cool
Kyle Holm
@thekholm80
Jul 12 2018 04:13
i dislike starbucks
Christopher McCormack
@cmccormack
Jul 12 2018 04:13
haha
well wherever you want
Dennys
Waffle House
Kyle Holm
@thekholm80
Jul 12 2018 04:14
oh man i miss waffle house
Christopher McCormack
@cmccormack
Jul 12 2018 04:14
I thought waffle house was a fungus that grew on highways across the US
Kyle Holm
@thekholm80
Jul 12 2018 04:15
mostly in the East? i've only been to Waffle Houses in Tennessee
dunno if they made it west or not
Manish Giri
@Manish-Giri
Jul 12 2018 04:16
there was a shooting here at a nearby Waffle House recently
Christopher McCormack
@cmccormack
Jul 12 2018 04:16
looks like it stops at your doorstep https://locations.wafflehouse.com/
Christopher McCormack
@cmccormack
Jul 12 2018 04:16
@Manish-Giri that doesn't surprise me at all considering it's the only place open after a night of drinking
Manish Giri
@Manish-Giri
Jul 12 2018 04:16
lol
Kyle Holm
@thekholm80
Jul 12 2018 04:16
i don't know how Ohio manages to be more southern than the south
Christopher McCormack
@cmccormack
Jul 12 2018 04:16
haha yup 3am
Kyle Holm
@thekholm80
Jul 12 2018 04:17
i swear there's more rednecks in ohio than tenessee
(and sorry to any lurking Buckeyes)
why does everyone want to shoot in a Waffle House
Christopher McCormack
@cmccormack
Jul 12 2018 04:18
it was weird when I lived in GA for a bit and Waffle house was like an event, I just thought it was the place you go when nothing else was open
@Manish-Giri :point_up: July 11, 2018 9:16 PM
Manish Giri
@Manish-Giri
Jul 12 2018 04:18
lol
Kyle Holm
@thekholm80
Jul 12 2018 04:18
it was pretty normal ... leave the bar around 3am, go to waffle house
Christopher McCormack
@cmccormack
Jul 12 2018 04:19
yup, bright lights either sober you up or set you off I guess
Kyle Holm
@thekholm80
Jul 12 2018 04:19
we had that, Perkins or fast food drive through to choose from
Christopher McCormack
@cmccormack
Jul 12 2018 04:20
Doesn't help that they give away handguns in the happy meals
well on that lackluster note, I'm off, you all have a good night!
Kyle Holm
@thekholm80
Jul 12 2018 04:26
@cmccormack g'night
Ebonne
@edotclaire
Jul 12 2018 05:12
hey! im working on a code in p5. I made an object using different boolean functions. the ball rolls back and forth across the screen but I want it to follow the mouse using a variable called movingTowardsMouse and the speed of the object. This is what I have so far and p5 is unresponsive.Can someone lead me to the correct code?
//if(mouseX > width/2 || mouseX < width/2) {
//movingTowardsMouse;
//}
_
hensn5250
@hensn5250
Jul 12 2018 05:16
@edotclaire hey
do you have the rest of the code online?
Is there anything I can do to make the image appear??
Claudio Restifo
@Marmiz
Jul 12 2018 08:54
yeah, use this url:
https://upload.wikimedia.org/wikipedia/commons/1/14/Nelson_Mandela-2008_%28edit%29.jpg
John
@taloloy18
Jul 12 2018 08:55
Thank you! how did you do it? XD
Claudio Restifo
@Marmiz
Jul 12 2018 08:58
look for the actual url of the pictures, and not the embedded version
May Kittens Devour Your Soul
@diomed
Jul 12 2018 09:51
@taloloy18 he's clearly a wizard :wind_chime:
@ahmedtarek2134 I just simply know that in Sunday you'll cheer for Croatia, too :smiley_cat:
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 09:54
@diomed how did you know 😼
May Kittens Devour Your Soul
@diomed
Jul 12 2018 09:58
I have a salamander. he tells me everything. :yum:
except how to code, obviously
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 10:00
i shall find this slamander
hellhound123
@hellhound123
Jul 12 2018 12:27
Hey guys, I've been trying to follow tutorials for days now, but I can't seem to get custom radio buttons working
What am I doing wrong?
Trying to make buttons with css, not using background images
Tom
@moT01
Jul 12 2018 12:35
@hellhound123 whats the problem?
hellhound is the name of my favorite fishing lure
hellhound123
@hellhound123
Jul 12 2018 12:39
Hi @moT01 I can't figure out how to get the custom button to appear
I've hidden the original radio button
Yet when I try to do any sort of background-color value nothing shows
And that's a cool lure! I've not tried fishing yet
Tom
@moT01
Jul 12 2018 12:42
is .checkmark your custom checkbox Im guessing?
Tom
@moT01
Jul 12 2018 12:47
not sure why - but changing it to div from span makes it appear for me
hellhound123
@hellhound123
Jul 12 2018 12:49
Oh that worked!
Another silly question if I may, how would I get them to show next to the labels?
Tom
@moT01
Jul 12 2018 12:50
"A div is display:block by default, a span is display:inline by default. Width and height cannot be set for display:inline elements."
you already have them position: relative; - that means you can change the top and left properties to move it from where is now
so if you put top: 10px; - it would move 10px down
one way to do it
hellhound123
@hellhound123
Jul 12 2018 12:54
Ahhh that works nicely!
Is it bad practice to use negative values?
Or can you get away with them if needed?
Rafal
@wawraf
Jul 12 2018 13:03
Hi everyone! Is there anyone here who finished Data Structures: Find the Minimum and Maximum Height of a Binary Search Tree ?
I'm sure code is fine, but it does want to pass the last test: The isBalanced method returns true if the tree is a balanced binary search tree.
May Kittens Devour Your Soul
@diomed
Jul 12 2018 13:06
@hellhound123 if it's allowed to be negative, then why wouldn't it be negative
for example - padding is not allowed, so it can't.
hellhound123
@hellhound123
Jul 12 2018 13:08
fair enough @diomed, I just don't want to start myself out with bad habits if they can be avoided!
Aita Kane
@aita-kane
Jul 12 2018 14:23
Hello everybody I'm using bootstrap and I was wondering if it's necessary to give the body and html a width and a height of 100% ?
balakrishna222111
@balakrishna222111
Jul 12 2018 14:29
this is what i tried
Christopher McCormack
@cmccormack
Jul 12 2018 14:30
@aita-kane that will depend on what you're doing, as some classes apply flex or grid and setting width/height on those can cause issues
@balakrishna222111 what did you try? should be a simple replace if you read the instructions for the exercise
balakrishna222111
@balakrishna222111
Jul 12 2018 14:35
@cmccormack i resolved my issue thanks for the giving replyk
Christopher McCormack
@cmccormack
Jul 12 2018 14:35
@balakrishna222111 :thumbsup:
Daniel Simeonov
@dbsimeonov
Jul 12 2018 14:36
Guys can you recommend me a software that can make my tablet(android) as second monitor controlled from my Mac ? I've tried so many and couldn't make any of them work.
Aita Kane
@aita-kane
Jul 12 2018 14:37
@cmccormack well acutally i'm doing a homework and i have to code a website for an NGO. but the body will contain container f rows and stuff .
@cmccormack so how to change the height of grid classes ?
Christopher McCormack
@cmccormack
Jul 12 2018 14:38
@aita-kane which elements specifically? with grid it's good to have the content set the size. Just play with it you'll find something you like
@aita-kane Make a codepen and try to make a very simple example of what you want to do, make it quick to test and easy to share if you have questions
Aita Kane
@aita-kane
Jul 12 2018 14:40
@cmccormack alright so will do that and if I'm stuck I willl come back .Thank you for your advices
Christopher McCormack
@cmccormack
Jul 12 2018 14:40
@aita-kane np
May Kittens Devour Your Soul
@diomed
Jul 12 2018 14:40
can you recomend me a software that will make my grid?
Christopher McCormack
@cmccormack
Jul 12 2018 14:42
@diomed https://cssgrid.cc/ maybe?
Kirk Clemons
@kcclemo
Jul 12 2018 15:41
Can anyone tell me, is it generally recommended to insert this microdata into the head of every page on your site? Or just the home page?:
<script  type="application/ld+json" id="website-json-ld">
{
    "@context":"http://schema.org",
    "@type":"WebSite",
    "name":"Company Name, LLC.",
    "alternateName":"Best Company",
    "url":"https://www.company.com"
}
</script>
<script  type="application/ld+json" id="social-json-ld">
{
    "@context":"http://schema.org",
    "@type":"Organization",
    "name":"Company Name, LLC.",
    "url":"https://www.company.com",
    "sameAs":[
        "https://chieftalk.company.com/",
        "https://www.facebook.com/company",
        "https://www.youtube.com/user/company",
        "https://www.instagram.com/company/",
        "https://twitter.com/company",
        "https://www.linkedin.com/company/company",
        "http://www.houzz.com/pro/company/company-llc",
        "https://plus.google.com/+company"
    ]
}
</script>
Kyle Holm
@thekholm80
Jul 12 2018 16:14
good morning, /help
Prakash Kumar
@ThePrakashKumar
Jul 12 2018 16:17
I am styling an element with #itmeX and in @media I also have to style that element but, I am seeing stick through in console so I am putting !important in @media, it is right thing to do or I should use different method.
Dionisis Terzios
@ElJimador
Jul 12 2018 16:51
Someone here?
Kyle Leonard
@kdleonard93
Jul 12 2018 16:54
Hello folks,
Dionisis Terzios
@ElJimador
Jul 12 2018 16:55
I have a problem in my Product Landing Page.
My navigation bar is very small.
Kyle Leonard
@kdleonard93
Jul 12 2018 16:56
I have an issue that i cant seem to figure out.
I have uplodaed my first repo to Github but i cant seem to ge my scss functioning properly.
https://kdleonard93.github.io/SurveyForm/ is the page
^ is how it should look
its a survey form i created using Zurb's foundation. Im just at a lost of what i might have msised when adding the project to github
Christopher McCormack
@cmccormack
Jul 12 2018 17:04
@kdleonard93 your page cannot find your app.css file in css/app.css, make sure you upload it to the correct location
@kdleonard93 You can see this for yourself in your console as well as the network tab of your developer tools
Kyle Leonard
@kdleonard93
Jul 12 2018 17:05
^^ awesome, thanks for the info. Ill cehck it out now
Christopher McCormack
@cmccormack
Jul 12 2018 17:06
@ElJimador how big do you want it? Why set the width based on the vertical height?
Dionisis Terzios
@ElJimador
Jul 12 2018 17:07
@cmccormack I just want it the normal size.
Like this:
@cmccormack The problem was the vertical height alignment. Thanks.
@cmccormack How do I give a cookie?
Christopher McCormack
@cmccormack
Jul 12 2018 17:10
@ElJimador np
@ElJimador don't think it works anymore
no worries :)
Dionisis Terzios
@ElJimador
Jul 12 2018 17:10
No more cookies?
:(
Christopher McCormack
@cmccormack
Jul 12 2018 17:10
The jar is empty
Kyle Holm
@thekholm80
Jul 12 2018 17:11
:cookie:
May Kittens Devour Your Soul
@diomed
Jul 12 2018 17:20
cookies were enticement, and now enticement is gone
Christopher McCormack
@cmccormack
Jul 12 2018 17:26
@balakrishna222111 read the instructions closely, it states to replace, not add onto
balakrishna222111
@balakrishna222111
Jul 12 2018 17:38
This message was deleted
Christopher McCormack
@cmccormack
Jul 12 2018 17:40
@balakrishna222111 what do you have so far?
balakrishna222111
@balakrishna222111
Jul 12 2018 17:41
i didn't done anything
@cmccormack Dont know what to do also
Christopher McCormack
@cmccormack
Jul 12 2018 17:42

@balakrishna222111

make the header area occupy the top row completely and the footer area occupy the bottom row completely.

Maybe go back to the previous exercise, I believe it stated how to do that. You can try a few things and see if you can make it work, it's fairly intuitive
If you have two columns and you want the first row to be all header and last row to be all footer (header/footer occupying both columns) how do you suspect you might accomplish that?
balakrishna222111
@balakrishna222111
Jul 12 2018 17:45
image.png
@cmccormack can u help
Christopher McCormack
@cmccormack
Jul 12 2018 17:47
@balakrishna222111 don't just guess, go back and review the previous exercises if you don't understand
Henry
@GitHub-Henry
Jul 12 2018 18:07
anyone want some test data?
Kyle Leonard
@kdleonard93
Jul 12 2018 18:07
@cmccormack ok so i checked everything and it seems like theres a multitude of files that werent uploaded to github. Ive tried to send a zip folder of the project to my work computer (windows) from my mac but there seems to be issues with files not extracting. Im going to try and re-uplod the repo as a new one on github and see if the issuse still occurs
Christopher McCormack
@cmccormack
Jul 12 2018 18:08
@kdleonard93 make sure you read github.io's requirements, you may be missing something
Christopher McCormack
@cmccormack
Jul 12 2018 18:13
@kdleonard93 how are you pushing your local repo to github? Are you getting any errors when you try to push it to github?
J. Guidry
@J-Guidry
Jul 12 2018 18:15
When it comes to using a image hosting site for use in the portfolio project, what is a good choice?
Christopher McCormack
@cmccormack
Jul 12 2018 18:17
@J-Guidry you can try imgur, I think it allows hotlinking
Kyle Holm
@thekholm80
Jul 12 2018 18:17
sadly, it does not
Christopher McCormack
@cmccormack
Jul 12 2018 18:17
doh
Kyle Holm
@thekholm80
Jul 12 2018 18:17
at least, not with codepen. it may not be universal
Christopher McCormack
@cmccormack
Jul 12 2018 18:17
maybe crossorigin issue?
Kyle Holm
@thekholm80
Jul 12 2018 18:18
i think it's an imgur issue
err, feature not a bug
Christopher McCormack
@cmccormack
Jul 12 2018 18:18
I think you can get a free tier on AWS or Azure as well and do your own hosting provided it doesn't exceed a certain limit each month
Kyle Holm
@thekholm80
Jul 12 2018 18:19
i've used my google photos, but it was kind of a pain to deal with all the permission issues
i wish i could remember the other recommendations folks have made
J. Guidry
@J-Guidry
Jul 12 2018 18:21
Looking on fcc forums, i've read suggestions of a service called cloudinary and another using github to host an image repo. Another suggestion being imgbb which has a 16mb limit
Christopher McCormack
@cmccormack
Jul 12 2018 18:21
I heard cloudinary is awesome for image hosting, if there's a free tier try it out
Kyle Holm
@thekholm80
Jul 12 2018 18:21
github would be a great idea
dunno why i never thought of it
J. Guidry
@J-Guidry
Jul 12 2018 18:22
Yeah, I used github to show an image on a readme.md file once, was fairly easy. I think I may go with that.
Kyle Holm
@thekholm80
Jul 12 2018 18:23
just gonna try a hotlink from one of my repos to make sure
seems to work just fine
Christopher McCormack
@cmccormack
Jul 12 2018 18:25
what an adorably scary clown
scardorable?
Kyle Holm
@thekholm80
Jul 12 2018 18:25
aww thanks, that was exactly what i was going for
J. Guidry
@J-Guidry
Jul 12 2018 18:25
Great, I'll go with that then. I'm using Chrome extension Fireshot to get screenshots and cropping them in Gimp when needed.
Kyle Holm
@thekholm80
Jul 12 2018 18:25
i :heart: gimp
i drew all my sprites for that game in gimp
Jill Lee
@jill-lee
Jul 12 2018 18:28
Is cyber security champs and cyber specialist the same?
Kyle Holm
@thekholm80
Jul 12 2018 18:30
@jill-lee i'm not familiar with either of those terms
Kyle Leonard
@kdleonard93
Jul 12 2018 18:31
@cmccormack when i pushed it initially i didnt have any issues but after deleting the repo from the github site i tried to push it again from the desktop app but the app still has my original repo listed. I'm going to lunch here soon adn will be able to try adn do everything through the site. Ill keep ypu posted on what errors i get.
Christopher McCormack
@cmccormack
Jul 12 2018 18:32
you may need to update your origin to the new repo from your local git config
Jill Lee
@jill-lee
Jul 12 2018 18:34
Tried google but not really helpful. Thanks anyway @thekholm80
Kyle Holm
@thekholm80
Jul 12 2018 19:35
wow, some concerning stuff going on over at eslint/eslint-scope#39
Aita Kane
@aita-kane
Jul 12 2018 20:04
hello can someone help me please ? I want to know why the div containint the letters px are like that ? How can make them be right under the navbar and how to add space between the elements of my navbar please ? I'm using bootstrap the pen: https://codepen.io/akane96/pen/xJGyXw
Christopher McCormack
@cmccormack
Jul 12 2018 20:17
@aita-kane don't set height on your header element
Kyle Holm
@thekholm80
Jul 12 2018 20:23
@cmccormack do you know anything about abstract classes or abstract methods?
Christopher McCormack
@cmccormack
Jul 12 2018 20:25
not really, is it like an interface?
Kyle Holm
@thekholm80
Jul 12 2018 20:26
it's to do with OOP - classes that can be extended but not instantiated
i'm just trying to figure out why we declare abstract methods without implementing them, it seems a bit odd
Aita Kane
@aita-kane
Jul 12 2018 20:28
@cmccormack why i should not ? I want to know please
Christopher McCormack
@cmccormack
Jul 12 2018 20:28
@aita-kane test it out, when I removed it, it looked better. I think setting the height was pulling the element below up
Aita Kane
@aita-kane
Jul 12 2018 20:29
@cmccormack yes I did thank you and how to put more space between the elements of the nav please ?
Christopher McCormack
@cmccormack
Jul 12 2018 20:38
@thekholm80 sounds like an interface, it forces you to have specific methods so if something tries to call an object that instantiates an interface it should have at least the same methods as any other object that instantiates that interface
but I could be way off :)
Kyle Holm
@thekholm80
Jul 12 2018 20:39

@cmccormack i think you're exactly right. i found something that said:

Abstract Base Classes (ABCs) ensure that derived classes implement particular methods from the base class.

this is why in the ABC we define but don't implement, because it's just there to ensure it gets overwritten

kind of like a placeholder
Christopher McCormack
@cmccormack
Jul 12 2018 20:40
@aita-kane that's up to you how you want to do it - you can use bootstrap columns to separate them, you can add margins or padding to the sides, you can use flexbox and the justify-content: space-around (or however its worded)
Kyle Holm
@thekholm80
Jul 12 2018 20:40
OOP has been pretty tough for me to learn
Christopher McCormack
@cmccormack
Jul 12 2018 20:40
lots of ways
@thekholm80 When I say interface that may be a Java-specific term, I'm not sure, that's the only language I ever got deep into OOP with
They may be synonyms
Kyle Holm
@thekholm80
Jul 12 2018 20:41
it looks like you're probably right
"abstract base classes" seem to be py & c++ terminology
Christopher McCormack
@cmccormack
Jul 12 2018 20:43
Maybe array methods like push, pop, slice, etc.. are what would be in an abstract base class for an array-like object
like a List extending Array or whatever
or implementing, I can't remember the proper terms anymore :)
Kyle Holm
@thekholm80
Jul 12 2018 20:44
that would mean we'd have to define them ourselves when instantiating our List
Christopher McCormack
@cmccormack
Jul 12 2018 20:44
yeah I believe you would have to
Kyle Holm
@thekholm80
Jul 12 2018 20:44
i don't think i'd like that
specifically, trying to write my own push, pop, slice, etc lol
Christopher McCormack
@cmccormack
Jul 12 2018 20:45
You can probably inherit from a non abstract class that implements it, then just call super to that class
Kyle Holm
@thekholm80
Jul 12 2018 20:45
yeah
FP just makes so much more sense to me
i'll get there though
Christopher McCormack
@cmccormack
Jul 12 2018 20:46
I see abstract classes as a sort of typecheck to make sure you don't break things elsewhere
you don't HAVE to use it, but if you do you get more benefits
Kyle Holm
@thekholm80
Jul 12 2018 20:47
makes sense
now i just need to figure out what the metaclass stuff is lol
class Component(metaclass=abc.ABCMeta):
Christopher McCormack
@cmccormack
Jul 12 2018 20:48
is this python?
Kyle Holm
@thekholm80
Jul 12 2018 20:48
yeah
Christopher McCormack
@cmccormack
Jul 12 2018 20:48
never made it that far in my python book :)
Kyle Holm
@thekholm80
Jul 12 2018 20:48
i've been playing with pyglet today (it's amazing, btw) and a tutorial i'm working through is using ABCs and all that
Christopher McCormack
@cmccormack
Jul 12 2018 20:49
@thekholm80 I've been reading this book on and off for years now, it's huge but so much detail
Kyle Holm
@thekholm80
Jul 12 2018 20:49
just trying to understand why they do what they do
Pages: 1648
doubles as a self-defense weapon
Christopher McCormack
@cmccormack
Jul 12 2018 20:49
right? glad I have a digital version haha
Kyle Holm
@thekholm80
Jul 12 2018 20:50
i wonder if it would leave any room in my kindle for other books?
Christopher McCormack
@cmccormack
Jul 12 2018 20:50
Pyglet looks neat, last visualization tool I used was pygame and I think it was being deprecated or something
Kyle Holm
@thekholm80
Jul 12 2018 20:50
pygame is pretty old
i've tried tkinter in the past, i have a vague impression of being unimpressed
so i'm shopping around
Christopher McCormack
@cmccormack
Jul 12 2018 20:57
is tkinter the one you needed to import a layout file or whatever?
or is it the basic windowing UI library
or maybe both :D
Kyle Holm
@thekholm80
Jul 12 2018 20:57
i don't recall having to import a layout file, but it's been years since i touched it
Sanket Chaudhari
@sanket143
Jul 12 2018 21:20

Hi... I 've a question. What would you do to show a same popup sign up box on everypage whenever user tries to do something requires an account.

I am using express and I put the box on the header with the condition if the user is authenticated then the snippet will not get loaded and so the script..

Christopher McCormack
@cmccormack
Jul 12 2018 21:25
@sanket143 You can redirect users that are not authenticated to a login page, might be easier.
@sanket143 what are you using on the frontend?
Sanket Chaudhari
@sanket143
Jul 12 2018 21:26
ejs, js, scss
you're right @cmccormack
reddit use iframe tho
https://www.reddit.com/ the sign up button their site loads https://www.reddit.com/register in new frame
not a new frame.. but something called iframe
Christopher McCormack
@cmccormack
Jul 12 2018 21:29
@sanket143 I don't know what to tell you, if you want to use iFrames go for it
Sanket Chaudhari
@sanket143
Jul 12 2018 21:30
what you would have done in that case
Christopher McCormack
@cmccormack
Jul 12 2018 21:30
in which case?
Kyle Holm
@thekholm80
Jul 12 2018 21:30
doesn't ejs allow conditional rendering? i've never used it but i thought it was similar to handlebars, which i know does
Christopher McCormack
@cmccormack
Jul 12 2018 21:31
I believe they do
Sanket Chaudhari
@sanket143
Jul 12 2018 21:31
@thekholm80 yeah I've used that
but I've to check each time the page ( any ) loads on the site
whether user is auth or not
Christopher McCormack
@cmccormack
Jul 12 2018 21:32
you can have a login modal that's hidden unless the user tries to access something, but with a static page you'd still need to render a new page if they logged in
@sanket143 you should be checking if the user is authenticated everytime they try to access a secure resource
Sanket Chaudhari
@sanket143
Jul 12 2018 21:33
what do you say @thekholm80 about login modal
Kyle Holm
@thekholm80
Jul 12 2018 21:33
i love modals and i use them all the time
Sanket Chaudhari
@sanket143
Jul 12 2018 21:35
well thank you @thekholm80 @cmccormack
alpox
@alpox
Jul 12 2018 21:36
@sanket143 usual for serverside rendering would be to just hide or disable everything that is not accessible when logged out so there should not be the need for such a modal
Unless he wants to move to a page which is restrictef in which case you can just conditionally render a modal
Or just make express redirect the user to the login page which is also common practice
And passportjs can take care of the redirect easily
Christopher McCormack
@cmccormack
Jul 12 2018 21:39
Lots of ways to do it @sanket143 I would recommend seeing if you can get one working the way you like, if you have issues you can always ask in here, someone has probably ran into the same issue at one point
Sanket Chaudhari
@sanket143
Jul 12 2018 21:39
@thekholm80 also mentioned.. I could keep a condition to load the signup modal snippet to loads only when not auth.. and same for the script which will make it pop.
Kyle Holm
@thekholm80
Jul 12 2018 21:39
there are probably a huge number of ways you could do it
i can't make any suggestions because i really don't know anything about your project
except that you're using ejs and express
Christopher McCormack
@cmccormack
Jul 12 2018 21:41
with which there are endless permutations :)
Sanket Chaudhari
@sanket143
Jul 12 2018 21:41
Thanks BTW.. I find this really helpful, I am going with that signup modal thing @alpox @thekholm80 @cmccormack
Kyle Holm
@thekholm80
Jul 12 2018 21:41
@sanket143 :+1:
Christopher McCormack
@cmccormack
Jul 12 2018 21:41
@sanket143 good luck!
Sanket Chaudhari
@sanket143
Jul 12 2018 21:41
Isn't that freecodecamp bot gonna give cookies
Kyle Holm
@thekholm80
Jul 12 2018 21:42
bot's broke
Christopher McCormack
@cmccormack
Jul 12 2018 21:43
@sanket143 the bot sadly passed away
Kyle Holm
@thekholm80
Jul 12 2018 21:43
no cookies
Christopher McCormack
@cmccormack
Jul 12 2018 21:43
Diabetes
the irony...
Sanket Chaudhari
@sanket143
Jul 12 2018 21:44
:cookie:
Christopher McCormack
@cmccormack
Jul 12 2018 21:44
:ghost: :cookie: :ghost:
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 21:54
hello everyone 👋
Kyle Holm
@thekholm80
Jul 12 2018 21:54
@ahmedtarek2134 :wave:
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 21:54
im in a marriage and bored so decided to come here 😂
Kyle Holm
@thekholm80
Jul 12 2018 21:54
do you mean wedding?
or is your wife boring?
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 21:55
oh sorry lol
wedding
Kyle Holm
@thekholm80
Jul 12 2018 21:55
i'm not a fan of weddings
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 21:55
same here
i wanna go home
Kyle Holm
@thekholm80
Jul 12 2018 21:56
i dunno how weddings are in egypt, but here at least there's a chance of meeting cute single girls
Ahmed Tarek
@ahmedtarek2134
Jul 12 2018 22:00
same here but i already know all of them 😂😂
Kyle Holm
@thekholm80
Jul 12 2018 22:00
aww, that's too bad
Skylar
@Sailia
Jul 12 2018 22:03

@Sailia
Is anyone able to tell me why my code is wrong?

Your p element should have the font-size of 10px when the device height is less than or equal to 800px.
Declare a @media query for devices with a height less than or equal to 800px.

<style>
p {
font-size: 20px;
}

/ Add media query below /
@media (min-height: 800px) {
p {
font-size: 10px;
}
}
</style>

Kyle Holm
@thekholm80
Jul 12 2018 22:04

when the device height is less than or equal to 800px.

@media (min-height: 800px) how is this less or equal to 800px?

to me that reads "800px or larger"
Skylar
@Sailia
Jul 12 2018 22:05
Oh drats
that always throws me off
I see min height and assume when the height is at its minimum
do the following
:/
but Thanks
Kyle Holm
@thekholm80
Jul 12 2018 22:06
ah, yeah i can see how you could think that
Skylar
@Sailia
Jul 12 2018 22:06
max height worked
Kyle Holm
@thekholm80
Jul 12 2018 22:06
super