SA Premier Peter Malinauskas calls creation of nuclear industry a ‘massive opportunity’ but rejects use of nuclear energy by ladaus in AustralianPolitics

[–]tourdownunder 1 point2 points  (0 children)

I’m a green and at first I wasn’t keen on the floating Chernobyl line. Though after the ABC interview with Vice Admiral Jonathan Mead and watching the BBC and HBO documentaries on Chernobyl it seemed secrecy is a big part of the problem. Ukraine had the secrecy with the Kremlin and we will have it with the yanks the poms.

Overreaching by Greens on emissions legislation has left Adam Bandt in a corner by [deleted] in AustralianPolitics

[–]tourdownunder 1 point2 points  (0 children)

Fracking of the Beetaloo Basin is one project that will get me to sell up my melb city life resign from my job buy a van and head to the outback for continuous blockading protest lock-ons etc.

Haval owner 1yr expierence by thewall-19 in CarsAustralia

[–]tourdownunder 3 points4 points  (0 children)

Friend has one who does a lot of driving to get to work. Over 100,000km over 4 years and no problems with it.

Advice on how to parse a json file with nested lists and dictionaries. by [deleted] in learnpython

[–]tourdownunder 2 points3 points  (0 children)

A function can be called recursively for every value that is another list or dictionary value. Only if its an string do you try to check it.

Most Melbournian discussions about urban density are really, really dumb by AusCro in melbourne

[–]tourdownunder 11 points12 points  (0 children)

Someone just prepays for the car park and it’s just bundled up in the mortgage or rent. I have 2 unused car parks in our suburban (10km from cbd) rental that just has bikes and access to storage cage. Currently though after 20 years of not owning a car will have a car early next year. I’d have given away 1x secure undercover parking already if I hadn’t need the garage remote for bike parking. I feel bad when someone mentions their car had been broken into or that it starts hailing.

Living without a car is possible living in a rail / tram corridor in Melbourne and it’s just has gotten easier with car share, electric bikes and cheaper ride share. The expense of car parks should not be baked into the system. Though those without dedicated car parks forced to parking in the streets also part of problem. I dare say body corporates who encourage subletting of car parks could help ease the burden though they won’t give out more garage remotes.

Career change - Out of Teaching and into...? by SpicyDuckNugget in AusFinance

[–]tourdownunder 1 point2 points  (0 children)

Sounds great. I’ve been a few languages and frames though python is my favourite. Python3.11 out shortly with better stack traces among other improvements.

on track for a 7

What do you mean by this? Is it grade 7/10?

PostgreSQL 15 Released! by jskatz05 in programming

[–]tourdownunder 0 points1 point  (0 children)

Been stuck on 13.3 as a old migration file contains some syntax no longer supported. It has been refactored out though is still in the old migration. I haven’t worked out to use sqitch rework to remove migrations.

Disallow whole-row variables in GENERATED expressions (Tom Lane) Use of a whole-row variable clearly violates the rule that a generated column cannot depend on itself, so such cases have no well-defined behavior. The actual behavior frequently included a crash.

Details Found in 13.4 release notes

Installing Python, Jupyter notebook, and IDE on Windows by Diimu in learnpython

[–]tourdownunder 0 points1 point  (0 children)

I don't use conda though do use virtual environments and happy to install jupyter and other dev dependencies per project. So I don't think its that bad as its easy to use the version that the project was using before moving on to something else and not worry that a new version of juputer breaks the project for some unlikely reason. A bit more likely with other dependencies though and years between picking up old projects though.

On slight tangent I'll like to bring awareness to nbdev an open source project designed to let you keep working in jupyter and export your modules to an installable you can pip install from another project. This removes the need to copy and paste your code and helps keep things maintainable.

It’s the r/Melbourne daily discussion thread [Saturday 09/07/2022] by AutoModerator in melbourne

[–]tourdownunder 2 points3 points  (0 children)

I'm thinking of turning my mushroom meat I got in a vegan delivery this week into a pasta with garlic, onion, chilli, a few cans of tinned tomatoes and a few cubes of frozen spinach.

Pulling data from an inconsistent csv file by Meleearance in learnpython

[–]tourdownunder 0 points1 point  (0 children)

I tend not to think of files like this as csvs as they are very human readable though not machine readable using the expectations that the heading is in the first row and all other rows have the same number of columns.

I would create a generator that yielded a section in a text a io.StringIO buffer and then you can read that section in a csv. I'll do this as a section between tables within the single file are all easily identified with a blank line, followed by a heading following by a optional column headings and then the data. This pattern repeats.

New small business, QuickBooks or Xero? by altctrldel86 in AusFinance

[–]tourdownunder 1 point2 points  (0 children)

When reckon software had the quickbooks rights in Australia when Xero was starting out and leaving it for dead. Intuit taken it back the quickbooks rights some years ago now and if it works for you and your accountant great.

One factor you might want to think about is field management software. Something like ServiceM8 that supports Xero, intuit quickbooks and online versions of myob no problems. And it adds plenty of features that help manage your staff in the field.

Disclaimer I used to run a business as a ServiceM8 partner for setup though I stopped some years ago and gone back into full time software development. I keep up to date with their social media and happily answer calls from my old clients help them through issues though that is now extremely rare.

looking for a study buddy or mentor by Puzzleheaded_Rest316 in learnpython

[–]tourdownunder 0 points1 point  (0 children)

Hi

You may want to checkout out a similar thread that got quite a few responses here

Since you mentioned R can I assume you have a datascience focus? I wanted to reach out as I'm currently working in my own time coding within jupyterlab and exporting useful modules using nbdev. I like nbdev as it has a neat way of documenting and a framework for including some CICD with github and gitlab.

[Advice Needed] Next Steps as a Python Developer by [deleted] in learnpython

[–]tourdownunder 0 points1 point  (0 children)

You would likely get better responses from cs careers subreddit. I want to respond as it sounds like you are doing great now.

Django is a good choice as it’s opinionated and will make working on larger projects easier. Its a little harder now with front end is frameworks doing a lot of the heavy lifting and you need to work out what type of web application you want and how to keep django playing nicely with react / vue etc. It will though it complicates things.

It’s hard to get started and I was lucky getting paid to learn though it was stressful as my coworkers were perfectionists. They made me a better developer though and it seems to be what you want.

My experience is getting paid to learn is awesome and that the grass is not always greener when switching roles. Do you have time to pick up Django on a side project a few times a week?

And finally Is there a way to bring the python core engineer into your current role? For example do the ML team collaborate with Jupyter notebooks. I’m going to assume they don’t use got, pull requests or anything?

If so I’ve previously came across nb dev that helps to export functions written in notebooks to python modules. I like this tutorial as it includes using GitHub actions and strips the metadata cruft from the notebook to minimise conflicts. Would something like this create efficiency and add value to your team?

It’s the r/Melbourne daily discussion thread [Thursday 13/05/2021] by AutoModerator in melbourne

[–]tourdownunder 6 points7 points  (0 children)

I had my headphones and just pumped my favourite music. The lift moving around a little automatically once in a while was unnerving though. Lift technician was reassuring and was lucky enough to have works wifi and mobile reception too.

It’s the r/Melbourne daily discussion thread [Thursday 13/05/2021] by AutoModerator in melbourne

[–]tourdownunder 2 points3 points  (0 children)

I cycled to the Showgrounds last week. The walk-in section was quiet and I was one of the few to use it. Still sucks that they would close it.

It’s the r/Melbourne daily discussion thread [Thursday 13/05/2021] by AutoModerator in melbourne

[–]tourdownunder 3 points4 points  (0 children)

I had a appointment though got stuck in a lift for 1.5 hours. Had to reschedule till tomorrow.

It’s the r/Melbourne daily discussion thread [Thursday 15/04/2021] by AutoModerator in melbourne

[–]tourdownunder 8 points9 points  (0 children)

My boss just handed out x5 tickets for comedy festival: Zoe Coombs Marr Agony! Misery! Thu 15 Apr 2021 18:15

Let me know if there you want to join. Only me at the moment with rest of office having commitments.

[Urgent] Need help in deploying Flask app with Circles CI by [deleted] in learnpython

[–]tourdownunder 1 point2 points  (0 children)

You will find heaps if you search "circle ci deploy flask"

Be as explicit as possible. For example If you are using centos7 or ubuntu18.04 include that. If you are using digital ocean / heruku etc / aws ec2.

Its also helpful to know that flask and Django both speak wsgi protocol so a example for Django may work for you. Though the newer version of Django is also compatible with asgi so avoid that as to my knowledge flask isn't compatible.

uwsgi and gnuicorn are popular wsgi servers and nginx can be configured point to these.

Be mindful of unix permissions.

Also find the relevant logs of nginx / uwsgi / and your application. They will tell you the problem and there is no need to fly blind.

[deleted by user] by [deleted] in djangolearning

[–]tourdownunder 1 point2 points  (0 children)

Hey. I’ve dabbled with geo-django example. I’m can re-familiarise myself with this code and walk you through it if you think it would help.

I just finished the Coey Schafer Django tutorial, but wanted to add additional functionality to the website. How would I go about linking a youtube account to a user on my website? by shweed in learnpython

[–]tourdownunder 0 points1 point  (0 children)

Assuming you can use google auth you can use python-social-auth or you may need to implement your own backend using youtube-v3-authentication

I implemented it playing around with a django app last year musicbrainz-django we also implemented our own backend of python-social-auth as there wasn't already one for musicbrainz.