Hello, my name is Luis. I'm from Colombia. I'm an electronic engineer but I love to code. I'm not a pro in this, but I try my best to learn every day. I'm learning Angular 6 right now. My favorite non-coding hobby is perhaps to travel. That's it, thanks a lot.
Oh yes embedded is most in use this days and grow like multiply as everyone now know streaming even small companies and organisations going for streaming
Hi Sir, Can You answer this question??
Write a vanilla javascript program that returns 0 when input is 1 and 1 when input is 0. Do not use if, for, while, switch, do statements. Write as many implementation as you can think of (minimum 4 ways).
Well, nothing exciting. I worked for a medical company for about 7 years, but my job was to install, repair and do maintenance to medical devices. Right now my job is in the management area... kind of boring sometimes, but a job is a job ;)
Hello, my name is Luis. I'm from Colombia. I'm an electronic engineer but I love to code. I'm not a pro in this, but I try my best to learn every day. I'm learning Angular 6 right now. My favorite non-coding hobby is perhaps to travel. That's it, thanks a lot.
Good!! I´m from Colombia too !!
Saludos Luis!
I'm a developer but I'm in love with embedded dev, embedded Linux, microcontrollers and such (ST32 HAL is beautiful in my opinion!)
Anyways, welcome!
Hola yo soy NiluX o Linux
Oh yes embedded is most in use this days and grow like multiply as everyone now know streaming even small companies and organisations going for streaming
:) nice
here's one way:
Hi Sir, Can You answer this question??
Write a vanilla javascript program that returns 0 when input is 1 and 1 when input is 0. Do not use if, for, while, switch, do statements. Write as many implementation as you can think of (minimum 4 ways).
Hello. Well, I think this is it:
f1 = (input) => { return (1+input)%2 };
f1(0); // 1
f1(1); // 0
f2 = (input) => { return (1-input)%2 };
f2(0); // 1
f2(1); // 0
f3 = (input) => { return ~input&1 };
f3(0); // 1
f3(1); // 0
f4 = (input) => { return +!input };
f4(0); // 1
f4(1); // 0
I'm waiting for your comments about it. Thank you.
return [1, 0][input]
Nice to meet you Luis.
Nice! :) What kind of projects do you work in as an Electronic Engineer?
Well, nothing exciting. I worked for a medical company for about 7 years, but my job was to install, repair and do maintenance to medical devices. Right now my job is in the management area... kind of boring sometimes, but a job is a job ;)
Hello Luis. Good to have you here
Hello !!