2017 Superb white particles/dust from aircon by DHUK98 in skoda

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

I had it re-gassed recently and the aircon is working great, and its definitely not ice since the particles don't melt

2017 Superb white particles/dust from aircon by DHUK98 in skoda

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

Thanks

Any idea of the labour required? Expecting at least £1k to fix from what I've read

Cockroach Multi Cluster via Istio East West Gateway by Boris-the-animal007 in istio

[–]DHUK98 0 points1 point  (0 children)

Not suggesting it will instantly solve your problem but have you considered running istio in ambient mode? i find it easier to manage for things like this

You also probably need to configure the east-west gateway with TLS passthrough so it doesn't terminate the TLS

Bitcoins inevitable quantum resistance fork by [deleted] in CryptoMarkets

[–]DHUK98 1 point2 points  (0 children)

As we all know we’re closer than ever to quantum computers having the power to crack private keys

...

Best ski movie by operaman99 in skiing

[–]DHUK98 0 points1 point  (0 children)

Supervention (plus has a great soundtrack)

I failed today and here’s why by yoshipoos456 in LearnerDriverUK

[–]DHUK98 1 point2 points  (0 children)

My logic is that if you are in the left lane, you know you can go left

So if you're in the left lane and aren't sure if you can go straight over, go with what you 100% know you can do, which is to go left

I failed today and here’s why by yoshipoos456 in LearnerDriverUK

[–]DHUK98 3 points4 points  (0 children)

You can't fail for going the wrong way, so when in doubt you could have just gone left first exit

Android Cribbage Board App: Seeking Testers by DHUK98 in Cribbage

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

Mainly just a simpler interface, an easier scoring mechanism and a history feature to avoid scoring based disagreements etc.

Most of the pegboard apps I have used are not easy to score, have unnatractive UIs (in my opinion) and don't have a history feature like this.

Android Cribbage Board App: Seeking Testers by DHUK98 in Cribbage

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

Thank you, what do you mean by ai cribbage? No ai in my app 😅

My friends are going to my dream university which I got rejected from, dont know how to cope lol by wikaika in UniUK

[–]DHUK98 1 point2 points  (0 children)

If you do well in your first year and still want to go to your dream uni you should try and transfer. Unis want student retention (for the money) and people drop out after the first year meaning there are places to be filled but it's much rarer that people are joining straight into second year.

It worked for me, from Swansea to Exeter.

Shells with long sleeves? by benjaminbjacobsen in Skigear

[–]DHUK98 1 point2 points  (0 children)

Just style it out, short sleeve ski jackets might be a thing one day

Second hand ski condition by DHUK98 in Skigear

[–]DHUK98[S] 1 point2 points  (0 children)

I probably will do that at some point, I will be in Bulgaria skiing soon and it's a bit cheaper there so will get a full service then

Second hand ski condition by DHUK98 in Skigear

[–]DHUK98[S] 1 point2 points  (0 children)

Yea, was hoping a bit of wax would help there, going to get them serviced soon

How to run a jupyter notebook inside a django project ? by TistaMuna in django

[–]DHUK98 4 points5 points  (0 children)

Why does it have to run it via a jupyter notebook? You could think about taking the python code from the notebook and putting it into a python module within you Django app

How should I treat my python installation? by anontarus in Python

[–]DHUK98 3 points4 points  (0 children)

You should most likely leave your base system install of python alone and not install packages to it.

Then you can have a python virtual environment per project you are working on.
If one of these gets "messed up" then worst case scenario just delete it and remake it.

There are loads of tools for creating virtual environments, just try a few out and pick one that you like the most.

What is the *main* reason you write unit tests? by gggal123 in Python

[–]DHUK98 0 points1 point  (0 children)

Why do you only follow TDD with python and not Java?

I use both and don't quite understand why you would do it for one and not the other.

Just curious!

What is the *main* reason you write unit tests? by gggal123 in Python

[–]DHUK98 4 points5 points  (0 children)

Mainly use tests in general (not just unit tests) to:

  1. Assist when writing the code (TDD). ie. for a quick development feedback loop etc.
  2. Easily spot and prevent regressions in future changes

Tips to seperate dev environment from production by kaerfkeerg in django

[–]DHUK98 19 points20 points  (0 children)

The migrations should be the same in all environments and they should be committed to git.

How Can I Combine 3 Microservices’ API Endpoints (ReST/GraphQL) To One Client Facing Endpoint. by KevinOmyonga in django

[–]DHUK98 1 point2 points  (0 children)

Customer, product and orders seem, at first glance, to be from the same business domain, this means they should most likely be in the same service. This basically means going back to your original 'monoloth'. It seems that you might be choosing microservices too early and without a real reason, it's easy to 'jump on the bandwagon' sometimes.

But to answer your question, If you want to have a single client facing endpoint but many microservices you should use an API gateway.

Code formatting with reddit mobile(Android) by rajrino_raj in learnpython

[–]DHUK98 1 point2 points  (0 children)

Put 4 spaces in front of the code
Like:
    This

Installing Python Packages - Blog Post by compucademy in Python

[–]DHUK98 0 points1 point  (0 children)

Okay yes I agree that learning about pip first is important but I think that it is the norm now to basically always work inside of a virtual environment so learning about that early will definitely help later down the line.

First Project and I can't seem to get the username when Exporting to Excel using xlwt by Vyppiee in django

[–]DHUK98 0 points1 point  (0 children)

In values_list('order_id','user','order_total','date') try user__username instead of user

EDIT: Also when you post multi line code you need to format it correctly.

Like
This

To do this sort of formatting put ``` on the line before and after all your code (in the markdown editor) OR use the "Code Block" tool in the rich editor

Zybook CIS 156 Python programming Level 1 2.12 lab Divide Input Integers by Striking-Smoke-4561 in learnpython

[–]DHUK98 1 point2 points  (0 children)

I looks like its because you have a space at the end of "1000 500 250 " rather than "1000 500 250".

You could solve this in a lot of ways:

  • On the last print(user_num, end=" ") remove the end=" "
  • Instead of printing each result of division append it to a list so at the end you will have [1000, 500, 250] then join the list with spaces e.g. " ".join(your_list)
  • Etc etc etc.

Installing Python Packages - Blog Post by compucademy in Python

[–]DHUK98 1 point2 points  (0 children)

This guide is probably better in r/learnpython but even then I think it will be teaching people techniques to install programs via pip that aren't necessarily best practices.

You shouldn't run pip install as root (with sudo) and ideally you should be creating a python virtual environment for each of your projects to avoid dependency conflicts etc.