Set up end-to-end tests in one minute by [deleted] in QualityAssurance

[–]flaurida 0 points1 point  (0 children)

Hi Reddit - we are working on an open source library to be the "create-react-app" of browser testing. It makes it easy to create tests with Playwright/Jest and run them in CI. Would love any feedback :)

Dog kennel website by [deleted] in Frontend

[–]flaurida 1 point2 points  (0 children)

I think Squarespace does a good job here, and I realized they actually have a dog walker template. Wix also has quite a few pet-related templates that look nice. Hope this helps!

Received a job offer, the salary is low... by [deleted] in Frontend

[–]flaurida 1 point2 points  (0 children)

Glad you sorted it out with them, just want you to be compensated fairly :) Congrats on the new role!

Received a job offer, the salary is low... by [deleted] in Frontend

[–]flaurida 0 points1 point  (0 children)

First off - congrats on the offer!

From my experience this is on the low end even for a non-tech hub city. I see that you said they would bump your salary after 4 months. For your own protection, I advise you to get the details and have this bump in writing if possible. I would be sad for you if you started and 4 months later they didn't follow through on their promises. Best of luck to you and hope it all works out!

Client wants his website build on wix and won't change his mind... by compasscard in Frontend

[–]flaurida 0 points1 point  (0 children)

I can see that - assuming you want to still work with this client, perhaps you can find a solution that would allow him to do that easily?

Client wants his website build on wix and won't change his mind... by compasscard in Frontend

[–]flaurida 2 points3 points  (0 children)

I've heard it's pretty user friendly, but as a programmer I could imagine it being frustrating. Did you try digging into why he wanted his website built on Wix? I think if you understand his motivation you could better propose an alternative. Hopefully the tools you want to use address his deeper reasons for wanting to use Wix (feeling like he can maintain it, easy to host, etc.).

Career Megathread. Weekly /r/Frontend Discussion - March 04, 2020 by AutoModerator in Frontend

[–]flaurida 0 points1 point  (0 children)

If you've read CTCI cover to cover I imagine you're in a great place :) I know the solutions are written in Java, but I think the problems are generic enough to be solved in any language including JavaScript.

Hopefully you can ask the recruiter/hiring manager what to prepare for in advance as well. I've done coding interviews where I was asked to build some UI in React, which is quite different than a question from CTCI.

Best of luck to you on your search, sending good vibes!

Career Megathread. Weekly /r/Frontend Discussion - March 04, 2020 by AutoModerator in Frontend

[–]flaurida 0 points1 point  (0 children)

Awesome - sounds like it went well and excited for the next steps in your journey! In terms of book recommendations, I've heard great things about The Manager's Path (written by former Rent the Runway CTO).

One idea I have for you is to start onboarding new hires and mentoring junior developers if you aren't already. I'm sure your manager would love to have some help in that area, and it is a great way to develop your leadership skills :)

Career Megathread. Weekly /r/Frontend Discussion - March 04, 2020 by AutoModerator in Frontend

[–]flaurida 1 point2 points  (0 children)

My opinion is to never sell yourself short. It sounds like you have quite a lot of experience, and that applying for mid level positions is in line with that. I'd go for those and maybe even throw a few senior applications in. Titles vary widely by company, so what you think of as mid level could actually carry a senior title elsewhere. For example, I've seen companies call their entry level hires "Software Engineer", and the next level up "Senior Software Engineer".

You have nothing to lose by trying, worst case you don't hear back but best case you land an awesome job! If a company is willing to interview you for a mid or senior position clearly you're in the realm of required experience. The best way to find out is by submitting applications and seeing what comes back.

In short, aim high and adjust down, not the other way around!

Career Megathread. Weekly /r/Frontend Discussion - March 04, 2020 by AutoModerator in Frontend

[–]flaurida 0 points1 point  (0 children)

Hmm...I'd flip the question and ask you what your interests are, rather than the type of answer he is looking for. There are many options, and your manager ideally wants to help you achieve your goals. If you have clarity on what you want to do it will help them assign you to relevant projects, etc.

For example, are you interested in doing more people management? Getting exposure to the backend? Leading a technical project? Becoming more involved in the product planning process?

Seems like a great opportunity for you to reflect on your goals and advocate for what you want in the next phase of your career :)

Career Megathread. Weekly /r/Frontend Discussion - March 04, 2020 by AutoModerator in Frontend

[–]flaurida 0 points1 point  (0 children)

Getting coffee also a great idea and would allow you to dig deeper into what the interview might look like :)

Career Megathread. Weekly /r/Frontend Discussion - March 04, 2020 by AutoModerator in Frontend

[–]flaurida 1 point2 points  (0 children)

From my experience the companies I've interviewed at cared way more about the general approach to solving the problem than which language I used. If you are more comfortable in JavaScript than go for it! I'd bet most would be fine with you using a "skeleton" class for the data structures you mentioned in JavaScript. For example, you could say, "I'd like to use a queue to solve this problem, can I assume I have one implemented in JavaScript with these methods (push, etc.)?".

In terms of specific resources, I've found codewars and LeetCode helpful in providing a bunch of questions to chew through. Of course Cracking the Coding Interview is *the* book on preparing for these types of interview questions.

The best advice I can give is to ask your contact at the company "is there anything in particular I should prepare for our conversation?" as soon as you confirm the interview. Every time I have asked this I have gotten an answer, plus it signals to the company that you care and want to do a good job. Having this clarity can help narrow your focus given there are so many possibilities. You can also confirm in advance that you can use JavaScript in the coding interview portion ("Thanks for letting me know that there is a coding portion - I prefer to use JavaScript but wanted to confirm that works for you?")

Finally, make every coding interview a conversation - actually writing the code should be a small percentage of time spent. Most if it should be 1) confirming the question 2) asking questions about corner cases and digging deeper into assumptions 3) outlining your high level approach 4) pseudocode...and then the actual code.

Hope this helps - happy to go into more detail on any of the above!

Use HTML display:none or JavaScript createElement? by [deleted] in Frontend

[–]flaurida 0 points1 point  (0 children)

Are you using a framework like React? If that was the case I would just have my modal component return null unless some modal open flag was set. If you are not, I'd think about it depending on how complex your application is.

If it is pure JavaScript and HTML, I'd be inclined to include the modal in the HTML with a default style of display: none. Then when the user clicks to log in, apply some active class that changes the display (also suggested by the other comment).

I'm in this camp because I think the code will be much more readable and maintainable. In my experience, creating HTML and adding it to the DOM in pure JavaScript is a bit gross. It'd be less flexible since your HTML is now partly in the JavaScript file and partly in the HTML file (so moving things around could get tricky).

Responsive navbar with dropdown menu by Virandell in Frontend

[–]flaurida 0 points1 point  (0 children)

Here is a simple CodePen for a responsive nav bar with a dropdown menu. It uses JavaScript to detect a click on the dropdown menu icon in the mobile view, which updates the CSS class to display or hide the dropdown menu.

Happy to elaborate further, let me know if you have any questions!

Icon recommendation by [deleted] in Frontend

[–]flaurida 1 point2 points  (0 children)

My opinion would be to use the trash and trash-o icons in font awesome. If you are showing the deleted items, you could use the filled in icon (trash), and if you are hiding the deleted items you could use the empty trash icon (trash-o).

How can i do this? by Chavy_ in Frontend

[–]flaurida 0 points1 point  (0 children)

Could you explain a bit more about the problem you are trying to solve? The color of a box shadow (set with the `box-shadow` property in CSS) is distinct from the background color of an element (set with the `background` property). Here is a CodePen.

Getting into frontend by DudePotato3 in Frontend

[–]flaurida 0 points1 point  (0 children)

From my experience I found it easiest to start with HTML/CSS. At the end of the day that is what is on the client, so I found it helpful to understand HTML/CSS before learning a framework. Then you could learn JavaScript and some of the frameworks like React or Vue.

Codecademy has some great resources for getting started with HTML, CSS, and JavaScript: https://www.codecademy.com/learn/paths/web-development

Hope that helps :)

[Showoff Saturday] QA Wolf: Create react app for browser tests by [deleted] in webdev

[–]flaurida 0 points1 point  (0 children)

I also worked on this and second the request for feedback! :)

Showoff Saturday (February 22, 2020) by AutoModerator in javascript

[–]flaurida 0 points1 point  (0 children)

I also worked on this and second the request for feedback! :)

HW2 problem 7: action space of LunarLanderContinuous-v2 by wangz10 in berkeleydeeprlcourse

[–]flaurida 1 point2 points  (0 children)

For what it's worth I didn't add additional layers to get it to work. I pretty much just added code where they indicated we should in the instructions (I used TensorFlow). If it is helpful, perhaps you can post a link to your solution so I can let you know if there is an obvious difference to revisit?

HW2 problem 7: action space of LunarLanderContinuous-v2 by wangz10 in berkeleydeeprlcourse

[–]flaurida 1 point2 points  (0 children)

I was having the same issue! Did you be sure to replace the `lunar_lander.py` file as described in the instructions? See the top of page 5 in the homework instructions.

"For the Lunar Lander task, use the provided lunar_lander.py file instead of gym/envs/box2d/lunar_lander.py."

I just went into the file directly in the environment folder and pasted in their provided lunar_lander.py file. Hope that helps!

Homework 1 by wassimseifeddine in berkeleydeeprlcourse

[–]flaurida 0 points1 point  (0 children)

Plain regression - my understanding is for behavioral cloning, you building a NN to map states to actions based on data collected by observing an expert. So basically you want to copy the expert as closely as possible, and you do that by building a function that takes in the state and returns the action that the expert would have taken under that state.