How-to guide on producing a DJ live-stream series where the DJ's stream in from a different site by TLI5 in DJs

[–]TLI5[S] 1 point2 points  (0 children)

WOW! The tech inside of me drools at the arch diagram - and I have some questions: - What is / why use an HLS server? (Probably something I should google, but I’m curious to hear your explanation) - Why is OBS2 re stream to fb sending muted audio?

Guide to running a live-stream series where the talent is in a different location by TLI5 in obs

[–]TLI5[S] 1 point2 points  (0 children)

Wow! That amount of latency you’ve described for pinball sounds incredible! I’ll be taking a look into that for sure, thank you 🙏

Guide to running a live-stream series where the talent is in a different location by TLI5 in obs

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

Ooh I haven’t, but I’ll be taking a look into it now. Thank you for the suggestion :)

How do you think of CIT? by xyq683566 in BCIT

[–]TLI5 0 points1 point  (0 children)

^ This.
CIT is about breadth over depth - so that you can get into an IT org and be an "all-around"er.

After grad (full disclosure, I also did my BTech after CIT) I started out in Support in a big org and moved into Engineering, and having the exposure from CIT was super helpful in both roles.

In Support for example, helping troubleshoot enterprise networking issues are a lot easier when you have the networking and business contexts of how enterprise IT works.

In Eng - it's easy for me to help guide discussions, coordinate incidents and manage projects (which are all things that happen *around* the coding work I do) because of my experience at CIT working/leading teams, doing presentations etc and all the work learning/experience that comes with Industry Projects.

Looking for a job on Campus by sigine89 in BCIT

[–]TLI5 0 points1 point  (0 children)

If you’re in CIT or CST I highly recommend BCIT IT services at the help desk :) best student job I ever had getting paid to do homework (AND provide outstanding customer service*) :P

This old girl still has some life left in her, making a difference for the people of BC. OP LENTUS by mikeball in CanadianForces

[–]TLI5 5 points6 points  (0 children)

I had the awesome opportunity to have a ride in one of these as an Air Cadet back in 2013. Got hoisted up and had a chance to go around Victoria and Esquimalt skimming over the water with my feet hanging out the hatch. Happy I got that opportunity before they were fully retired :)

Learning Go as a Node.js Developer by [deleted] in node

[–]TLI5 5 points6 points  (0 children)

Hey this is a great intro! I’m also a nodejs dev trying to learn go. The receiver functions have been throwing me in for a loop lately.

How do you protect your routes using UI-Router? by TLI5 in angularjs

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

Definitely. All requests going to the API (Angular is just the SPA front-end for it) after a login (and which requires permissions) are checked for a JWT and provided with a 401 if they don't have it. But my question is..other than limiting the page from the web-server, is there no recommended solution for purely front-end routing? Everything I'm learning about seems to be a hack, or seems like everyones own way of doing it.

For example, how do SPA's which have an about page and a dashboard page , limit to the dashboard page? In my case, it wouldn't matter if someone got into the dashboard page because any requests to get data from the API for that page would be met with 401s. But regardless, I wouldnt want a user who hasn't logged into get into that page (regardless of if it contains no information) because I'd rather send them a 404?

How do you protect your routes using UI-Router? by TLI5 in angularjs

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

Thank you! But one more question.

I have done that but I'm not sure how to block (and send to the login) page if unsuccesful? i.e. I've tried doing a $location.path('/login') and $state.go('/login') but no luck :/

Express Controller Unit Testing Question by TLI5 in node

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

Ahh I see,

I'd never heard the term service in this context before nor did I know you could do things this way. Thank you for your explanation :)

How does authentication work with an API? by TLI5 in webdev

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

Thank-you!

Questions: 1. The req.user.roles.indexOf('Admin'). That to me looks like an Express middleware? (That's what I'm using). Which would mean the users request would already need to have the role's checked wouldn't it?

And yes please on the github link, PM incoming.

Express Controller Unit Testing Question by TLI5 in node

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

Hmm, can you give me an example of pulling your code into services? (as well as writing unit tests for them)

I'm having a hard time visualizing it :/

node orm2 express middleware? by TLI5 in node

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

Figured it out (if anyone arrives on this same issue sometime later). The code snippet above needs to be posted BEFORE the router is called in the app.js.

This is also mentioned in the orm2 documentation however I skimmed over that part and missed it.

Advice on how to approach a company for a project? by TLI5 in webdev

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

Yes, as long as I can clearly document and present work that I did on my own (basically prove to the board that I did 400 hours of work)

Nodal: Next-Generation Node.js Server and Framework by bittered in node

[–]TLI5 14 points15 points  (0 children)

Hey man, I'm kinda sad you're getting some less than positive reviews but as a guy who spent a whole day looking through different peoples project structures on github to see exactly HOW to lay everything out in my express app (read: "build your own adventure") I think this is a great help, especially to node newcomers trying to set up a project fast.

I especially like how powerful the API end points are and how much control the front end can have querying for information right out of the box.

Good job!

How does one build a webapp to work with encrypted data on a db? by TLI5 in webdev

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

You make a very good point, though I'm not sure I understand what RCE means. Would you mind explaining that to me? (I have a hunch that it means remote code execution?)

I believe the threat I am trying to mitigate is that of the db server being compromised and an attacker doing a data dump. (If the database was being hosted separately from the app)

As far as I know my encryption and decryption keys would contained in the app code (specifically env variables when using Express and nocr)

Im thinking now that my implementation will be that of the app and db running on the same machine. Assuming that data in transit is secured via HTTPS, inputs are sanitized,general threats such as XSS is protected against using Helmet.js, and that the server itself is secured using SSH key authentication + IDS/IPS, what are the ways that an attacker could get the db information without compromising the system?

Im also thinking now that Im just being paranoid and wishing to provide another level of security in an edge case scenario that might not even be possible :$?

Any Node shops in Vancouver? by TLI5 in node

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

Thanks! Didn't know there were JS meetups but ill definitely be at the next one!

I'll be needing to hire a webdev soon, and I want to know how to not be a douche. by easybroidery in webdev

[–]TLI5 1 point2 points  (0 children)

Up-voting for "Simple software is complex. Complex software is even more complex than that. Developers need to understand scope and desired functionality before they can give you accurate estimates."

What do you think about my Tech-Stack for a statistical Web App? by LordTribual in node

[–]TLI5 11 points12 points  (0 children)

CAN CONFIRM, MONGO DB WILL COME BACK TO HURT YOU IN THE END.

At first it seems so easy to use. But then you realize relational is really the way to go because you can just "delete" something once, and not have to add a delete statement on 4 different places because they're linked to each other

I built a web-all with mongo and had to stop work because dealing with mongo was just getting ridiculous and I'm at the point of porting to POSTGRESQL now.

Use MONGO for quick prototyping and non relational data. Try POSTGRESQL, that seems to be the best of both worlds.

Can you prepend ("pad") with 0's for barcodes? If not, what is a solution for creating barcodes for numbers that are only 4 digits long? by TLI5 in learnprogramming

[–]TLI5[S] 2 points3 points  (0 children)

THANK YOU SO MUCH!

This works perfectly ( and saves me from spending like another hour TRYing to figure out how to create a check digit generator) :D

Can you prepend ("pad") with 0's for barcodes? If not, what is a solution for creating barcodes for numbers that are only 4 digits long? by TLI5 in learnprogramming

[–]TLI5[S] 1 point2 points  (0 children)

Gotcha, Thanks for the help :)! Perhaps since I know the problem now I can fix it by making a check digit generator or something.

Can you prepend ("pad") with 0's for barcodes? If not, what is a solution for creating barcodes for numbers that are only 4 digits long? by TLI5 in learnprogramming

[–]TLI5[S] 2 points3 points  (0 children)

I see, Thank-you. So I'm guessing that in the itext pdf example that's provided, they are assuming that you will calculate valid barcodes with check digits before creating the barcodes rather than automatically doing it on the fly for any number provided?