4 ms·
I mean sure, it's not perfect. It might not get you through a FAANG interview, but it would get you through a Kellogg interview.
by howdydoo 5y ago
I mean sure, it's not perfect. It might not get you through a FAANG interview, but it would get you through a Kellogg interview.
- Kye 5y agoI wouldn't survive the interview because I would have to answer "Why do you want to work here?" with "To fund adult art commissions of Tony the Tiger."
- varelse 5y agoI think a more commercially successful venture would be an adult cinematic franchise set in the Dark Frankenberry/Count Chocula universe as they save breakfast (and morning sex) from nefarious threats like the Frosted Lucky Charms Elf and the evil Quisp.
- edmcnulty101 5y agoThe M. Night Shamalayan twist....the Lucky Charms Elf ends up with the girl.
- exdsq 5y agoI don't think it would... A one minute review: - Complicated flakey in-line xpaths '//*[@id="content"]/div/div[2]/div/div[1]/div[1]/div/div/button' ?! - Time.sleep(x) is flakey, you should wait for the element to appear - case first_name | last_name both uses a first_name() generator, should just be generate_name() - Opening and closing the driver 10000 times
- pmcp 5y agoFlakey code might be an advantage in this specific case.
- edmcnulty101 5y ago- Opening and closing the driver 10000 times Can you be more clear on this? I don't see where this is happening. There's a start_drive function that they call once in main and use that reference the entire time. https://github.com/SeanDaBlack/KelloggBot/blob/main/req.py#L54 https://github.com/SeanDaBlack/KelloggBot/blob/main/req.py#L... - Complicated flakey in-line xpaths '//*[@id="content"]/div/div[2]/div/div[1]/div[1]/div/div/button' How else would you get around navigating the DOM which this has to match precisely? - case first_name | last_name both uses a first_name() generator, should just be generate_name() Very subjective? - Time.sleep(x) is flakey, you should wait for the element to appear. Agree with this but maybe it's not possible for some reason in regards to how the webpage is configured?
- gruez 5y ago>Can you be more clear on this? I don't see where this is happening. There's a start_drive function that they call once in main and use that reference the entire time. >https://github.com/SeanDaBlack/KelloggBot/blob/main/req.py#L https://github.com/SeanDaBlack/KelloggBot/blob/main/req.py#L... the call to "start_driver" is inside the "while (i < 10000)" loop
- edmcnulty101 5y agoI mean wouldn't that allow 10,000 parallel operations? If you waited for each one to complete, then close each one, it would take forever.
- gruez 5y agoTheoretically it can be rewritten to do the requests in parallel, but currently it isn't.
- edmcnulty101 5y agoAh good point! Yeah. That is a definite issue then. I should link this thread on the code's github. The author is getting a free code review. haha.
- bick_nyers 5y agoAs someone who worked IT at Kellogg's, I would say the interview was more about confidence and communication skills then it was technical ability. The only "programming" I ever did was VBA/Excel. Although I did dabble with PLC from time to time. I'm not sure if they even have actual software engineers at their company, they seem to like contracting out a lot of that kind of stuff.
- XOPJ 5y agoThis joke went over so many heads, it's brilliant.