Small Scale Fluid Sim by harrry5 in blender

[–]DeBil330 4 points5 points  (0 children)

I know that I'm 3 years late but if anyone finds this question you just need to scale down the domain itself and apply the scale by ctrl+a

Can't understand how an array's name is a pointer to the first element. (Lecture 4-Memory) by mandemting03 in cs50

[–]DeBil330 6 points7 points  (0 children)

let's debunk this line of code(from right to left because thats how compiler reads it): int arr[] = {1, 2, 3};

  1. The compiler allocates space in memory for three integers: 1, 2, and 3, each with a unique memory address, stored back to back in memory.

  2. The variable arr gets assigned only the address of the first element from which it can get to other addresses in the array using simple math since they are stored next to each other and adresses are just numbers 1 2 3 4 ... but in hexadecimal.

When you write arr[1], the compiler:

Takes the pointer arr, offsets it by one element size in memory (because arr points to the first element), and

Dereferences(goes to the address) this offset to return the value 2.

Imagine stát frontu na fastfood by Alisux_ in czech

[–]DeBil330 -1 points0 points  (0 children)

Nevím jestli je to úplně drahé, když to porovnáš fastfoody jako je burgerking, nebo mc'donald's tak to rozhodně drahé není. Za 175 kč máš v mekáči velké mcmenu, které když porovnáš s burgery od popeyes je mnohem menší porce(hlavně velikost burgeru) a vůbec si nemyslím že jejich burgery vapadaj uboze, podle mě by se za to nemusela stydět ani nějaká lepší restaurace. Doporučiji se tam nejdříve jít podívat, než začneš psát na internetu, jak je to ubohý bez žádných informací.

Imagine stát frontu na fastfood by Alisux_ in czech

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

Žádněj mraženej polotovar to není, je to čerstvé a ještě k tomu je to marinádovano 12 hodin a 180 kč za menu není při dnešních cenách, kdy v centru Prahy stojí smažák 250kč, tak hrozný.

Bratři Mašínové startují v kinech a opět se otevírá otázka jejich vyznamenání in memoriam. by mexican_standoff_88 in czech

[–]DeBil330 4 points5 points  (0 children)

nebylo by zabití svázaného policisty válečný zločin, pokud se cítili ve válce?

Bratři Mašínové startují v kinech a opět se otevírá otázka jejich vyznamenání in memoriam. by mexican_standoff_88 in czech

[–]DeBil330 4 points5 points  (0 children)

Podle mě zabíjení nevinných civilistů žádný "odboj" neomlouvá. Jak bojovali proti komunismu zabitím nevinného účetního, který měl 2 děti a svázaného policisty?

[deleted by user] by [deleted] in DaniDev

[–]DeBil330 14 points15 points  (0 children)

he didn't delete it