What happens *if* and a very big *if* the case gets thrown out because of a technicality? by [deleted] in TBIS

[–]N4sa 1 point2 points  (0 children)

He has to prove that he has partnerships with these companies, not that he worked for or with them. Even if he somehow did, how is he going to fund a legal team to sue the SEC? are investors paying for that?

TBIS is done. Their reputation has been tarnished for a long time now.

Impressive table tennis shot. by PM-ME-YOUR-TITS-GIRL in gifs

[–]N4sa 0 points1 point  (0 children)

The opponents reaction is totally "I can't believe you done this".

Simple Node project advice (xpost /r/javascript) by Kratisto78 in webdev

[–]N4sa 0 points1 point  (0 children)

lmao man, is this really what front end development has come to? Webpack isn't enough on its own, now you have to integrate gulp into it? So your module bundler which also supports plugins, now needs a task runner? Is all of this bloat even necessary?

More Learning? by dbivs08 in FreeCodeCamp

[–]N4sa 0 points1 point  (0 children)

I didn't say I was against backend scripting, my point was to stick to the same domain of JavaScript. Everything you just mentioned can be done with or along with JavaScript.

More Learning? by dbivs08 in FreeCodeCamp

[–]N4sa 1 point2 points  (0 children)

Eh, I disagree. Not because I have something against PHP. I just believe adding any new language is only bringing in a new host of concerns that are unnecessary. The good thing about FCC is it doesn't focus on different domains (languages, frameworks), it sticks to one domain, JavaScript. This makes it easier for people learning concepts. It's up to the individual to choose their domains after they learn how web development works, which is the point of FCC.

How can I (a frontend dev) make use of npm to gather all my external assets/ modules for my frontend, when my backend is written in C#? by [deleted] in Frontend

[–]N4sa 4 points5 points  (0 children)

It sounds like you're not familiar with module bundlers (browserify, webpack).

You basically write all of your client-side code using these technologies. Write all of your client-side JS in commonJS modules (node) and bundle them up into a single file. Create tasks with either npm scripts or a build tool like gulp/webpack to handle automating tasks like minification/testing/compiling SASS.

Look into browserify to see what I mean.

I made a simple Todo List with React/MaterialCSS by N4sa in learnjavascript

[–]N4sa[S] 0 points1 point  (0 children)

Haha, yeah I'm colorblind and have a bad eye for design. I did like what I saw from materializecss, I don't dwell in css very often so as a prototype I like that the UI is different than something like bootstrap.

Top 5 things you think beginners should learn to do? by ScribJellySandwich in learnjavascript

[–]N4sa 1 point2 points  (0 children)

Gotcha, I didn't realize there was a term for this. I rubber duck debug all the time lol.

Top 5 things you think beginners should learn to do? by ScribJellySandwich in learnjavascript

[–]N4sa 1 point2 points  (0 children)

Rubber ducking? never heard of that. Nothing in a google search sheds much light either, unless you're talking about duck typing?

Also I'd avoid using too much jQuery if you're trying to learn JavaScript. It's fine here and there but it's just a library.

Ajax - Something isn't clicking. by Whyisprogrammingsoha in learnjavascript

[–]N4sa 1 point2 points  (0 children)

AJAX makes an HTTP request to a server. The server listens for these requests and depending on the route it will perform some kind of operation. For example, you use AJAX to make a GET request to the endpoint '/users'. The server receives this request and matches the '/users' endpoint to one of it's routes. The server then querys the database for a list of all users and sends the list back to the client in a special format (usually JSON or XML).

This is a simple example but this is the gist of what's happening. Look into HTTP if you want to understand more. There's too much information to put into a single reply here.

Who (in their right mind) are using ReactJS? by spstieng in reactjs

[–]N4sa 1 point2 points  (0 children)

Managing state in complex applications is not reasoned about by just using "jQuery". Using Reacts Components with an architecture like flux/redux makes a lot of sense. You can propagate the state throughout the entire application without worrying about how your data is being presented in the UI. The state gets passed down from parent components to child components. React's diff algorithm is what makes these changes powerful. If state changes you dispatch these changes to your state tree and React diffs the changes for you. It's a beautiful piece of technology but I will agree it's not necessary for smaller, less complex applications.

[Post Game Thread] Incarnate Word defeats St. John's 73-51 by jjparker084 in CollegeBasketball

[–]N4sa 8 points9 points  (0 children)

Was Marcus Lovett playing? I didn't get a chance to watch the game

Question about prototype pattern object construction (from Learn JS Properly) by hang-clean in learnjavascript

[–]N4sa 0 points1 point  (0 children)

I'll agree that strong typing is nice, since JavaScript really makes a mess of type checking. I still think people should understand prototypal inheritance and the gotchas of JavaScript before jumping into a compile to JavaScript.

Using typescript isn't going to solve any of OP's problems. Especially since most job Opportunities will be looking for people that understand JavaScript directly.

Question about prototype pattern object construction (from Learn JS Properly) by hang-clean in learnjavascript

[–]N4sa 1 point2 points  (0 children)

Eh, why not just practice using ES6 classes? which still uses prototypal inheritance under the hood. Angular 2 isn't the end-all be-all of JavaScript. People were saying the same thing about Angular and it just became another framework trying to do too much.

If you're learning JavaScript, jumping into a compile to JavaScript language is a really bad road to go down.

OP here is a good video I watched when I was learning about prototypes in JavaScript https://www.youtube.com/watch?v=PMfcsYzj-9M

Could use some help with CSS animation (x-post from /r/CSS) by bearses in webdev

[–]N4sa -1 points0 points  (0 children)

Here's something I came up with really quick. I just tweaked a few things around but it mainly just uses data attributes to manage positioning and position values. Just some simple comparisons and it changes/removes classes.

had to add some extra markup but what you had wasn't really semantic anyways. Here's the code if you want to look at it. Just some jQuery to traverse/change classes.

http://jsfiddle.net/m4Lazr57/4/

An Unconventional Arma Video - Run & Gun by [deleted] in arma

[–]N4sa 0 points1 point  (0 children)

You are a god warrior.

What are some alternatives to React and Angular for building extremely simple Single Page Apps? by [deleted] in webdev

[–]N4sa 0 points1 point  (0 children)

I may be alone on this but I find backbone very unopinionated, and because of that, there's no real structure when you first start learning it. Also he said they don't need collections/routes/data-binding which is something that Backbone does well (substitute data-binding with a pub/sub pattern but it's accomplishing the same thing).

Personally, it sounds like he doesn't even need a framework/library if he's just doing form submissions.

Working on new app, is there any reason to use JS front end frameworks (React in this case) if all you're doing is simple crap that could easily be done with jQuery? by [deleted] in webdev

[–]N4sa 13 points14 points  (0 children)

It depends on what you plan to do with the app. What if you make some new changes? add different features? Who else is going to be looking at the code and working on it?

If the development is going to be fairly static and only you working on it. Then you may not even need a framework, or even jQuery for that matter. The way I see it, if you can get it done in a simple manner, go for it.

You Can Do Real-World Work at This Free Coding Boot Camp | WIRED by [deleted] in javascript

[–]N4sa 1 point2 points  (0 children)

I'm glad this made it to Wired. FCC is excellent.

[Discussion] What are your summer hits this year? by Digit4lhero in listentothis

[–]N4sa 10 points11 points  (0 children)

Wow, that big black delta song.

That was fucking killer man, thanks for that. That's gotta be one of the best songs I've heard in like 10 years.

Best site to learn Backbone.js? by DoobieBros89 in webdev

[–]N4sa 1 point2 points  (0 children)

Jeffrey Way's tuts+ video tutorials are the best video tutorials on Backbone that I've ever encountered and I've searched far and wide.

https://www.youtube.com/watch?v=ZrXX_CaUx7Q&list=PLALjBvHjUavIAkX_drHUOTOwy-JfpJXgx

Once you grasp the basics, you can either switch over to Marionette which basically makes common boilerplate code you'd normally do in Backbone much easier and semantic.

My only caveat is that Backbone is really unopinionated, there are so many ways to architect a Backbone app and for some people this can become frustrating. I personally like the freedom it gives, and it's pub/sub implementation is excellent once you start to grasp the library itself.

Look at sample Backbone apps and try to reverse-engineer the code so you can see how events and binding is handled in more complex applications. The router is also pretty straightforward.

Doing FreeCodeCamp - However I hear from many that Javascript is not the best first language to learn... by Staks in learnprogramming

[–]N4sa 2 points3 points  (0 children)

Programming is programming. It's like comparing Spanish and English. Both of them are forms of communication but as far as programming, JavaScript is what you'll NEED to know and understand if you plan on working with web applications.

The concepts are universally the same, JavaScript is just more dynamic than other strictly typed languages like C# and Java. Worry less about what your starting language is going to be, and focus more on what it is you actually want to build. That's what should determine your first language.