These are chat archives for MontCode/GeneralChat

5th
Oct 2016
Michael Karpinski
@karpimpski
Oct 05 2016 00:04 UTC
@Lilyheart idk if you've stalked yet, but that's totally fine! :P I don't have much Rails on there, but feel free to check out the 3 I have up. just follwing Hartl's tutorial book
Lily Romano
@Lilyheart
Oct 05 2016 00:04 UTC
xD I followed you :p
Michael Karpinski
@karpimpski
Oct 05 2016 00:30 UTC
@Lilyheart I might've stalked your repos a bit too :P what are you using for models? Node?
Lily Romano
@Lilyheart
Oct 05 2016 00:30 UTC
on yelpcamp? That's in a MEN stack. MongoDB, Express and Node.
Michael Karpinski
@karpimpski
Oct 05 2016 00:31 UTC
@Lilyheart and React instead of Angular? or are you only using MEN?
Lily Romano
@Lilyheart
Oct 05 2016 00:31 UTC
Only MEN
I've not touched react not angular.
Michael Karpinski
@karpimpski
Oct 05 2016 00:31 UTC
I really should learn that stack, but for now I just know Rails and what's taught in FCC's front-end course
I really don't like JavaScript in general. the language itself is nice, I just don't like how many different frameworks there are. it's so much to keep track of. I learned a bit of React and tried to learn Node, I just really don't like it
Lily Romano
@Lilyheart
Oct 05 2016 00:32 UTC
If you saw yelpcamp live, in the footer it has a link to the udemy course I wrote it with. It was like the "capstone"project.
Did you see the article I posted in chat earlier? :laughing:
Michael Karpinski
@karpimpski
Oct 05 2016 00:33 UTC
I actually saw the same article on Reddit earlier and it accurately describes my experience with JS (me being the clueless one)
Lily Romano
@Lilyheart
Oct 05 2016 00:34 UTC
It seems to be makin' the circut hard today. Even a teacher brought it up in class today
Michael Karpinski
@karpimpski
Oct 05 2016 00:34 UTC
I'll have to learn the MEAN stack at some point, I'm just very much not looking forward to it. how long did it take you to learn MEN?
the MAIN thing I don't like about JavaScript packages is it just feels like it's holding on by a thread. every time I get deprecation errors and a few console errors with React apps. they seem to work, but it just seems to be poorly pieced together. admittedly that's probably my fault, but I just love how Rails is so much neater than JS packaging
Lily Romano
@Lilyheart
Oct 05 2016 00:35 UTC
Only thing I've done in MEN is that repo. Lookin' at the commits it looks like the bulk of it was done in two weeks.
But that was more or less full time.
If you have a decent foundation in JS basics (nothing crazy), it's pretty simple.
Michael Karpinski
@karpimpski
Oct 05 2016 00:38 UTC
I'd say I'm pretty good at vanilla JavaScript. the code itself doesn't seem hard, just getting started is what kinda made me turn to Rails. the community is fantastic and it's much easier to get going and actually start coding. plus, once you have back-end experience you can learn other back-end technologies a lot easier
so I'm definitely moving onto MEAN eventually, but I'm happy I chose to focus on Ruby
Lily Romano
@Lilyheart
Oct 05 2016 00:38 UTC
Well, that and at least a passing knowledge of database structure and a super basic understanding of HTTP requests. Don't really need to know anything advanced to do super simple MEN.
Here is my gist I used to take notes on all the syntax of things required. https://gist.github.com/Lilyheart/6e7613e17152052c8630ee85e34161b3
Ugh, I wish that wasn't so big.
Michael Karpinski
@karpimpski
Oct 05 2016 00:39 UTC
yeah, I know SQL as a language by itself and I've learned about HTTP. and what exactly is that? I have NPM installed on my computer, would I make an empty dir and run those commands to install express and MongoDB?
can you use MySQL? I don't think it makes much of a difference, but that's my db of choice
Lily Romano
@Lilyheart
Oct 05 2016 00:40 UTC
looks like there are plenty of npm packages and such for it. https://www.npmjs.com/search?q=mysql
as far as the code above, um.. not so much. But you could fork my yelpcamp and play around with it. you'll need to npm install. Running it live wouldn't work without a database to hook into tho.
I linked the gist mostly because if you can read the code and kinda understand what is happening, then MEN will be super easy. But it should be easy regardless for you.
If you go the route of forking my yelpcamp, I might even suggest going back to earlier commits and see how it evolved over time (if that make sense, checkout early commits and work down the line).
Michael Karpinski
@karpimpski
Oct 05 2016 00:44 UTC
yeah like I said I already have NPM installed, as well as React and a few other packages. I'm not sure when I'll try to learn back-end JS, but when I do I'll definitely come here for help if that's okay. like I said the code really seems easy. a bit more verbose than Rails, but the same concept. I just want to focus on Rails (building a fully functioning Facebook clone soon!) and then learn other technologies so I'm more well rounded
Lily Romano
@Lilyheart
Oct 05 2016 00:47 UTC
That's what we are here for \^^/
And on that note, I think I'm going to go lay down. I haven't been sleeping, so maybe I can get a headstart on it. If I usually lay there for 5 hours before sleeping, maybe going to be a few hours early will mean I'll still lay there for 5 hours and get a few hours of extra sleep :crying_cat_face: :zzz: :sleeping: :sleepy:
Michael Karpinski
@karpimpski
Oct 05 2016 00:49 UTC
good night, good luck falling asleep. thanks for some insight into JS!
Lily Romano
@Lilyheart
Oct 05 2016 00:53 UTC
oh, just realized why you repeated you have npm installed. The npm installcommand doesn’t install npm. It uses npm to install the packages in the package.json file.
Lily Romano
@Lilyheart
Oct 05 2016 01:11 UTC
@karpimpski (someday i’ll remember to tag correctly)
Michael Karpinski
@karpimpski
Oct 05 2016 01:23 UTC
@Lilyheart lol, thanks!
Eric Phy
@SimplyPhy
Oct 05 2016 15:21 UTC
anybody know how i could remake this using flexbox? http://codepen.io/anon/pen/ZpvyOv
Eric Phy
@SimplyPhy
Oct 05 2016 15:26 UTC
figured it out
just need to nest another div around the right-side elements, and display them however
Lily Romano
@Lilyheart
Oct 05 2016 15:26 UTC
ah man, i just opened it. /sigh guess i have to do school work now.
Eric Phy
@SimplyPhy
Oct 05 2016 15:33 UTC
i’ll try to find a new challenge for you soon :P
Eric Phy
@SimplyPhy
Oct 05 2016 16:24 UTC
flexbox is finally really making sense
just requires some touch that none of the cheatsheet/blogposts show
Lily Romano
@Lilyheart
Oct 05 2016 16:32 UTC
Eric Phy
@SimplyPhy
Oct 05 2016 16:34 UTC
ha that’s awesome
no time right now but i’ll definitely give it a go xDD
that’s seriously so awesome
Lily Romano
@Lilyheart
Oct 05 2016 16:36 UTC
I love it but haven't found the time to finish it yet xD
It's been sitting in my bookmarks for months.
Michael Karpinski
@karpimpski
Oct 05 2016 17:58 UTC
@Lilyheart that website is so cool! adding it to my bookmarks
Lily Romano
@Lilyheart
Oct 05 2016 18:22 UTC
@lantech19446 did you find flexbox froggy and post it? I can't remember where I found it from.
it's a great way to learn css positioning
JBC944
@JBC944
Oct 05 2016 20:14 UTC
hey everyobe
everyone
Lily Romano
@Lilyheart
Oct 05 2016 22:09 UTC
Howdy Jimmy
JBC944
@JBC944
Oct 05 2016 22:53 UTC
I finished my project
Lily Romano
@Lilyheart
Oct 05 2016 22:58 UTC
woot woot!
Jonathan Herman
@lantech19446
Oct 05 2016 23:12 UTC
@Lilyheart nope wasn't me might have been phy or dave possibly even rob but it was so long ago I don't quite remember