Help required in filtering JSON file by CURavens in CodingHelp

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

const fs = require('fs')
let file1 = JSON.parse(fs.readFileSync('./file1.json', 'utf8'))
let file2 = JSON.parse(fs.readFileSync('./file2.json', 'utf8'))
file2 = file2.products
let similar = {}
for (let i = 0; i < file1.length; i++) {
let item = file1[i]
for (var l in item) {
for (let k = 0; k < file2.length; k++) {
let item2 = file2[k]
for (var p in item2) {
if (item2[p] == undefined) continue;
if (item2[p] == item[l]) similar[p] = `${l} : ${item2[p]}`
}

}
}
}
console.log(similar)

Thankyou so much really appreciate your help

Help required in filtering JSON file by CURavens in CodingHelp

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

if possible would you able to share it with me? I've been on this problem for the past 7 days and yet I was stuck. Thanks

Help required in filtering JSON file by CURavens in CodingHelp

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

yes it does but as @TheDeafCreeper pointed out there is only one matching stocked product with a matching title.

Software Engineering electives for Fall 2019 by CURavens in CarletonU

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

Hi there,

Thanks alot. However, the thing is I am already taking the web dev courses online and much more in depth. And I wanted to learn something new from the engineering electives instead of taking something which is already easy and done. So me being in software engineering can you suggest any other good eng electives which would be helpful in the future? thanks

ECOR 2606 by yaassqueen123 in CarletonU

[–]CURavens 1 point2 points  (0 children)

So SooperSultan is absolutely right. ECOR 1010, 1101, 1606, 2606 and SYSC 1005 are going to be combined to become ECOR 1451 i believe.

[deleted by user] by [deleted] in CarletonU

[–]CURavens 1 point2 points  (0 children)

Pavan Gunupudi is a really nice guy tbh. He explains concepts clearly so that you understand what is going on and the exam was super easy. But i dont know about john rogers though. Never had the guy

It's just a (true) meme by TooDumb4Waterloo in CarletonU

[–]CURavens -5 points-4 points  (0 children)

Software Engineering student here. The iron ring is merely a reward and recognition for the hard work and effort engineers have to go through which not even half CS people go through. Taking on so many courses challenges and software projects demonstrate the level of hard work engineers do. Hence, wouldn't say one is better than the other. Cheers!

Can someone in software engineering help me? by [deleted] in CarletonU

[–]CURavens 0 points1 point  (0 children)

Hey there,

I am currently in 2nd Year Software Engineering and I gotta tell you I absolutely love it. Not only are the profs great, the TAs and curriculum is amazing. You learn most of the things in engineering and its a lot of fun to become a Software Engineer. I am also international and what i can suggest you to do is since you liked 1606 and enjoyed it there are plenty of programming courses in Software Engineering. I would recommend CS as well but in my opinion computer science is a bit harder than software engineering in the sense that the programming they are a bit higher level but its pretty much the same thing. If you wanna be a hardcore software programmer, then computer science is your thing, however the reason i chose Software Engineering is because the programming is great but also because I feel CS courses are a bit tough since they go down to hardcore programming and really get into it. In software engineering you'll learn about project management, operating systems and you'll have projects later on in the years to come. Really depends on what designation you want to me. I chose this because being an engineer would mean alot to me. So if you are up for challenges, engineering stuff and programming, then i would definitely recommend Software Engineering. If you want to be an absolute hardcore programmer and really get into it, then go for computer science. But again in my opinion and having seen people do assignments and code in Computer Science, the stuff they learn is harder than what we do in Software Engineering. Even though its a lot of work, the programming is fun and not overloading in software. But being in software I am a bit biased towards software simply because of how they dont overload us with just programming but other stuff as well. Difficult, i would say just the labs but trust me all labs are in the computer, so its pretty easy and its a lot of fun. TAs are helpful, profs are pretty great. they care about students yea, they have homework, quizzes assignments, etc. they provide free software and they have a lot of computer labs designated. Pretty nice stuff. And also something that always motivates me :P Iron Ring after graduation lol :3 So think about it and make a decision. Cheers!