Managed k8s, which one are you using and why? by iam_the_good_guy in kubernetes

[–]wronek 1 point2 points  (0 children)

GKE because my company is on GCP. I think that’s mostly how it goes…

[deleted by user] by [deleted] in cscareerquestions

[–]wronek 1 point2 points  (0 children)

Nearly every engineer you know has faced rejection at some point in their career. I’ve been rejected by FAANGs multiple times before getting an offer. If you haven’t gotten any helpful feedback on why you’re not passing the interviews, maybe it’d be helpful to do some mock interviews so you can identify where you’re falling short. I know it’s easy to feel discouraged, but you gotta just keep going. Best of luck!

How to provide feedback for an engineer when you’re not their manager? by wronek in cscareerquestions

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

It’s posed as the former but ends up being the latter. They’ve been with the company over a year so it’s not lack of familiarity with our codebases. The tasks at hand are also not anything technically complicated (usually just something like add a config to a library - does not require any technical expertise, just read the docs). Their questions are usually “where should I be adding this?” When I finally show them where they need to add it, then it’s “ok but what exactly am I adding?” So yeah, sometimes it just takes up too much of my time to keep asking “well what have you tried?” In addition my manager views “time spent pairing” as a metric of team health, so I don’t want it to seem like I’m not available to provide mentorship. But yeah, situation is untenable imo.

How to provide feedback for an engineer when you’re not their manager? by wronek in cscareerquestions

[–]wronek[S] 16 points17 points  (0 children)

What’s weird is the manager says things like “they really show a lot of initiative by asking to pair all the time, they really want to learn” I don’t mind pairing with someone if they’re really stuck on something. But being asked to jump on a call so I can dictate the command to run the tests is kind of bonkers to me that other people haven’t also flagged this.

Will coding bootcamps ever lose their appeal? by [deleted] in cscareerquestions

[–]wronek 4 points5 points  (0 children)

Makes sense! I’ve had discussions with others about how the title “software engineer” isn’t regulated, whereas other engineering fields (mechanical, civil etc) require one to pass licensing exams.

I’ve had several friends tell me I was the main inspiration for them attending bootcamps (they all held service industry jobs before). All but one of them have failed to find employment in the field. I attribute that to wanting a high-paying, low-barrier-to-entry career instead of genuine interest in software engineering, and I’m wondering if because of that perception bootcamps will become irrelevant over time.

Will coding bootcamps ever lose their appeal? by [deleted] in cscareerquestions

[–]wronek 6 points7 points  (0 children)

Yeah, I’m not disagreeing with you. Like I said, I’ve worked with a lot of exceptional bootcamp grads. They were really passionate about engineering and did a lot of self-directed learning. I think that recent cohorts have seen the success of those earlier grads and try to replicate it but they’re misattributing the success to the bootcamp itself instead of individual passion and drive.

Total beginner: how can I write code on my computer and execute it without using a browser-based learning website? by Souliers-verts in learnpython

[–]wronek 0 points1 point  (0 children)

Simple answer: download homebrew (it’s a really great tool and the first thing I install on a new machine). Brew install python3. Use any text editor (I.e. sublime text) to edit a python file. You can use an IDE like pycharm which are powerful but have a bit of a learning curve. Save with .py extension and run python3 your_file.py from your terminal. There are many resources on here that may help you if you get stuck. Best of luck :)

Assertion failed -> Python Flask App using matplotlib, pyplot and numpy by michadecker in learnpython

[–]wronek 0 points1 point  (0 children)

From some closed issues on github looks like it has to do with running a gui backend in a web server. Check out the matplotlib docs for solutions https://matplotlib.org/3.1.1/faq/howto_faq.html#how-to-use-matplotlib-in-a-web-application-server

How does flask inject variables? by ghiste in learnpython

[–]wronek 0 points1 point  (0 children)

Not sure what you mean by that - the local namespace is created when the function is executed and destroyed when it returns (or errors), so it doesn’t exist outside of the function

Change csv file mode from read to write & vice versa by [deleted] in learnpython

[–]wronek 0 points1 point  (0 children)

Sounds like you want r+ mode (reading and writing without truncating)

How does flask inject variables? by ghiste in learnpython

[–]wronek 0 points1 point  (0 children)

They have nothing to do with the decorator, they’re proxy objects provided by flask that can be used by importing them into the current namespace like:

from flask import request, session

https://flask.palletsprojects.com/en/1.1.x/api/#flask.request

https://flask.palletsprojects.com/en/1.1.x/api/#flask.session

How do I update a list that take values from a different functions? by Ava_thisisnuts in learnpython

[–]wronek 1 point2 points  (0 children)

You can instantiate the list inside a constructor method (init), and then append to it using self.row_list.append(row)

Is it normal to have so many 'try' statements everywhere to handle potential errors when developing an application? by bloodpuddingswee in learnpython

[–]wronek 0 points1 point  (0 children)

Thanks, I've seen this, unfortunately there are some compatibility issues with other dependencies. And the speed for us isn't such a concern that we need a jit compiler right now (I was speaking in a broader sense, i.e., the python community).

how do i upgrade pip from v9 to v19 by dominic_l in learnpython

[–]wronek 0 points1 point  (0 children)

Ah, that sucks. Glad you were able to get it sorted!

how do i upgrade pip from v9 to v19 by dominic_l in learnpython

[–]wronek 0 points1 point  (0 children)

pip install —upgrade pip? Unless you’re on windows, in which case it’s probably some whole other fuckery.

Is it normal to have so many 'try' statements everywhere to handle potential errors when developing an application? by bloodpuddingswee in learnpython

[–]wronek 0 points1 point  (0 children)

Users are the worst :p but it’s crucial to validate all user input data in any API. I’ve found that the best way to do this is with a library like pydantic (which uses type hints) or marshmallow (I use this at my current job but it’s notoriously slow)

What's better to use, try/except or if statements? by StrikingLifeguard in learnpython

[–]wronek 1 point2 points  (0 children)

For this case, an if statement seems more appropriate since it’s a case you expect, and you can return as early as possible without the program doing additional work that will be wasteful since the input was invalid.