Flat Index (Brute Force) → accurate but slow.
Approximate Nearest Neighbor (ANN) → fast and scalable.
Dr. Kaufman’s sailboat model & the needs associated with it (Pg2)
The Hull (the butt of the boat): Represents our security & stability needs- things like safety, connection, & self-esteem. If the hull hs “holes” (like trauma, fear, or instability), we can’t really move forward because all our energy goes into surviving or patching it up. These R the foundations that keep the boat steady
The Sail: Stands 4 our growth & exploration needs-curiosity, purpose, love,
GEOMETRIJSKA DEF:skup G sadrži elementarne događaje u nekom od prostora ℝ1,ℝ2 ili ℝ3. U G se random bira tačka. Traži se verovatnoća da tačka bude u 𝐺1⊂𝐺. G je ograničen skup sa geom.merom 𝑚(𝐺)(𝑢ℝ1 je dužina, u ℝ2 površina, ℝ3 zapremina). Tražena vrv zavisi samo od mere oblasti G1,tj m(G1). P(A)=m(G1)/m(G2) Dokaz da uslovna vrv zadovoljava aksiome Teorema: Ako je 𝐵∈ℱ,𝑃(𝐵)>0 i ako je 𝑃1(𝐴)=𝑃(𝐴∣𝐵) za svako 𝐴∈ℱ, tada
Hi-kvadrat raspodela i njena f-ja: Raspodelu definisanu gustinom nazivamo hi kvadrat raspodelom sa 𝑛 stepeni slobode, u oznaci 𝜒 2 (𝑛). Broj 𝑛 može biti proizvoljan pozitivan broj, ali je u primenama važan slučaj kada je 𝑛 prirodan broj. Za 𝑛 = 2 dobija se eksponencijalna E(1/2) raspodela. specijalnom sluc. za 𝛼 = 𝑛/2 i 𝜆 = 1/2 dobijamo karakteristic̄nu f-ju 𝜒2(𝑛) raspodele 𝜑(𝑡) = 1/((1−2𝑖𝑡)𝑛/2).Odr. koju rasp. ima sluc.prom. koja je = zbiru
import socket
def download webpage (host, path="/"):
# Create a TCP socket
client socket socket.socket (socket. AF INET, socket.SOCK STREAM)
# Connect to the host (HTTP port 80)
client_socket.connect((host, 80))
# Send an HTTP GET request
request = f"GET (path) HTTP/1.1\r\nHost: {host}\r\nConnection: close\r\n\r\n"
client socket.send(request.encode())
# Receive the response from the server
response = b""
while True:
part client_socket.recv (4096)
if not part:
break
response += part
Shang Dynasty (c. 1600–1046 BCE) – First historically confirmed Chinese dynasty centered along the Yellow River. Known for bronze metallurgy, oracle bones, urbanization, and ancestor worship, ruled by kings claiming divine authority.
Oracle Bones (c. 1200 BCE) – Animal bones or turtle shells used for divination during the Shang dynasty. Questions were inscribed, heated, and the cracks interpreted; they contain the earliest known Chinese writing.
Mandate of Heaven (Tianming) – Zhou-era political
...Define secure configurations (disable unused ports, enforce strong passwords, patch systems).
Deploy via configuration tools (Group Policy, Ansible, SCCM).
Maintain through regular audits and updates.
| Target | Key Techniques |
|---|---|
| Workstations/Servers | Disable Telnet/FTP; patch OS/apps; use AV + firewall; limit admin privileges. |
| Mobile Devices | Use MDM, enforce encryption, PIN/biometrics, |
klasicna definiciju verovatnoce:Neka je Ω={𝜔1,…𝜔𝑛} skup svih mogućih jednakoverovatnih elementarnih dogadaja koji su medusobno nesaglasni i neka je 𝐴={𝜔𝑖1,…,𝜔𝑖𝑚} dogadaj koji se sastoji od 𝑚 elementarnih jednakoverovatnih dogadaja koji imaju osobinu kojom se 𝐴 definise. Verovatnoća nastupanja dogadaja 𝐴⊆Ω je 𝑃(𝐴)=m/n. Verovatnoća 𝑃(𝐴) dogadaja 𝐴⊆Ω m-broja (povoljnih) ishoda opita, koji doprinose realizaciji dogadaja 𝐴, n-broja
Chapter 1-accessModifier staticOrInstance returnType methodName(parameterType parameterName, ...) {
API (Application Programming Interface): collection of predefined classes, interfaces, methods (libraries). Java is a simple (easy to learn), object-oriented (uses objects and classes), distributed (supports network-based applications), and interpreted (runs via JVM from bytecode) language. It is robust (strong in error handling and memory management), secure (protects against threats with built-in
...