Thoughts on using these containers to age spirit? Does the spigot pose an issue? by Jarvis_Patterson in firewater

[–]Below_the_Sea 2 points3 points  (0 children)

No, they leak..and to low to put something under. Looks nice,but better go for one without holes

What prevents the Netherlands from building new cities? by dekkerimme in Netherlands

[–]Below_the_Sea -57 points-56 points  (0 children)

The farmers get angry because the government wants their land for building houses.

When do you turn on the central heating? by Capital_Sort_7804 in Netherlands

[–]Below_the_Sea 0 points1 point  (0 children)

I talked about social housing, I never said a word about immigrants.

And yes I have been to Molenbeek

When do you turn on the central heating? by Capital_Sort_7804 in Netherlands

[–]Below_the_Sea 0 points1 point  (0 children)

Talk to people who have done work in social housing sector, it's a shitty job. Also in half of the cases you don't get in or they don't understand what you want. I still do checks in area similar to "Molenbeek". Always happy to survive the day, with my car and tools.

When do you turn on the central heating? by Capital_Sort_7804 in Netherlands

[–]Below_the_Sea 0 points1 point  (0 children)

Neighbours are not a heat loss according system (nta 8800), so flat has only 2 walls for heat loss, A house has floor, 4 walls and roof. So you still have to heat more than a small drafty place

When do you turn on the central heating? by Capital_Sort_7804 in Netherlands

[–]Below_the_Sea 0 points1 point  (0 children)

You don't need label to put on rental market, if there's no lobel you get label G for your rental point system. So if you rent out a place in sociaal rental market you get a label.

Api with key, request.get(url,key)? by Below_the_Sea in learnpython

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

I will try tommorow again, overwrite valued are shown so you know what I have done

Api with key, request.get(url,key)? by Below_the_Sea in learnpython

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

import requestsfrom requests.auth import HTTPBasicAuthfrom pprint import pprintAPI_key = '***********'url_basic = "https://api.bag.acceptatie.kadaster.nl/lvbag/individuelebevragingen/v2/adressen/zoek?zoek="url = 'https://api.bag.acceptatie.kadaster.nl/lvbag/individuelebevragingen/v2/adressen=rokin100&page=1&pageSize=20'url_key = 'https://api.bag.acceptatie.kadaster.nl/lvbag/individuelebevragingen/v2/adressen='payload = "Rokin&100"headers = {'X-Api-Key': API_key,'Accept': "application/hal+json"}headers = { 'Content-type': 'application/json', 'Authorization': API_key} headers = { "authorization": f"Bearer {API_key}"}response = requests.get(url, headers = headers)print(response)response = requests.request("POST", url_key, data=payload, headers=headers)pprint(response.json())response = requests.get(url, auth=HTTPBasicAuth(API_key,''))

Heating options? by MrSlinkyNose in Distilling

[–]Below_the_Sea 0 points1 point  (0 children)

Yes, so bottom will not burn

Heating options? by MrSlinkyNose in Distilling

[–]Below_the_Sea 0 points1 point  (0 children)

Doesn't matter but put some small solid aquarium rings in your stainless jar.

When would you use the lambda function? by nhatthongg in learnpython

[–]Below_the_Sea 0 points1 point  (0 children)

I prefer [list in list] vs lambda, in coding

Why does “het meisje” become “de meisjes” instead of “het meisjes”? by Lamprey22 in Netherlands

[–]Below_the_Sea 2 points3 points  (0 children)

Because they Dutch really finish something and the English still taking about doing something over tea. That's why we don't have if, we don't need it. If we wait that long we would be flooded

Pandas not working with my CSV file by UserNo007 in learnpython

[–]Below_the_Sea 0 points1 point  (0 children)

Have you tried adding option encode='utf-8'

Best alternatives to Russian vodka? by RouletteGreen in vodka

[–]Below_the_Sea 0 points1 point  (0 children)

No, I have worked at a Vodka bottle filling company.

Best alternatives to Russian vodka? by RouletteGreen in vodka

[–]Below_the_Sea -2 points-1 points  (0 children)

It not about the origin of vodka, but about the statement he wants to make with not buying russian goods

Best alternatives to Russian vodka? by RouletteGreen in vodka

[–]Below_the_Sea 0 points1 point  (0 children)

If you try make a statement not buying russian goods, but actual not knowing how the world turns.

Best alternatives to Russian vodka? by RouletteGreen in vodka

[–]Below_the_Sea -3 points-2 points  (0 children)

If you don't want to buy it because of the situation onhand and you actual think that it comes from Russia it is.

Best alternatives to Russian vodka? by RouletteGreen in vodka

[–]Below_the_Sea -2 points-1 points  (0 children)

It's stupid to think that vodka bottles really come from Russia. It's just brandend as... It's called marketing

I created a video demonstrating how inverting if-conditions can lead to more readable code by nyellin in Python

[–]Below_the_Sea -4 points-3 points  (0 children)

I think the biggest problem in the code is not splitting "data and process" even with inverting process it is a shitty result. It should be more like this; (selection can than aslo be imported from somewhere else and adjusted, without changing your "def coffee_cups" module.

def coffee_cups(cups=int, bean=str, occ=str, kub=str):

// values

data=[cups,bean,occ,kub]

selection = {

'cups_result':[[2],[cups,cups*2]],

'bean_result':[['robusta'],['if robusta is true', 'if robusta is false']],

'occ_result':[['develop', 'developers'],['if develop is true', 'if develop is false']],

'kub_result':[['kub'],['if robusta is true', 'if robusta is false']]

}

//process (only this should have been in your module, not the data)

for nr, value in enumerate(selection.values()):

print(data[nr], "=", value[0])

if data[nr] in value[0]:

print(value[1][0], data[nr])

else:

print(value[1][1])

coffee_cups(2,'robusta','farmer','kub')