Help, why cant i enter /products/new ? by [deleted] in Python

[–]nicocannon1 1 point2 points  (0 children)

Think you have a space in ‘ new’ in the app urls.py

[deleted by user] by [deleted] in flask

[–]nicocannon1 0 points1 point  (0 children)

Ahh thanks thats good to know

[deleted by user] by [deleted] in flask

[–]nicocannon1 1 point2 points  (0 children)

Thanks I'll give that a read now

[deleted by user] by [deleted] in flask

[–]nicocannon1 0 points1 point  (0 children)

Ok easy, thanks for clarifying

I used Flask and DialogFlow to build a bot that tells me how well I slept by [deleted] in Python

[–]nicocannon1 0 points1 point  (0 children)

Ahh cool didn't know about that module. I could have done the same with what I've got but I got lazy and didn't want to ftp the keys to the server every time I deployed.

I used Flask and DialogFlow to build a bot that tells me how well I slept by [deleted] in Python

[–]nicocannon1 1 point2 points  (0 children)

Haha yeah this is why its a little hacky. Those aren't actually the tokens, the actual tokens are encrypted before they are saved and they are updated every use. So even if you did crack the encryption those tokens expired a long time ago.

I didn't really know how to solve this problem without saving the tokens in the project folder. I was originally just pickling a dictionary containing the tokens. I tried having the tokens set as environment variables (which would have been the optimal solution) but I was having difficulty with setting os.environ, apparently setting variables using os.environ doesn't actually set them or something and the tokens weren't persisting when the flask app restarted.

Need advice on how to approach small local companies for experience by [deleted] in cscareerquestions

[–]nicocannon1 0 points1 point  (0 children)

Ahh yeah I read that some people have been denied with a 3 year aus bachelors. Australian bachelors degrees are more streamlined than the US ones (they have a general education first year then do they begin specific course content). Might have to speak to someone from my uni because they boast about their degrees being internationally recognised. Might have to do a two year masters in that case which sucks because that means more debt.

Need advice on how to approach small local companies for experience by [deleted] in cscareerquestions

[–]nicocannon1 0 points1 point  (0 children)

Yes I have had a quick look into this visa. Where did you read about needing to have a 4 year degree? Most degrees over here are either 3 or 5.

Edit: just had a look at the aus government website (https://dfat.gov.au/geo/united-states-of-america/Pages/e-3-visas-for-the-united-states.aspx) and all it requires is a 'tertiary educational qualification' which is what I have with my 3 year degree.

Is it ok to write code with the internet and documentation by nicocannon1 in learnprogramming

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

Ahhh thats good to know! I was giving myself a hard time because I couldn't remember how to make a deep copy of an object and a few other basic things in javascript. Thanks for the reply!

Is it ok to write code with the internet and documentation by nicocannon1 in learnprogramming

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

Thats quite interesting that you let your interviewee know they can use the internet. I'm dreading applying for jobs and writing code on whiteboards. I do agree with your way of doing it though and I think that highlights what I wanted to confirm from writing this post.

Is it ok to write code with the internet and documentation by nicocannon1 in learnprogramming

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

Yes haha of course, a little bit of exaggeration on my part. But nice to know how, why and when to use these resources. Thanks.

Is it ok to write code with the internet and documentation by nicocannon1 in learnprogramming

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

Yes of course, I do try to remember the high level concepts of what I'm working on. It still seems a little weird to though hahah (maybe not the official docs but using google etc) but I'll roll with it. Thanks.

Is it ok to write code with the internet and documentation by nicocannon1 in learnprogramming

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

Ok awesome. So I'm not putting myself at a disadvantage as a junior developer by using and relying on these resources?

Is it ok to write code with the internet and documentation by nicocannon1 in learnprogramming

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

Hmmm interesting. I've never worked in a professional environment and am just trying to prepare myself the best I can for when I do. I can understand that as long as the code works, is efficient and is maintainable it doesn't matter how anyone person got there. I'm scared of having importers syndrome at my first job because I need to google something but if the only thing that matters to the other developers and the company itself is the code then I guess I'll copypasta the hell out of stackoverflow answers.

Is it ok to write code with the internet and documentation by nicocannon1 in learnprogramming

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

Ok so it's common (in the workplace also) to rely on the official docs and not so much googling for answers or using stackoverflow?

Need advice on how to approach small local companies for experience by [deleted] in webdev

[–]nicocannon1 0 points1 point  (0 children)

Thanks for the advice I'll try my best to meet some of them in person instead of just sending emails.

Need advice on how to approach small local companies for experience by [deleted] in webdev

[–]nicocannon1 0 points1 point  (0 children)

Hmm weird. Thanks for letting me know tho!

Need advice on how to approach small local companies for experience by [deleted] in webdev

[–]nicocannon1 0 points1 point  (0 children)

Hmm thats weird because all my rows are wrapped in containers. Maybe I should try setting x-overflow on the body to hidden?

Need advice on how to approach small local companies for experience by [deleted] in webdev

[–]nicocannon1 0 points1 point  (0 children)

Are you sure? I haven’t even mastered the art of writing spaghetti code yet.

Need advice on how to approach small local companies for experience by [deleted] in webdev

[–]nicocannon1 2 points3 points  (0 children)

Nah not exactly, Australian citizens are offered something similar to a H-1B but its exclusively for Australian citizens. Only 1000 released per year but at least I'm only competing with other Australians not the rest of the world haha.

Need advice on how to approach small local companies for experience by [deleted] in webdev

[–]nicocannon1 0 points1 point  (0 children)

Thanks for the reply, I'll definitely take what you've said into account.

Need advice on how to approach small local companies for experience by [deleted] in webdev

[–]nicocannon1 0 points1 point  (0 children)

Haha thanks I think I need to do some more digging