These are chat archives for FreeCodeCamp/Help

26th
Oct 2017
Albert Cardona II
@daddycardona
Oct 26 2017 00:01
that is so true that is why it is so funny lol
Stephen James
@sjames1958gm
Oct 26 2017 00:11
We used to use 2. on world of warcraft. Friends online would give the wrong answer to your questions.
Ken Haduch
@khaduch
Oct 26 2017 00:12
@sjames1958gm - re: :point_up: October 25, 2017 7:46 PM - I agree, it's so easy to get shot down there on stackoverflow... but they get like a 1000 questions a minute or something, so maybe people just get irritated? :)
@thekholm80 - that sounds like a good strategy for stackoverflow....
Albert Cardona II
@daddycardona
Oct 26 2017 00:13
LOL I will now make a new profile for dreamincode and stackoverlow hornyflowergirl I think I will be the most famous fake account ever lol
Ken Haduch
@khaduch
Oct 26 2017 00:14
@daddycardona - that's the nice thing about the chat room here - most of the people are kind and helpful and want to help people succeed...
Albert Cardona II
@daddycardona
Oct 26 2017 00:14
that is my favorite part about being here lol
Stephen James
@sjames1958gm
Oct 26 2017 00:14
@daddycardona :+1: :))
Ken Haduch
@khaduch
Oct 26 2017 00:15
you should check to see if that user already exists @daddycardona ...
Albert Cardona II
@daddycardona
Oct 26 2017 00:15
lmao
no I don't or won't i find most my answers for fcc here or already answered frustrating I swear :)
Kaz Baig
@kbaig
Oct 26 2017 01:45
Has anyone here used sass with create-react-app?
Jaquavieon
@Jaquavieon
Oct 26 2017 02:06
hello ,I am DeeJay. I wanted to know if someone can help me find a solution on confirming that my work is being saved and submmitted to the code camp program ? im having issues.
Long Nguyen
@longnt80
Oct 26 2017 02:26
@Jaquavieon what's the issue?
Ken Haduch
@khaduch
Oct 26 2017 02:55
@Jaquavieon if I try to open what should be your home page on freecode camp, I see this message at the top of the page: We couldn't find a page for /Jaquavieon - if you look at your freecodecamp home page, what is your URL? Perhaps you are on the beta site?
Kaz Baig
@kbaig
Oct 26 2017 02:57
anyone know how to reload my sass file when I change an imported partial sass file?
Henry
@GitHub-Henry
Oct 26 2017 03:58
@daddycardona hello, & thank you for the brownies
CamperBot
@camperbot
Oct 26 2017 03:58
github-henry sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
:cookie: 416 | @daddycardona |http://www.freecodecamp.com/daddycardona
Albert Cardona II
@daddycardona
Oct 26 2017 03:58
you welcome :)
I am trying to figure out this
but other than that good ;)
and you @GitHub-Henry
Henry
@GitHub-Henry
Oct 26 2017 04:00
things are ok, got my cat hanging out with me tonight
@daddycardona
Albert Cardona II
@daddycardona
Oct 26 2017 04:01
nice I am not into cats so much but I love lions and tigers lol
panthers jaguars etc..
Henry
@GitHub-Henry
Oct 26 2017 04:01
@daddycardona i grew up a dog person, but when one marries one learns to compromise
Albert Cardona II
@daddycardona
Oct 26 2017 04:02
oh I know that why I am divorced twice lmao
Long Nguyen
@longnt80
Oct 26 2017 04:02
@GitHub-Henry I went to a cat cafe in Japan and found out I'm allergic to cat
Henry
@GitHub-Henry
Oct 26 2017 04:02
@longnt80 i love dogs, turns out I'm allergic to their fur
Albert Cardona II
@daddycardona
Oct 26 2017 04:04
LOL
I love most animals just not for me to have them at home
Long Nguyen
@longnt80
Oct 26 2017 04:04
if you shaved the dog, would you still feel the allergy's effects?
Albert Cardona II
@daddycardona
Oct 26 2017 04:04
I wouldn't mind having a dog if I owned a home :)
Henry
@GitHub-Henry
Oct 26 2017 04:04
@daddycardona @longnt80 found out some dogs have hair, so just need a breed with hair not fur
Albert Cardona II
@daddycardona
Oct 26 2017 04:05
lmao
are you serious?
Long Nguyen
@longnt80
Oct 26 2017 04:05
what's difference between hair and fur?
Henry
@GitHub-Henry
Oct 26 2017 04:07
@daddycardona @longnt80 fur stays one length and fall of, hair grows and grows and grow, so it needs to be cut
Long Nguyen
@longnt80
Oct 26 2017 04:07
@daddycardona I have an apartment but they won't allow me to have a dog
Albert Cardona II
@daddycardona
Oct 26 2017 04:07
where you stay now?
heroiczero
@heroiczero
Oct 26 2017 04:07
@khaduch @longnt80 @daddycardona @sjames1958gm @thekholm80 @Manish-Giri @korzo @alpox @DarrenfJ @GitHub-Henry Thanks for Helping people daily :)
CamperBot
@camperbot
Oct 26 2017 04:07
heroiczero sends brownie points to @khaduch and @longnt80 and @daddycardona and @sjames1958gm and @thekholm80 and @manish-giri and @korzo and @alpox and @darrenfj and @github-henry :sparkles: :thumbsup: :sparkles:
:star2: 1402 | @alpox |http://www.freecodecamp.com/alpox
:cookie: 668 | @korzo |http://www.freecodecamp.com/korzo
:star2: 8613 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
:star2: 2182 | @darrenfj |http://www.freecodecamp.com/darrenfj
:cookie: 420 | @github-henry |http://www.freecodecamp.com/github-henry
:cookie: 417 | @daddycardona |http://www.freecodecamp.com/daddycardona
:cookie: 614 | @longnt80 |http://www.freecodecamp.com/longnt80
:star2: 6695 | @manish-giri |http://www.freecodecamp.com/manish-giri
:star2: 3410 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 1537 | @thekholm80 |http://www.freecodecamp.com/thekholm80
Albert Cardona II
@daddycardona
Oct 26 2017 04:07
@longnt80
Long Nguyen
@longnt80
Oct 26 2017 04:07
in the apartment
Albert Cardona II
@daddycardona
Oct 26 2017 04:08
I thought you were joking @GitHub-Henry and I meant what country @longnt80
Long Nguyen
@longnt80
Oct 26 2017 04:08
Vietnam
Albert Cardona II
@daddycardona
Oct 26 2017 04:08
oh yeah you said that before what part of japan have you been too?
Henry
@GitHub-Henry
Oct 26 2017 04:08
@daddycardona @longnt80 my next dog
Long Nguyen
@longnt80
Oct 26 2017 04:08
ah Kyoto
Albert Cardona II
@daddycardona
Oct 26 2017 04:08
I lived in Okinawa for 2 years
Henry
@GitHub-Henry
Oct 26 2017 04:08
@heroiczero hello, and thank you for the brownies
CamperBot
@camperbot
Oct 26 2017 04:08
github-henry sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 1946 | @heroiczero |http://www.freecodecamp.com/heroiczero
Long Nguyen
@longnt80
Oct 26 2017 04:09
@heroiczero thanks
@daddycardona did you like it?
Henry
@GitHub-Henry
Oct 26 2017 04:09
@daddycardona @longnt80 and yes it has hair, not fur
Albert Cardona II
@daddycardona
Oct 26 2017 04:09
cute dog
and yes i loved it @longnt80
Long Nguyen
@longnt80
Oct 26 2017 04:10
@daddycardona I liked Japan too
I'd move there if I can
Albert Cardona II
@daddycardona
Oct 26 2017 04:10
okinawa is a great island
low crime and everything
Long Nguyen
@longnt80
Oct 26 2017 04:11
did you go any where other than Okinawa?
I mean inside Japan
Albert Cardona II
@daddycardona
Oct 26 2017 04:11
not really
got divorce and didn't have the funds after that or the want to go to mainlande
Long Nguyen
@longnt80
Oct 26 2017 04:12
you had Japanese wife?
Albert Cardona II
@daddycardona
Oct 26 2017 04:13
no at the time Jamaican :)
Long Nguyen
@longnt80
Oct 26 2017 04:13
ah
Albert Cardona II
@daddycardona
Oct 26 2017 04:14
yeah I was in the military :)
I want to save money and go to spain really bad and see the castle of cardona :)
Long Nguyen
@longnt80
Oct 26 2017 04:15
:D
Albert Cardona II
@daddycardona
Oct 26 2017 04:16
they really have one :)
google castle of cardona :)
longnt80 @longnt80 googling 'castle of cardona'
Albert Cardona II
@daddycardona
Oct 26 2017 04:17
why did that happen?
Henry
@GitHub-Henry
Oct 26 2017 04:20
@longnt80 i'd like to scub dive in the coral reefs somewhere around Vietnam and Timor Sea, its where the Pacific flows into the Indian so it's full of life
Albert Cardona II
@daddycardona
Oct 26 2017 04:26
yes it is @GitHub-Henry and there is also great scuba diving in Okinawa too many people get their license there for cheaper than amercia but I don't like the ocean or those breathing things either LOL
Henry
@GitHub-Henry
Oct 26 2017 04:29
@daddycardona i want really really want to, but give it second thought, cuz Fukashima is not fixed, so it still puts nuclear waste every day into the Pacifc, remember that the next time you think about shrimp, Alaskan Salmon, Tuna, etc
Albert Cardona II
@daddycardona
Oct 26 2017 04:30
I don't eat shrimp lol but I do eat a lot of sushi when I get sushi LOL ;)
Henry
@GitHub-Henry
Oct 26 2017 04:32
@daddycardona just remember Fukashima's not fixed, so how much nuclear waste is going into the food you eat from the ocean, I LOVE sushi also, but then...
Albert Cardona II
@daddycardona
Oct 26 2017 04:33
you gonna die of something pumping gas can give you cancer it's all good these days lol
Henry
@GitHub-Henry
Oct 26 2017 04:35
@daddycardona seems like we were built with planned obsolescence in mind, so our days our numbered, no matter how you look at it
Albert Cardona II
@daddycardona
Oct 26 2017 04:36
yup LOL I agree but I need to start eating healthier and exercising I am getting fat :)
well i am fat already but just look pregnant lol
Henry
@GitHub-Henry
Oct 26 2017 04:36
@daddycardona sitting a desk for hours on end will do that, as i look at the scale
Albert Cardona II
@daddycardona
Oct 26 2017 04:37
LOL I am a retired Marine so I lay on my bed and look at my 55inc television most of the day computer also connected to it so wireless mouse and keyboard 55 inch monitor lmao
Henry
@GitHub-Henry
Oct 26 2017 04:41
@daddycardona when I got a 30" screen i thought, to much, now i use 3 and a 17" on the side, and a lap top for misc, all on my desk
Albert Cardona II
@daddycardona
Oct 26 2017 04:41
lol
you must edit pictures or graphics or something with that
most people that use that type of format tvs or monitors usually on photoshop LOL
Henry
@GitHub-Henry
Oct 26 2017 04:43
some times, but you'd be amazed, you start using monitors and you find a use for them
just need the video cards to support it
and cables, long cables
Albert Cardona II
@daddycardona
Oct 26 2017 04:43
LOL
artbohr
@artbohr
Oct 26 2017 04:44
@GitHub-Henry can create extra distractions sometimes if you prioritize the use over the need :D
Albert Cardona II
@daddycardona
Oct 26 2017 04:44
I had my friend whom does that too I just need my big television maybe if I had two I can watch the game and code at the same time lol
Henry
@GitHub-Henry
Oct 26 2017 04:46
@artbohr some times I take lessons and have 1 mon for that, 2 mon for coding examples, 3 mon browser outpout, and devtools, 4th usually streams, backgound stuff, and has access to my main computer cuz all my other stuff is done on vms
Rob Bertram
@eolculnamo2
Oct 26 2017 04:47
quick question: What does express sesssions do? Will it allow for me to easily grab data from a database and place it on html pages?
artbohr
@artbohr
Oct 26 2017 04:49
@GitHub-Henry well, if it's for additional utility it's great, as long as it's not watching series/movies along the work, so you end up doing nothing of both xD
Henry
@GitHub-Henry
Oct 26 2017 04:50
@artbohr i have to admit, i did think it was over kill to have more than 2 monitors, until i did
artbohr
@artbohr
Oct 26 2017 04:50
@GitHub-Henry well, 2 monitors are great, I miss having two :D three seems an overkill as a first though, indeed
@GitHub-Henry you never know until you try, haha
Henry
@GitHub-Henry
Oct 26 2017 04:51
@artbohr some day you'll have the funds and say to yourself, perhaps I'll set it up, just in case, there starts the slippery slope
artbohr
@artbohr
Oct 26 2017 04:53
@GitHub-Henry and down we go
Henry
@GitHub-Henry
Oct 26 2017 04:54
@artbohr and so goes my wife, and people in her office also
trend setter that i am
joking
true about the wife and her office, though
Albert Cardona II
@daddycardona
Oct 26 2017 04:55
i use to use it too for work makes sense sometimes for what I did as a training Staff NCO
Henry
@GitHub-Henry
Oct 26 2017 04:56
@daddycardona you really don't think you could use them, until you do and you like he set up
i'm taking a class on mongodb and nodejs, so i'm hitting the ebooks
Albert Cardona II
@daddycardona
Oct 26 2017 04:58
I know I can use them well
what is mongodb
never mind its database lol
Rob Bertram
@eolculnamo2
Oct 26 2017 05:02
I’m hitting mongo hard right now myself
Not nearly as hard to implement in node as I thought it would be.
Albert Cardona II
@daddycardona
Oct 26 2017 05:09
wish I was understanding what you already know lol
Rob Bertram
@eolculnamo2
Oct 26 2017 05:11
Lol, the best way for me to get started was to look at some example code. Glitch.com has an example here: https://glitch.com/edit/#!/mongodb?path=server.js:34:4
Jill Lee
@jill-lee
Oct 26 2017 05:18
@DarrenfJ Hi Darren! Thanks! :)
CamperBot
@camperbot
Oct 26 2017 05:18
phoenix-burn sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2183 | @darrenfj |http://www.freecodecamp.com/darrenfj
Albert Cardona II
@daddycardona
Oct 26 2017 05:25
@eolculnamo2 No I mean in coding in general not node.js lol
Dhaval
@Dhavalc2012
Oct 26 2017 05:29
@DarrenfJ :wave:
Henry
@GitHub-Henry
Oct 26 2017 05:41
@daddycardona MongoDB has free training I'm taking the MongoDB & Node JS course currently.
just finished the MongoDB Basics course
Dhaval
@Dhavalc2012
Oct 26 2017 05:42
mva has a full mean stack course
u should check it out too
Albert Cardona II
@daddycardona
Oct 26 2017 05:42
is it database?]
Henry
@GitHub-Henry
Oct 26 2017 05:43
Mongo Database
@Dhavalc2012 I think I will, thanks
CamperBot
@camperbot
Oct 26 2017 05:43
github-henry sends brownie points to @dhavalc2012 :sparkles: :thumbsup: :sparkles:
:cookie: 361 | @dhavalc2012 |http://www.freecodecamp.com/dhavalc2012
Albert Cardona II
@daddycardona
Oct 26 2017 05:44
okay I was just making sure I was not assuming the wrong thing lol
Dhaval
@Dhavalc2012
Oct 26 2017 05:44
no problem Henry :thumbsup:
Henry
@GitHub-Henry
Oct 26 2017 05:44
@Dhavalc2012 I'm also currently taking the MongoDB & .Net course
Albert Cardona II
@daddycardona
Oct 26 2017 05:45
I just need to understand what else should I learn with Javascript
Henry
@GitHub-Henry
Oct 26 2017 05:45
@daddycardona get good with CSS, SCSS
Flexbox
Front End Cert
Then work on backend
take Mongo Database courses here and there since they are only offered sparatically through the year
Albert Cardona II
@daddycardona
Oct 26 2017 05:47
I am trying to understand what am I doing with the front end isn't react frontend framework
Henry
@GitHub-Henry
Oct 26 2017 05:48
React in high demand right now, learn it
but you probably should do the other stuff first
Good JS, CSS, SCSS, Flexbox skills are essential
for a front end person
Albert Cardona II
@daddycardona
Oct 26 2017 05:50
like what so far I am trying to get good at javascript but everything javascrtip seems obsolete for front end from what i am hearing like php is even better than just js alone
Henry
@GitHub-Henry
Oct 26 2017 05:50
Gulp, Webpack
JS alone is like saying you'll have rice for dinner
It needs to be part of a set of skills
Albert Cardona II
@daddycardona
Oct 26 2017 05:51
but i like rice for dinner lmao
Henry
@GitHub-Henry
Oct 26 2017 05:51
just rice, nothing else
Albert Cardona II
@daddycardona
Oct 26 2017 05:51
ketchup lol
Henry
@GitHub-Henry
Oct 26 2017 05:51
no spices, nothing but rice
bachelor meal?
Albert Cardona II
@daddycardona
Oct 26 2017 05:52
i know what you mean i am a clown sometimes lol
so you saying get good with css but why flexbox i get scss or sass
Henry
@GitHub-Henry
Oct 26 2017 05:53
cuz when you want a website to 'look' good you'll need those skills
Albert Cardona II
@daddycardona
Oct 26 2017 05:53
yes but i have never used flexbox on a personal site
Henry
@GitHub-Henry
Oct 26 2017 05:53
JS moves things, CSS, SCSS, Flexbox make things look good
it's better than most alternatives, and it's a standard
Dhaval
@Dhavalc2012
Oct 26 2017 05:53
Flexbox is still not supported by many browsers
Albert Cardona II
@daddycardona
Oct 26 2017 05:53
really did not kow the standard part
Dhaval
@Dhavalc2012
Oct 26 2017 05:53
u will need to have fallback for flexbox
Albert Cardona II
@daddycardona
Oct 26 2017 05:54
so all these algorythyms i am learning where would I use them in real life as far as fcc challenges go
Henry
@GitHub-Henry
Oct 26 2017 05:55
even IE Edge support flex
Albert Cardona II
@daddycardona
Oct 26 2017 05:56
IE supports stuff lol
Henry
@GitHub-Henry
Oct 26 2017 05:56
@daddycardona FCC JS algorithms help you learn to think like a programmer.
Albert Cardona II
@daddycardona
Oct 26 2017 05:56
oh okay makes sense
Albert Cardona II
@daddycardona
Oct 26 2017 05:56
now that we on the thinking part how would i use typeof in an if statment?
Dhaval
@Dhavalc2012
Oct 26 2017 05:57
look at the version of the browsers
only the latest one supports it
and u will be suprised to know how many people do actually update their browser
especially those in the offices
Henry
@GitHub-Henry
Oct 26 2017 05:58
@Dhavalc2012 isn't that what vendor prefixes are for
use vendor prefixes with flex, for the older browsers, I use Gulp
Dhaval
@Dhavalc2012
Oct 26 2017 05:59
yeah but they have partial supports
means u cant use all the properties of the flexbox
u need to always add fallback
no matter what
Albert Cardona II
@daddycardona
Oct 26 2017 05:59
found it was asking the wrong question on google
Dhaval
@Dhavalc2012
Oct 26 2017 06:00
typeof is evaluated with boolean value
look at MDN
u will get all the typeof values
n expression
Henry
@GitHub-Henry
Oct 26 2017 06:01
@Dhavalc2012 I see what you are saying, depends on what your manager tells you to do
if you need to code fall back code, code it
if you need to support ie11 from 2013, support it
business needs are business needs
Dhaval
@Dhavalc2012
Oct 26 2017 06:02
well u should always use compass or a script from github
there are already made
Henry
@GitHub-Henry
Oct 26 2017 06:03
@Dhavalc2012 i heard compass is dead
Dhaval
@Dhavalc2012
Oct 26 2017 06:03
they have scss or sass
Henry
@GitHub-Henry
Oct 26 2017 06:03
or dying
Dhaval
@Dhavalc2012
Oct 26 2017 06:03
yeah not much of a support
Albert Cardona II
@daddycardona
Oct 26 2017 06:03
yeah thanks @Dhavalc2012 I found the proper article I was using it like a method like x.typeof(NUMBER) when i should be using it like
typeof x === number
CamperBot
@camperbot
Oct 26 2017 06:03
daddycardona sends brownie points to @dhavalc2012 :sparkles: :thumbsup: :sparkles:
:cookie: 362 | @dhavalc2012 |http://www.freecodecamp.com/dhavalc2012
Dhaval
@Dhavalc2012
Oct 26 2017 06:03
but still worth it
no
@daddycardona
Henry
@GitHub-Henry
Oct 26 2017 06:03
what is script from github
Dhaval
@Dhavalc2012
Oct 26 2017 06:03
it iwll be like this
typeof (numbervar) == "number"
Albert Cardona II
@daddycardona
Oct 26 2017 06:04
that is what I put
Dhaval
@Dhavalc2012
Oct 26 2017 06:04
number is in quotes
not without quotes
typeof returns string
not object
Albert Cardona II
@daddycardona
Oct 26 2017 06:05
oh okay got you dammit i fail again :)
Dhaval
@Dhavalc2012
Oct 26 2017 06:05
i have a script for that no worries will sent u link later @GitHub-Henry
@daddycardona
Albert Cardona II
@daddycardona
Oct 26 2017 06:07
yes I was looking at that and just wrote the first part not paying attention to the second side
Dhaval
@Dhavalc2012
Oct 26 2017 06:07
bye guys cya
lolll
Albert Cardona II
@daddycardona
Oct 26 2017 06:08
later brother thanks again ;)
Henry
@GitHub-Henry
Oct 26 2017 06:20
@Dhavalc2012 l8r
@daddycardona Mongo Database Basics Class starts next week
Mongo is practically an industry standard, a good database to learn and use
Fabien SHAN
@X140hu4
Oct 26 2017 06:27
@GitHub-Henry Oh neat. Any prerequisite in term of knowledge?
Henry
@GitHub-Henry
Oct 26 2017 06:28
@X140hu4 no it's a beginner class
Albert Cardona II
@daddycardona
Oct 26 2017 06:29
okay I will sign up for rookie class lol
Fabien SHAN
@X140hu4
Oct 26 2017 06:32
@GitHub-Henry Thanks!
CamperBot
@camperbot
Oct 26 2017 06:32
x140hu4 sends brownie points to @github-henry :sparkles: :thumbsup: :sparkles:
:cookie: 421 | @github-henry |http://www.freecodecamp.com/github-henry
Albert Cardona II
@daddycardona
Oct 26 2017 06:32
i don't know node.js yet
Henry
@GitHub-Henry
Oct 26 2017 06:33
@X140hu4 hope the class helps
@daddycardona the mongo database basics class only uses mongo db
Albert Cardona II
@daddycardona
Oct 26 2017 06:33
just making sure because it ask me to pick a platform lol
Henry
@GitHub-Henry
Oct 26 2017 06:34
@daddycardona after you learn node.js they have a class that integrates node.js and mongo db
Albert Cardona II
@daddycardona
Oct 26 2017 06:35
okay cool i just put other lol
Henry
@GitHub-Henry
Oct 26 2017 06:35
@daddycardona fyi you should learn node.js, pug and express before you take the node.js & mongo db integration class, cuz they assume you know pug, and express
really, they assume you know a template language like pug, i use pug
Albert Cardona II
@daddycardona
Oct 26 2017 06:36
i have never heard of pug lol
or if i did i forgot
Henry
@GitHub-Henry
Oct 26 2017 06:36
once you learn pug, you'll love it, at least i did
seems like a lot, it is, that's why full stack developers can earn big bucks
at least at good companies
put passport.js in your back pocket, you'll need it eventually
@daddycardona i'm imagining, your brain, over load, over load, over load, is this a good guess
Albert Cardona II
@daddycardona
Oct 26 2017 06:40
i am like wth are you talking about lol
so many freaking ways of doing things whatever happened to php mysql and javascript lol
Henry
@GitHub-Henry
Oct 26 2017 06:42
@daddycardona after you get the hang of it, it's not to bad
there is quite a learning curve though
Albert Cardona II
@daddycardona
Oct 26 2017 06:44
I am like what am I really learning should I try something esle. I have the time now so learn it. Like I can make simple pages but this here is confusing so much else to know
I once met a man and he said master c# then you will be just fine in anything you need to do because you can do it all through c#
-+
Henry
@GitHub-Henry
Oct 26 2017 06:45
@daddycardona i think you are doing it in the right order, for front end, JS first, CSS, SCSS, then Flexbox
C# is for backend .net
Albert Cardona II
@daddycardona
Oct 26 2017 06:46
he said he used it for just about everything and he was working for the company as their programming manager etc... had like 40 titles lol
Henry
@GitHub-Henry
Oct 26 2017 06:46
@daddycardona react is the skills employers want today
@daddycardona he didn't do front end, he didn't do databases
he did backend stuff
that's what C# does
.net
Albert Cardona II
@daddycardona
Oct 26 2017 06:50
I think you can use c# for database stuff if I remember correctly
Henry
@GitHub-Henry
Oct 26 2017 06:51
there is a thing called linq that can do basic database queries in c#, basic crud
stuff developers need to make apps work, but not to much more
bilaal-s
@bilaal-s
Oct 26 2017 06:51
@rscales02 @sorinr thanks
CamperBot
@camperbot
Oct 26 2017 06:51
bilaal-s sends brownie points to @rscales02 and @sorinr :sparkles: :thumbsup: :sparkles:
:cookie: 308 | @rscales02 |http://www.freecodecamp.com/rscales02
:star2: 1346 | @sorinr |http://www.freecodecamp.com/sorinr
Henry
@GitHub-Henry
Oct 26 2017 06:51
CRUD, create, read, update, delete
Albert Cardona II
@daddycardona
Oct 26 2017 06:52
yes I thought it was more but you know better than me because i didn't know that crud stuff lmao
Henry
@GitHub-Henry
Oct 26 2017 06:52
that's why i spelled it out for you
real database management for sql server would be done by a dba using sql server management studio, c# linq is for developers to access the database and make apps work
Albert Cardona II
@daddycardona
Oct 26 2017 06:54
i know I see so much on it before like i was giong to start using c# because of him and the fact it looked like java and I was ok with java but not to a point that i was thinking like a real programmer just the basics
Henry
@GitHub-Henry
Oct 26 2017 06:54
look where the jobs are
Albert Cardona II
@daddycardona
Oct 26 2017 06:54
well I am off to bed God bless and good night brother thanks a lot @GitHub-Henry
CamperBot
@camperbot
Oct 26 2017 06:54
daddycardona sends brownie points to @github-henry :sparkles: :thumbsup: :sparkles:
:cookie: 422 | @github-henry |http://www.freecodecamp.com/github-henry
Albert Cardona II
@daddycardona
Oct 26 2017 06:55
:)
Henry
@GitHub-Henry
Oct 26 2017 06:55
currently react is the thing employers want
Albert Cardona II
@daddycardona
Oct 26 2017 06:55
I saw that many times too about react
Henry
@GitHub-Henry
Oct 26 2017 06:55
so the path you are on is good stuff
Albert Cardona II
@daddycardona
Oct 26 2017 06:55
:) okay later bro
CamperBot
@camperbot
Oct 26 2017 06:56
you called?
Henry
@GitHub-Henry
Oct 26 2017 06:57
eightball, are you up tonight?
CamperBot
@camperbot
Oct 26 2017 06:57
@GitHub-Henry :8ball: my reply is no :sparkles:
Henry
@GitHub-Henry
Oct 26 2017 06:58
@daddycardona thanks for the chat, gn
CamperBot
@camperbot
Oct 26 2017 06:58
:cookie: 418 | @daddycardona |http://www.freecodecamp.com/daddycardona
github-henry sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
Jill Lee
@jill-lee
Oct 26 2017 09:31
Anyone can help me move the footer content to the center?
Victor Abeledo
@victorja
Oct 26 2017 09:42
have you tried text-align:center;?
@phoenix-burn
Jill Lee
@jill-lee
Oct 26 2017 09:53
@victorja I need the entire content center though
@victorja thanks!
CamperBot
@camperbot
Oct 26 2017 09:53
phoenix-burn sends brownie points to @victorja :sparkles: :thumbsup: :sparkles:
api offline
Victor Abeledo
@victorja
Oct 26 2017 09:53
did it work?
heroiczero
@heroiczero
Oct 26 2017 11:39
@phoenix-burn if you want to center a div try: https://www.w3.org/Style/Examples/007/center.en.html. You could put your footer in a block and center it.
Ken Haduch
@khaduch
Oct 26 2017 11:44
@heroiczero @daddycardona @Manish-Giri @DarrenfJ - thanks for being regular helpers here, and for appreciating everyone who participates... have a great day!
CamperBot
@camperbot
Oct 26 2017 11:44
:star2: 1949 | @heroiczero |http://www.freecodecamp.com/heroiczero
khaduch sends brownie points to @heroiczero and @daddycardona and @manish-giri and @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2184 | @darrenfj |http://www.freecodecamp.com/darrenfj
:cookie: 419 | @daddycardona |http://www.freecodecamp.com/daddycardona
:star2: 6698 | @manish-giri |http://www.freecodecamp.com/manish-giri
flmj
@flmj
Oct 26 2017 11:45
...
Rajan
@ProgramNovice
Oct 26 2017 12:50
Hi guys
I have a doubt to ask you all
Is it a must to type this code at the beginning of all the HTML program codes:
<!DOCTYPE html>
korzo
@korzo
Oct 26 2017 13:10
@ProgramNovice Yes
Rajan
@ProgramNovice
Oct 26 2017 13:11
@korzo Ok thanks :)
CamperBot
@camperbot
Oct 26 2017 13:11
programnovice sends brownie points to @korzo :sparkles: :thumbsup: :sparkles:
:cookie: 669 | @korzo |http://www.freecodecamp.com/korzo
korzo
@korzo
Oct 26 2017 13:11
@ProgramNovice it is an instruction to the web browser about what version of HTML the page is written in.
It must be at the start of first line
Rajan
@ProgramNovice
Oct 26 2017 13:12
oh ok thanks :)
korzo
@korzo
Oct 26 2017 13:13
and be grateful you no longer have to write <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> :)
Marc
@MWBauer
Oct 26 2017 13:48
What does the #getMessage mean in the line $("#getMessage").on("click", function(){ ?
is that the command? when someone clicks, get message?
rscales02
@rscales02
Oct 26 2017 13:52
#getMessage is targeting the HTML element with id="getMessage" also, for jQuery I think the syntax you are looking for is $('#getMessage').click(function(){ //do something});
Marc
@MWBauer
Oct 26 2017 13:53
The line was copied from one of the challenges on FCC.
(shrug) If they did it wrong, then THEY did it wrong.
I just copied and pasted
If I have an element with getMessage, then that's what is affected...thank you.
rscales02
@rscales02
Oct 26 2017 14:05
@MWBauer I could also be wrong on that... :smile: maybe they both work...
Rajan
@ProgramNovice
Oct 26 2017 14:07
@korzo oh yea that seems to be a long code! :D
Marc
@MWBauer
Oct 26 2017 14:56
I have the geolocation api working. It sees coords.
I think it's reporting to the weather api
how do I get the weather api to report?
Kaz Baig
@kbaig
Oct 26 2017 14:59
Guys any feedback on this little bit of UI? https://codepen.io/kbaig/pen/BwXVRG
(try hovering/clicking things)
Stephen James
@sjames1958gm
Oct 26 2017 15:12
@MWBauer getJSON this call needs to be inside the function function(position) or position will be undefined.
$.getJSON has a callback function that will return the weather data.
Ginger
@GingerChew
Oct 26 2017 15:20
@kbaig when I click the sign up button, it doesn't stay orange, it reverts to white. as long as it has 'focus' it should probably be orange.
Kaz Baig
@kbaig
Oct 26 2017 15:27
@GingerChew hmmm not able to replicate this
@GingerChew Are you talking about if you click it and then take the cursor off the button?
Ginger
@GingerChew
Oct 26 2017 15:29
yeah! if you mess with the :focus psuedoclass you can see when it applies
Kaz Baig
@kbaig
Oct 26 2017 15:29
well if I click it and then take my cursor off of it, that would mean I've either signed up or there was an issue
In either case, it would redirect or refresh
So it prob shouldn't be orange after taking cursor off of it, no?
Stephen James
@sjames1958gm
Oct 26 2017 15:35
@MWBauer Both .on and .click are ok - because "click" is used so much they provided a function that does what .on("click", function() {}); does
Ginger
@GingerChew
Oct 26 2017 15:37
hmmm, true, but if you have a disability that won't let you use a mouse, you'll have to select it with an assistive device
in that case, the focus asset will act as hover does for a mouse
Marc
@MWBauer
Oct 26 2017 15:38
@sjames1958gm :wave: Morning!
Ginger
@GingerChew
Oct 26 2017 15:39
cause right now, if I tab to the sign up button, it stays white and has a checkered border around the word
Stephen James
@sjames1958gm
Oct 26 2017 15:39
@MWBauer Hey
Marc
@MWBauer
Oct 26 2017 15:40
How ya' doin'?
Kaz Baig
@kbaig
Oct 26 2017 15:41
@GingerChew yeah that's fair. I think I need to think of an overall change rather than a small one to work with that
@GingerChew thanks for input
CamperBot
@camperbot
Oct 26 2017 15:42
kbaig sends brownie points to @gingerchew :sparkles: :thumbsup: :sparkles:
:cookie: 296 | @gingerchew |http://www.freecodecamp.com/gingerchew
Ginger
@GingerChew
Oct 26 2017 15:44
@kbaig no prob! all in all, that's my only critique. It's really good and well styled
Kaz Baig
@kbaig
Oct 26 2017 15:44
@GingerChew actually, try it now? I just added back the outline but it's orange
Marc
@MWBauer
Oct 26 2017 15:44
sorry. battery died
Ginger
@GingerChew
Oct 26 2017 15:47
@kbaig It's not showing up for me, and the glow affect on the input fields is gone too
Kaz Baig
@kbaig
Oct 26 2017 15:48
@GingerChew that's odd. Try refreshing I guess?
gishy1
@gishy1
Oct 26 2017 15:48
@sjames1958gm thanks mate !!! also how would you work it with substr have a look what i tried to do as an alternative
CamperBot
@camperbot
Oct 26 2017 15:48
gishy1 sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8614 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
gishy1
@gishy1
Oct 26 2017 15:48
image.png
Ginger
@GingerChew
Oct 26 2017 15:49
@kbaig yeah, thats weird. the glow is back now, but the button still has just the checkered border on it.
Stephen James
@sjames1958gm
Oct 26 2017 15:49
d = substr(str.length - target.length) -- select the string starting target.length letters from the end
Kaz Baig
@kbaig
Oct 26 2017 15:50
@GingerChew try refresh again? hehe
wait are you not on chrome
I just opened it in moz and see what you're saying
Ginger
@GingerChew
Oct 26 2017 15:51
okay, lemme try chrome
yep! That's awesome @kbaig
Kaz Baig
@kbaig
Oct 26 2017 15:52
@GingerChew hah thx, looks like moz doesn't support outline-color
CamperBot
@camperbot
Oct 26 2017 15:52
kbaig sends brownie points to @gingerchew :sparkles: :thumbsup: :sparkles:
api offline
Marc
@MWBauer
Oct 26 2017 15:53
@sjames1958gm I moved the JSON into the function, at the end. It now reports in my window the lat/long and weather.
Kaz Baig
@kbaig
Oct 26 2017 15:53
but is that even a problem?
Marc
@MWBauer
Oct 26 2017 15:53
So that's a step
thanks @sjames1958gm
CamperBot
@camperbot
Oct 26 2017 15:53
mwbauer sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8615 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Kaz Baig
@kbaig
Oct 26 2017 15:53
because moz puts in the dotted focus styling on its own
whereas chrome doesnt
Stephen James
@sjames1958gm
Oct 26 2017 15:53
@MWBauer :+1: now you should have a json object which you can use to fill in / build your html
Ginger
@GingerChew
Oct 26 2017 15:58
@kbaig I mean, it may just look off for people who use chrome. The other option like I mentioned before is to use the :focus pseudo class, and then just apply the same :hover styling to it, that would then be the styling for all browsers (i think)
From a styling aspect, it matters, from a ux experience, not really. But that's gets into a lot of opinions, so I feel others might feel different
Kyle Holm
@thekholm80
Oct 26 2017 17:02
@DarrenfJ @heroiczero @Manish-Giri ty
CamperBot
@camperbot
Oct 26 2017 17:02
thekholm80 sends brownie points to @darrenfj and @heroiczero and @manish-giri :sparkles: :thumbsup: :sparkles:
:star2: 2185 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 1950 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 6700 | @manish-giri |http://www.freecodecamp.com/manish-giri
Kyle Holm
@thekholm80
Oct 26 2017 17:03
@daddycardona ty too
CamperBot
@camperbot
Oct 26 2017 17:03
thekholm80 sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
:cookie: 420 | @daddycardona |http://www.freecodecamp.com/daddycardona
Joshua Waller
@Obscureether1
Oct 26 2017 19:17
Hows it going ppl
Yaroslav
@YariPL
Oct 26 2017 19:42
Hi guys. Have a question to people who had used xcart or something similar. What php code can help to send automatic info to online shops(amazon etc.) that some product is no longer available and also in opposite way? Thanks in advance.
Darren
@DarrenfJ
Oct 26 2017 20:34
afternoon fCC
taking a break form testing
whew
thanks to the usual miscreants and misanthropes (i mean helperPeople)
thanks @thekholm80 @heroiczero @Manish-Giri @daddycardona @sjames1958gm @rscales02 @korzo @khaduch @phoenix-burn @GitHub-Henry
CamperBot
@camperbot
Oct 26 2017 20:36
darrenfj sends brownie points to @thekholm80 and @heroiczero and @manish-giri and @daddycardona and @sjames1958gm and @rscales02 and @korzo and @khaduch and @phoenix-burn and @github-henry :sparkles: :thumbsup: :sparkles:
:star2: 1952 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 1538 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:cookie: 671 | @korzo |http://www.freecodecamp.com/korzo
:star2: 6702 | @manish-giri |http://www.freecodecamp.com/manish-giri
:cookie: 309 | @rscales02 |http://www.freecodecamp.com/rscales02
:star2: 8616 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
:cookie: 421 | @daddycardona |http://www.freecodecamp.com/daddycardona
:cookie: 164 | @phoenix-burn |http://www.freecodecamp.com/phoenix-burn
:cookie: 423 | @github-henry |http://www.freecodecamp.com/github-henry
:star2: 3412 | @khaduch |http://www.freecodecamp.com/khaduch
Albert Cardona II
@daddycardona
Oct 26 2017 20:37
:wave: @DarrenfJ and thanks
CamperBot
@camperbot
Oct 26 2017 20:37
daddycardona sends brownie points to @darrenfj :sparkles: :thumbsup: :sparkles:
:star2: 2187 | @darrenfj |http://www.freecodecamp.com/darrenfj
Albert Cardona II
@daddycardona
Oct 26 2017 20:37
did you do Arguments Optional
thanks yall @thekholm80 @heroiczero @Manish-Giri @sjames1958gm @rscales02 @korzo @khaduch @phoenix-burn @GitHub-Henry
CamperBot
@camperbot
Oct 26 2017 20:38
daddycardona sends brownie points to @thekholm80 and @heroiczero and @manish-giri and @sjames1958gm and @rscales02 and @korzo and @khaduch and @phoenix-burn and @github-henry :sparkles: :thumbsup: :sparkles:
:star2: 1953 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 1539 | @thekholm80 |http://www.freecodecamp.com/thekholm80
:star2: 3413 | @khaduch |http://www.freecodecamp.com/khaduch
:star2: 8617 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
:star2: 6703 | @manish-giri |http://www.freecodecamp.com/manish-giri
:cookie: 424 | @github-henry |http://www.freecodecamp.com/github-henry
:cookie: 672 | @korzo |http://www.freecodecamp.com/korzo
:cookie: 310 | @rscales02 |http://www.freecodecamp.com/rscales02
:cookie: 165 | @phoenix-burn |http://www.freecodecamp.com/phoenix-burn
Albert Cardona II
@daddycardona
Oct 26 2017 20:41
did you do Arguments Optional @DarrenfJ
Darren
@DarrenfJ
Oct 26 2017 20:45
i've done everything but the projects
lemme check what i did
May Kittens Devour Your Soul
@diomed
Oct 26 2017 20:45
hello @DarrenfJ :cat:
Darren
@DarrenfJ
Oct 26 2017 20:47
@diomed buddy!
what dark storm brought you back to our shores ;)
May Kittens Devour Your Soul
@diomed
Oct 26 2017 20:48
hahaha :smile: I need your help
Darren
@DarrenfJ
Oct 26 2017 20:49
but you know this is no longer a help channel :P
it's more of a hang out channel
May Kittens Devour Your Soul
@diomed
Oct 26 2017 20:50
would you know why I'm having problems with this
everything shifted 1 cell right
and I'm like - how come?
alpox
@alpox
Oct 26 2017 20:51
@diomed Looks to me like this takes the first column:
<td>
            <v-edit-dialog
              lazy
            > {{ props.item.name }}
              <v-text-field
                slot="input"
                label="Edit"
                v-model="props.item.name"
                single-line
                counter
                :rules="[max25chars]"
              ></v-text-field>
            </v-edit-dialog>
          </td>
May Kittens Devour Your Soul
@diomed
Oct 26 2017 20:53
so what do I do? remove that?
Darren
@DarrenfJ
Oct 26 2017 20:53
you playing around with vue now? haven't done with it myself but planning to
alpox
@alpox
Oct 26 2017 20:54
@diomed I'm not sure what it should be :D a dialog? Is it a popup in the end? If yes, it should probably not be in the table
May Kittens Devour Your Soul
@diomed
Oct 26 2017 20:54
yes, just playing. need to learn it tho :smile:
@alpox yes, that's a good point. thanks
CamperBot
@camperbot
Oct 26 2017 20:54
:star2: 1405 | @alpox |http://www.freecodecamp.com/alpox
diomed sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
Darren
@DarrenfJ
Oct 26 2017 20:55
thanks @alpox for helping out as well :smile:
CamperBot
@camperbot
Oct 26 2017 20:55
darrenfj sends brownie points to @alpox :sparkles: :thumbsup: :sparkles:
:star2: 1406 | @alpox |http://www.freecodecamp.com/alpox
alpox
@alpox
Oct 26 2017 20:56
@diomed @DarrenfJ np :-)
May Kittens Devour Your Soul
@diomed
Oct 26 2017 20:59
@DarrenfJ we usuall talk in https://gitter.im/FreeCodeCamp/FreeCodeCamp . u should stop by
alpox
@alpox
Oct 26 2017 20:59
@diomed If you wanted a button Edit there, i guess you'd have to keep it and make a button next to the dialog - and add a new header entry in the data
Darren
@DarrenfJ
Oct 26 2017 21:05
i should.. whenever i do it's a different crowd than you guys ...
Ken Haduch
@khaduch
Oct 26 2017 21:27
@daddycardona - are you having trouble with that Arguments Optional exercise, Albert?
korzo
@korzo
Oct 26 2017 21:51
@daddycardona did you get help with Arguments Optional?
Albert Cardona II
@daddycardona
Oct 26 2017 21:51
sorry guys I fell asleep :)
Henry
@GitHub-Henry
Oct 26 2017 21:51
@daddycardona @DarrenfJ hello, & thank you
CamperBot
@camperbot
Oct 26 2017 21:51
github-henry sends brownie points to @daddycardona and @darrenfj :sparkles: :thumbsup: :sparkles:
:cookie: 422 | @daddycardona |http://www.freecodecamp.com/daddycardona
:star2: 2188 | @darrenfj |http://www.freecodecamp.com/darrenfj
Albert Cardona II
@daddycardona
Oct 26 2017 21:52
no I did not I am having issues with the funcName(3)(3);
@khaduch and @korzo
function addTogether() {
    var x = arguments;
    var sum;
    if (typeof x[0] !== 'number') {
        return undefined;
    }
    if (x[1]) {
        if (typeof x[1] !== 'number' || typeof x[1] == 'object') {
            return undefined;
        } else if (typeof x[1] == 'number') {
            sum = x[0] + x[1];
            console.log(sum);
            return sum;
        }
    }
    if(!x[1]){
        var sumTwoAnd = addTogether(2);
        return sumTwoAnd(3);

    }
}
addTogether(2, 3);
addTogether(2)(3);
Ken Haduch
@khaduch
Oct 26 2017 21:54
@daddycardona - well, that's the tricky part... :)
korzo
@korzo
Oct 26 2017 21:55
@daddycardona if your function gets only 1 argument, you have to return function accepting 1 argument
@daddycardona in this function then check, if argument is number. If so, return sum of argument with x[0]
Ken Haduch
@khaduch
Oct 26 2017 21:57
@daddycardona - what you need to do is return a function that will receive your second argument - the addTogether(2) part will have enclosed the first argument 2 within its state - "closure", so you just have to take in the second argument and do the addition and return the final result.
Albert Cardona II
@daddycardona
Oct 26 2017 21:59
what lol
korzo
@korzo
Oct 26 2017 21:59

@daddycardona Here is little example

function sum(a) {
  return function(b) {
    return a + b;
  }
}

console.log(sum(2)(3));

let a = sum(2);
console.log(a(3));
console.log(a(2));

https://repl.it/NSsT

Ken Haduch
@khaduch
Oct 26 2017 22:01
@daddycardona - this article has gory details about javascript closures http://javascriptissexy.com/understand-javascript-closures-with-ease/ - maybe it will help?
Albert Cardona II
@daddycardona
Oct 26 2017 22:02
my brain hurts now thanks guys lmao
Ken Haduch
@khaduch
Oct 26 2017 22:02
@daddycardona - this is one of those rather tricky concepts to grasp...
Albert Cardona II
@daddycardona
Oct 26 2017 22:03
so your are saying that I should write the the part of if(!x[1]) over lol
like everything after for loops lol
Kyle Holm
@thekholm80
Oct 26 2017 22:03
closures are not fun
Albert Cardona II
@daddycardona
Oct 26 2017 22:04
neither are clothes lmao
Kyle Holm
@thekholm80
Oct 26 2017 22:04
i approve of clothes on most people
Albert Cardona II
@daddycardona
Oct 26 2017 22:04
yeah this is confusing
closures are confusing i hate them now lol
Kyle Holm
@thekholm80
Oct 26 2017 22:04
once you get it you'll feel awesome though
callbacks and closures were really hard for me
Albert Cardona II
@daddycardona
Oct 26 2017 22:06
man the way you know how to use them @thekholm80 I think you're lying lol
I would thank you all but it would just say api offline lol
Kyle Holm
@thekholm80
Oct 26 2017 22:06
everything is easy once you learn how
:)
Albert Cardona II
@daddycardona
Oct 26 2017 22:07
yeah I wish I just kept at it when I was younger so I can get it, it pisses me off i stopped completely because I did not get it
Kyle Holm
@thekholm80
Oct 26 2017 22:08
I was in a similar situation, i quit because partying was more fun
now i'm poor, old and still can't code
Albert Cardona II
@daddycardona
Oct 26 2017 22:10
LOL i quite for different reasons but I get you and you can code just fine shit if I understood some of this as much as you did I would be far ahead of where I am at :)
Kyle Holm
@thekholm80
Oct 26 2017 22:11
there's a huge difference between you and me, though. You're motivated to learn and I'm sitting here reading reddit
Albert Cardona II
@daddycardona
Oct 26 2017 22:11
recursion, callbacks and closures could all kiss my ass lol
i am motivated more to understand I prefer videos than reading I don't get what I am reading half the time unless i read it like 15 times lol
Kyle Holm
@thekholm80
Oct 26 2017 22:13
I get a lot more out of udemy courses than i do just reading stuff
having someone talk it through really helps me
korzo
@korzo
Oct 26 2017 22:14
@daddycardona Lucky you. I can only read code with my 5 seconds attention span :)
Albert Cardona II
@daddycardona
Oct 26 2017 22:14
yes I feel you and especially when they break it down better then the books using real world code
Kyle Holm
@thekholm80
Oct 26 2017 22:14
you should look for local meetup groups
we have a ton here and i've learned a lot from them
Albert Cardona II
@daddycardona
Oct 26 2017 22:15
i got adhd and ptsd and understand how you feel @korzo and I have @thekholm80
don't drive to boston if i don't have to and the other ones I am in kinda suck one meets once a month the other shit we have not met in months lol
lol
Kyle Holm
@thekholm80
Oct 26 2017 22:15
oh that sucks
Albert Cardona II
@daddycardona
Oct 26 2017 22:16
if I was in californing or lived in Boston I would go more often ;)
Kyle Holm
@thekholm80
Oct 26 2017 22:16
my area (utah) is having a tech boom
it sucks because it's killing housing prices
Albert Cardona II
@daddycardona
Oct 26 2017 22:17
oh utah nice
Kyle Holm
@thekholm80
Oct 26 2017 22:17
but cool because there's lots of coders here lol
Albert Cardona II
@daddycardona
Oct 26 2017 22:17
oh yeah that sucks at first then it will rise
coders get paid well out here in ma
Kyle Holm
@thekholm80
Oct 26 2017 22:18
I wish I could see myself doing it professionally
Albert Cardona II
@daddycardona
Oct 26 2017 22:18
massachusetts and when i was a mailman I noticed most the coders are from india and they tell me learn concepts first always the syntax and coding will come from that learn the theology it will help me out more :)
Kyle Holm
@thekholm80
Oct 26 2017 22:19
i believe it
they say once you learn one language you can learn any of them, since all you really need to learn is the syntax
Albert Cardona II
@daddycardona
Oct 26 2017 22:20
yes I heard that from many people and it gave me hope then I started fcc lol
korzo
@korzo
Oct 26 2017 22:23
That's true. concepts and syntax is very similar in a lot of languages.
Albert Cardona II
@daddycardona
Oct 26 2017 22:24
I know the only difference is when you have regex then everything is confusing lol
Victor Abeledo
@victorja
Oct 26 2017 22:25
Guys do you know why am I getting Reference Error Weakmap is not defined??
code : https://jsfiddle.net/7s3vm9c7/ (node version 8.7)
Albert Cardona II
@daddycardona
Oct 26 2017 22:28
because it is not define it is declared
Kaz Baig
@kbaig
Oct 26 2017 22:29
@victorja It's WeakMap not Weakmap
Albert Cardona II
@daddycardona
Oct 26 2017 22:30
oh my bag my fault
Victor Abeledo
@victorja
Oct 26 2017 22:31
@kbaig thanks
CamperBot
@camperbot
Oct 26 2017 22:31
victorja sends brownie points to @kbaig :sparkles: :thumbsup: :sparkles:
:cookie: 381 | @kbaig |http://www.freecodecamp.com/kbaig
Victor Abeledo
@victorja
Oct 26 2017 22:31
I hate when the bug is just a typo :neutral_face:
Kaz Baig
@kbaig
Oct 26 2017 22:31
esp when it takes hours to find
Victor Abeledo
@victorja
Oct 26 2017 22:32
haha
Albert Cardona II
@daddycardona
Oct 26 2017 22:32
I feel you simple bugs piss me off lol
Manish Giri
@Manish-Giri
Oct 26 2017 22:40
@thekholm80 teach me scala
Kyle Holm
@thekholm80
Oct 26 2017 22:40
@daddycardona teach @Manish-Giri scala
Albert Cardona II
@daddycardona
Oct 26 2017 22:40
scala is a person's name right lol
I am sitll confused with the challenge so upsetting
:)
Kyle Holm
@thekholm80
Oct 26 2017 22:41

@Manish-Giri

object Hello extends App {
  println("Hello, World!")
}

the rest you can find on SO (I hope?)

Manish Giri
@Manish-Giri
Oct 26 2017 22:42
:sweat:
Albert Cardona II
@daddycardona
Oct 26 2017 22:42
ttyl I am going to watch a show called mr robot and then go play basketball by 8pm EST and isn't that java lol
Kyle Holm
@thekholm80
Oct 26 2017 22:42
I love Mr Robot!
Albert Cardona II
@daddycardona
Oct 26 2017 22:42
season 1 ep 3 so not all caught up just heard about it :)
Kyle Holm
@thekholm80
Oct 26 2017 22:43
I haven't started season 2 yet
@Manish-Giri why scala? what can it do that java can't?
Manish Giri
@Manish-Giri
Oct 26 2017 22:47
@thekholm80 I don't know tbh, all I've been told is that scala does FP very well and scala can do big data & machine learning stuff too quite nicely
Kyle Holm
@thekholm80
Oct 26 2017 22:47
FP?
Face Punching?
Manish Giri
@Manish-Giri
Oct 26 2017 22:47
but even Java 8 has FP
lol
Kyle Holm
@thekholm80
Oct 26 2017 22:47
Fire Protection?
Free Puppies?
Manish Giri
@Manish-Giri
Oct 26 2017 22:48
functional programming
Kyle Holm
@thekholm80
Oct 26 2017 22:48
oh lol
Manish Giri
@Manish-Giri
Oct 26 2017 22:48
:dog:
Kyle Holm
@thekholm80
Oct 26 2017 22:48
yeah that makes more sense
Manish Giri
@Manish-Giri
Oct 26 2017 22:48
like how in JS, functions are first class objects, scala is like that (apparently)
Kyle Holm
@thekholm80
Oct 26 2017 22:48
oh neat
Manish Giri
@Manish-Giri
Oct 26 2017 22:49
but even java 8 has fp, seee
  public static Map<String, List<String>> getStudentNamesByDepartment(Stream<Student> students) {
       return students.collect(Collectors.groupingBy(Student::getDepartment, Collectors.mapping(Student::getName, Collectors.toList())));
}
this was from a kata
anyway
Kyle Holm
@thekholm80
Oct 26 2017 22:50
java doesn't look like fun
Manish Giri
@Manish-Giri
Oct 26 2017 22:50
i can't find good scala tuts
online
$10
Manish Giri
@Manish-Giri
Oct 26 2017 22:51
I was going through that yest
it has mixed reviews
like
Kyle Holm
@thekholm80
Oct 26 2017 22:51
wow, there's a lot of $10 scala stuff
Manish Giri
@Manish-Giri
Oct 26 2017 22:52
The course is decent as an intro but will not leave you ready to jump into scala programming in a professional setting. Instead you'd want to look at a more advanced course to get a deeper understanding of scala.
Andrei's lectures are terrible, its clear that he's not a programmer and is just reading things off a script. Quite often after one of his lectures, I'd have to google and read up on the concepts he covered, because the videos didn't do a good job explaining.
Daniel was great.
These guys do leave a lot of detail out because they want you to buy the advanced course they're working on. Keep that in mind and expect only a shallow intro to the topics they cover.
everything is $19 at my end :sob:
Kyle Holm
@thekholm80
Oct 26 2017 22:53
try incognito?
Manish Giri
@Manish-Giri
Oct 26 2017 22:56
oh wow its $10 in incog
fuckers
Kyle Holm
@thekholm80
Oct 26 2017 22:56
lol yeah
Kaz Baig
@kbaig
Oct 26 2017 22:56
wowowowoowowowow
thaaaaat's racist
the course has only 31 lectures
who pays for only 31 lectures
pffft
Kyle Holm
@thekholm80
Oct 26 2017 22:57
try youtube?
Manish Giri
@Manish-Giri
Oct 26 2017 22:58
lol youtube
in YT, I just end up with corgi videos
it's a rabbit hole
Kyle Holm
@thekholm80
Oct 26 2017 22:59
you need to learn some self-control my dude
:P
Manish Giri
@Manish-Giri
Oct 26 2017 22:59
lol
@thekholm80 x
Kyle Holm
@thekholm80
Oct 26 2017 23:02
yeah okay so not youtube
Manish Giri
@Manish-Giri
Oct 26 2017 23:03
lol
Victor Abeledo
@victorja
Oct 26 2017 23:20
Hi guys!!! Do you know why am I getting "ReferenceError setPrivateTime is not defined(line 22)"??
https://jsfiddle.net/w2Lktt16/
Kaz Baig
@kbaig
Oct 26 2017 23:23
@victorja I don't see that error in my console
Victor Abeledo
@victorja
Oct 26 2017 23:26
@kbaig so you don't have any errors on your console??
I have node 8.7, It should work fine
ReferenceError: setPrivateTime is not defined at Movie.play (C:\Users\Sistemas\Desktop\WEBUIGlobant\topic02\topic02ex1\hello\app.js:22:9) at Object.<anonymous> (C:\Users\Sistemas\Desktop\WEBUIGlobant\topic02\topic02ex1\hello\app.js:42:6) at Module._compile (module.js:624:30) at Object.Module._extensions..js (module.js:635:10) at Module.load (module.js:545:32) at tryModuleLoad (module.js:508:12) at Function.Module._load (module.js:500:3) at Function.Module.runMain (module.js:665:10) at startup (bootstrap_node.js:187:16) at bootstrap_node.js:608:3
Kaz Baig
@kbaig
Oct 26 2017 23:27
korzo
@korzo
Oct 26 2017 23:28
@victorja this.setPrivateTime()
Kaz Baig
@kbaig
Oct 26 2017 23:28
@victorja yeah you can't declare a class variable
korzo
@korzo
Oct 26 2017 23:28
on line 30
Kaz Baig
@kbaig
Oct 26 2017 23:28
classes have methods/properties
not vars/consts
you can set a value for the weakmap in the weakmap constructor when you instantiate it
Victor Abeledo
@victorja
Oct 26 2017 23:33
great
now I'm getting a typeError :worried:
app.js:17 this.privateTime.set(oo,timeTotal); ^ TypeError: Cannot read property 'set' of undefined
korzo
@korzo
Oct 26 2017 23:37
@victorja becaue privatetime is defined only inside constructor function.
you can't access it from other function
Victor Abeledo
@victorja
Oct 26 2017 23:39
so do I have any workaround? Tried declaring it outside the constructor but it's the same
Kaz Baig
@kbaig
Oct 26 2017 23:39
use this to declare, not var
if you don't want to do that
korzo
@korzo
Oct 26 2017 23:40
@victorja That's why I prefer constructor function over classes
Kaz Baig
@kbaig
Oct 26 2017 23:40
put all the methods that use privateTime inside the constructor
that's the workaround if you want a private method
korzo
@korzo
Oct 26 2017 23:40
@victorja workaround is either put privatetime as property or define all methods inside constructor
Kaz Baig
@kbaig
Oct 26 2017 23:40
all methods that use privatetime anyways
Victor Abeledo
@victorja
Oct 26 2017 23:56
great thanks @korzo @kbaig
CamperBot
@camperbot
Oct 26 2017 23:56
victorja sends brownie points to @korzo and @kbaig :sparkles: :thumbsup: :sparkles:
:cookie: 674 | @korzo |http://www.freecodecamp.com/korzo
:cookie: 384 | @kbaig |http://www.freecodecamp.com/kbaig
korzo
@korzo
Oct 26 2017 23:58
@kbaig If you don't need classes for inheritance, use constructor function.
It's easier to manage private properties.
Kaz Baig
@kbaig
Oct 26 2017 23:59
@korzo fair