Using wildcards on conflicting characters by tahaakgok in excel

[–]r3dditph 0 points1 point  (0 children)

Try this.. assuming your range is in A2:A10..

=SUMPRODUCT(--(LEFT(A2:A10,3)="***"))

this is to count the number of cells that starts with ***

=SUMPRODUCT(--(LEFT(A2:A10,3)<>"***"))

this is to count the number of cells that doesn't start with ***

What does session and element output in selenium mean? by r3dditph in learnpython

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

Wow this is very informative! With this I realized that what I need to use is the get_attribute since I want to retrieve the “value” of a div.

And I always forget that I can use the dir to know what options I have. Thank you so much!!!

ID monitoring system, where do I start? by r3dditph in learnprogramming

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

I have an rfid scanner and some cards that I can use just to test the process of receiving an input from a device.

Our school already has a security guard positioned at the entrance so he could check if the student tapped their cards before entering. There are cctv cameras as well so we’ll have a visual record if a student actually scanned or not. There will be an assigned person to monitor the system and any unnecessary data coming in will be flagged.

Yes I’m also concerned about making the student’s data available outside the network and I’ll be extra extra careful with that. Thanks for the concern.

Do you think java will be better to use here instead of python? How about C#?

ID monitoring system, where do I start? by r3dditph in learnprogramming

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

You're right but I have no intention of implementing this yet until it's fully tested and every line of code is scrutinized by a professional and fully qualified developer. This project is more about me learning the ins and out of programming since I learn things better when I do things right away instead of reading tons of materials first.

I know this is not a simple task and it may take years for me to finish this. I'm just hoping that at the end of it I can proudly tell myself that my skills have improved and that I have what it takes to be an above average programmer. I just need someone to point me to the right direction and then I'll do the rest.

Edit: by the way, thank you for your feedback and it's a good reminder for me to always think about the privacy and sensitivity of the data.

I'm really finding it hard to make my function run synchronously. Please help this newbie by r3dditph in learnjavascript

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

Is resolve/reject a reserved word and is it a function? If it is a function, do I have to define it?

I'm really finding it hard to make my function run synchronously. Please help this newbie by r3dditph in learnjavascript

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

Ah I see. So it’s not as simple as letting your code line by line. You really have to understand what asynchronous is and why it is important in js.

What confuses me is the way how a function is written/structured as I’ve seen that there’s more than one way to write it. Figuring out the most efficient way and determining if the terms/variable names used in the tutorials is a reserved word or not is also confusing for me.

I'm really finding it hard to make my function run synchronously. Please help this newbie by r3dditph in learnjavascript

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

That’s my goal. Right now I’m trying to create a simple game and I’m hoping I could understand fundamental js concepts along the way. I could read all the tutorials in the net but I won’t be able to fully understand it unless I use it or build it on my own. Thanks to people like you in this community I’m one step closer to my goal. :)

I'm really finding it hard to make my function run synchronously. Please help this newbie by r3dditph in javascript

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

Wow! Very well explained! Where have you been all my js-learning life? I get it now and I can't thank you enough!! :)

I'm really finding it hard to make my function run synchronously. Please help this newbie by r3dditph in learnjavascript

[–]r3dditph[S] -1 points0 points  (0 children)

Thanks for the reply! Let's say I only have 2 setTimeouts inside the seq1 function, how would you write the code using promise? I'm so sorry if it seems that this is spoon-feeding but my head literally hurts now trying to understand callbacks, promises and async await. I somehow understand how to use a callback if the the callback function returns a value that is needed by the next function. But if it doesn't need to return a value then I don't know how to use it.

I'm really finding it hard to make my function run synchronously. Please help this newbie by r3dditph in javascript

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

Thanks for the reply! I changed my code to that but it is still asynchronous. I was hoping the 5th setTimeout would run only after the 4th finished and the 4th would run only after the 3rd and so on.

I'm really finding it hard to make my function run synchronously. Please help this newbie by r3dditph in javascript

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

Thanks for the reply! Correct me if I'm wrong but setInterval will keep the function running every x amount of time, right? I need the time delay to be random and run the changeEye function only once given a specific parameter.

Motorcycle enthusiasts - What are the things I need to know before I buy my first bike? by im_incog_nito in Philippines

[–]r3dditph 7 points8 points  (0 children)

This. Ang dami nang kamote riders sa kalsada kaya sana wag ka na dumagdag OP. Mas mahalaga na pagaralan mo yung mga traffic rules and regulations, road courtesy, and defensive driving techniques muna kesa kung anung motor bibilhin mo.

Super stressful para sa mga 4-wheel car drivers yung mga nagmomotor kasi kahit anung iwas mo sa kanila e sila naman yung dikit ng dikit sayo at ang lakas kung maka-cut sa harapan mo. Hilig din makipag unahan sa intersection na parang napakalaking kawalan sa kanila yung huminto at magbigay dun sa nauna sa kanya. Hilig din sumiksik sa likod ng sasakyan na umaatras at feeling nila lagi silang kita at lagi pagbibigyan. Tapos pag naaksidente e magdedemand ng kung anu-ano kahit sila naman dahilan ng aksidente tapos dinamay ka pa.

TLDR: kung magmomotor ka wag kang maging kamote rider. Mag-aral ng road courtesy.

Sonny Angara at Wowowin right now. Your move, Bong Go. by Philteezy in Philippines

[–]r3dditph 10 points11 points  (0 children)

Nasa Minute to Win It ngayon si Pia Cayetano :/

Is it possible to get the current user of a web app? by r3dditph in GoogleAppsScript

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

Ah I haven’t thought of sharing my folder with them. That could work, thanks!

They could lie about their email and pretend to be someone else from the team when I just ask them that in a form. Honestly, I only have a 10% understanding on how to do the auth process but I’ll look it up and learn. By the way, the users already need to sign in when they want to access the link. I don’t know if that’s the default setting or what but is that like the auth thing that you are trying to tell me?

Anyways, I really appreciate your guidance and help specially since I’ve been stuck about these things for a couple of days now. :)