« first day (3196 days earlier)      last day (1756 days later) » 
01:00 - 17:0017:00 - 21:00

5:01 PM
Well not really, I am being offered an opportunity to make an application for a 2 year programme that focuses on being an apex développer. I am just starting out my career right now but this market is so specific I'm kinda scared it might be a mistake.
 
<nav className="site-header sticky-top py-1">
    <div className="container d-flex flex-column flex-md-row justify-content-between">
      <a className="py-2 navbar-toggler" data-toggle="collapse" data-target="#navbar" href="#">
        <svg>...</svg>
      </a>
      <div className="collapse navbar-collapse" id="navbar">
        <a className="py-2 d-none d-md-inline-block" href="#">Product</a>
        <a className="py-2 d-none d-md-inline-block" href="#">Features</a>
        <a className="py-2 d-none d-md-inline-block" href="#">Support</a>
how can I make this navbar collapse and toggle the content?
 
5:32 PM
Guys, I am planing on learning Webpack. I have virtual no clue about it. The project I have been assigned to used webpack 3. How different is Webpack 4 from 3? Should I be looking for courses online on webpack 3 instead of 2 or 4?
 
If the project you're on uses 3 then you should probably learn 3
 
@forresthopkinsa I could not find webpack 3 course on udemy
 
!!lmgtfy learn webpack 3
 
@forresthopkinsa That didn't make much sense. Use the !!/help command to learn more.
 
5:42 PM
@forresthopkinsa of course i google it before i came here
 
so what's wrong with those google results
 
the reason I am still asking this is because it seems to me that webpack 2 and 4 are more popular than 3
I dont want to end up learning stuff that is not useful to me in the long run
 
4 is not completely different from 3
the biggest difference I've experienced is in the plugins
 
if i could learn 4 and still understand 3 that would be great,, if not then i would stick to 3
what the hell
 
If you need to use 3 right now then learn 3
 
5:44 PM
everything is moving so fast
angular 1 2 4 5 6 7 8
rxjs
webpack
how is one supposed to keep up
I miss .net
 
.net is awful
 
atleast it's stable
 
there are only two angulars: angular.js (1) and Angular (2+)
rxjs is just the js port of a much larger project
 
there are breaking updates in version of angular
 
webpack is just a bundler, if you'd rather use gulp or grunt then do that
 
5:47 PM
I guess I will look for good webpack 3 tutorial for now
since it would be useful in the project
Though I am sure I will soon be assigned to another project which will have webpack 4
 
moving between versions isn't hard at all.
it's a config
looks more intimidating than it is
 
@rlemon I hope you are right. I am developer who making a switch from backend to front end. So much to learn , so little time.
 
the only thing that concerns me is that you'll read a webpack 4 tutorial and you'll get used to certain plugins and then you'll realize that those plugins don't exist for wp3
 
webpack, gulp, grunt these are all jargon to me lol I guess I will get the hand of it in time
 
you can think of bundlers kind of like the compilation step
you don't need to compile JS but using postprocessing can make your life easier
for example, you want to write your program spread out across dozens of .js files, but you don't want clients to have to download dozens of .js files, so the bundler bundles up all your files into one combined minimized script file
or you want to use modern javascript syntax but you want people to be able to use your site from IE9, so you transpile your modern javascript into more traditional javascript at the bundling step
 
6:23 PM
@forresthopkinsa how long should it take to learn webpack?
of course its all relative but still.
 
a lot less time than anything else, like Rx
like rlemon said, it's just a config
 
@forresthopkinsa that's good news
thanks
 
i just use a config that worked when i got it
 
yeah you probably can get by without understanding every element of it until you need it
 
6:31 PM
i see.
 
user6718998
6:44 PM
Hi. A very serious question here: can I pass an element from nodeJs to one of my scripts (from node to DOM) ?
 
user6718998
is such thing possible ?
 
you can pass it as a string
but you cannot pass it as an "element"
 
user6718998
well lets' say you make a post to '/' and get an object from res.
 
user6718998
from req.body like : { "name" : "kevin"}
 
user6718998
I want to pass kevin to my script which is used in index.html
 
6:48 PM
It would be passes as a string
If it's in some parsable format, you can parse it
 
user6718998
but how
 
Make a route that returns the information, then make an http request to that route
 
it's probably not much different than how you're currently returning index.html.
well, unless you're doing that with express.static, but eh, still, it's not difficult, just res.json({name: 'kevin'}) in a route.
 
user6718998
the thing is that I'm doing that from another app which embeds this server
 
user6718998
so using window params is not a solution
 
user6718998
6:55 PM
i mean url params
 
that's fine
the work would be done with ajax
so it doesn't mater that you're using an iframe
 
@Thewise How familiar are you with standard ajax and dom manipulation techniques?
 
user6718998
never used ajax :D
 
okay yeah you probably wanna take a crash course in those topics real quick
 
 
1 hour later…
8:16 PM
I like when error messages state how to fix the problem directly
-2
Q: Line 29: Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag (for Redux Provider)

NewTech LoverWhen I run the project it shows this message for App.js: Line 29: Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...? Here is the code: class App extends Component { render() { return ( <div className="App"> <header...

 
01:00 - 17:0017:00 - 21:00

« first day (3196 days earlier)      last day (1756 days later) »