Skip to content

Commit

Permalink
Deploy preview for PR 24 🛫
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarasa24 committed Nov 20, 2024
1 parent a23136a commit d8bb67d
Show file tree
Hide file tree
Showing 39 changed files with 118 additions and 2,582 deletions.
2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/dask/array_chunks.py.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/dask/delayed_computation.py.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/dask/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/dask/matrix_chunks.py.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/dask/parallel_mapping.py.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/rabbitmq_examples/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/socket_http/client.py.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/socket_http/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/socket_http/server.py.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/socket_http/server_http.py.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/codes/synchronization_tools/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pr-preview/pr-24/index.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions pr-preview/pr-24/index.html

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions pr-preview/pr-24/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,65 +6,65 @@
<description>Last 10 notes on 🐍 PDS 2024 Python</description>
<generator>Quartz -- quartz.jzhao.xyz</generator>
<item>
<title>RabbitMQ_producent.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_producent.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_producent.py</guid>
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters(&#039;localhost&#039;)) channel = connection.channel() ...</description>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>RabbitMQ_realtime.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_realtime.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_realtime.py</guid>
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters(&#039;localhost&#039;)) channel = connection.channel() ...</description>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>RabbitMQ_reliability.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_reliability.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_reliability.py</guid>
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters(&#039;localhost&#039;)) channel = connection.channel() ...</description>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>client.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/client.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/client.py</guid>
<description>import socket import struct import time import pickle # Import pickle pro serializaci dat SERVER_ADR = (&#039;localhost&#039;, 12345) def start_client(message): # Vytvoření ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
</item><item>
<title>server_http.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/server_http.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/server_http.py</guid>
<description>from http.server import HTTPServer, BaseHTTPRequestHandler # Jednoduchá databáze database = {1: [&quot;Karel&quot;, &quot;Novy&quot;], 2: [&quot;Marek&quot;, &quot;Modry&quot;]} ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>server.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/server.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/server.py</guid>
<description>import socket import threading import struct import time import pickle # Přidání knihovny pickle from typing import Tuple # Jednoduchá databáze database = {1: [&quot;Karel&quot;, ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>RabbitMQ_reliability.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_reliability.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_reliability.py</guid>
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters(&#039;localhost&#039;)) channel = connection.channel() ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
</item><item>
<title>RabbitMQ_realtime.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_realtime.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_realtime.py</guid>
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters(&#039;localhost&#039;)) channel = connection.channel() ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
</item><item>
<title>RabbitMQ_fanout.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_fanout.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_fanout.py</guid>
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters(&#039;localhost&#039;)) channel = connection.channel() ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
<title>server_http.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/server_http.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/server_http.py</guid>
<description>from http.server import HTTPServer, BaseHTTPRequestHandler # Jednoduchá databáze database = {1: [&quot;Karel&quot;, &quot;Novy&quot;], 2: [&quot;Marek&quot;, &quot;Modry&quot;]} ...</description>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>RabbitMQ_consumer.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_consumer.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_consumer.py</guid>
<description>import pika def callback(ch, method, properties, body): print(f&quot; [x] Přijatá zpráva: {body}&quot;) # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters(&#039;localhost&#039;)) ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
<title>asyncio.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/asyncio.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/asyncio.py</guid>
<description>import asyncio # Definování korutiny async def download_file(id): print(&quot;Stahuji soubor {}&quot;.format(id)) # Simulace čekání na stažení nějakého souboru await asyncio.sleep(1) ...</description>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>RabbitMQ_producent.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_producent.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_producent.py</guid>
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters(&#039;localhost&#039;)) channel = connection.channel() ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
<title>multiprocessing_pool.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_pool.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_pool.py</guid>
<description>from multiprocessing import Pool # Funkce pro výpočet mocniny dvěma def do_something(x): return x * x # Vytvoříme pool, kterému předáme kolekci dat a funkci kterou paralelně provede ...</description>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>parallel_mapping.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/dask/parallel_mapping.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/dask/parallel_mapping.py</guid>
<description>import dask.bag as db # Cesty ke zpracovávaným souborům files = [&quot;file1.txt&quot;, &quot;file2.txt&quot;, &quot;file3.txt&quot;, &quot;file4.txt&quot;] # Funkce, ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
<title>multiprocessing_process.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_process.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_process.py</guid>
<description>from multiprocessing import Process import time, random def process_function(process_id): print(&quot;Proces {} začal práci.&quot;.format(process_id)) time.sleep(random.randint(1, ...</description>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item><item>
<title>delayed_computation.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/dask/delayed_computation.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/dask/delayed_computation.py</guid>
<description>import dask @dask.delayed def inc(x): return x + 1 @dask.delayed def add(x, y): return x + y # Vyhodnocením se pouze vytváří graf úloh a = inc(1) # nevykoná výpočet b = inc(2) # nevykoná ...</description>
<pubDate>Wed, 20 Nov 2024 21:00:40 GMT</pubDate>
<title>multiprocessing_qpipe.py</title>
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_qpipe.py</link>
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_qpipe.py</guid>
<description>import multiprocessing from multiprocessing import Process, Queue def producer(conn,q): q.put(&quot;Queue Message&quot;) conn.send(&quot;Pipe Message&quot;) conn.close() ...</description>
<pubDate>Wed, 20 Nov 2024 21:14:07 GMT</pubDate>
</item>
</channel>
</rss>

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pr-preview/pr-24/rabbitmq.html

Large diffs are not rendered by default.

58 changes: 29 additions & 29 deletions pr-preview/pr-24/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,88 +1,88 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/dask/array_chunks.py</loc>
<lastmod>2024-11-20T21:00:40.420Z</lastmod>
<lastmod>2024-11-20T21:14:07.711Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/dask/delayed_computation.py</loc>
<lastmod>2024-11-20T21:00:40.432Z</lastmod>
<lastmod>2024-11-20T21:14:07.711Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/dask/matrix_chunks.py</loc>
<lastmod>2024-11-20T21:00:40.424Z</lastmod>
<lastmod>2024-11-20T21:14:07.711Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/dask/parallel_mapping.py</loc>
<lastmod>2024-11-20T21:00:40.436Z</lastmod>
<lastmod>2024-11-20T21:14:07.711Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_consumer.py</loc>
<lastmod>2024-11-20T21:00:40.452Z</lastmod>
<lastmod>2024-11-20T21:14:07.711Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_fanout.py</loc>
<lastmod>2024-11-20T21:00:40.456Z</lastmod>
<lastmod>2024-11-20T21:14:07.711Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_producent.py</loc>
<lastmod>2024-11-20T21:00:40.444Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_realtime.py</loc>
<lastmod>2024-11-20T21:00:40.464Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_reliability.py</loc>
<lastmod>2024-11-20T21:00:40.468Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/client.py</loc>
<lastmod>2024-11-20T21:00:40.492Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/server.py</loc>
<lastmod>2024-11-20T21:00:40.476Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/socket_http/server_http.py</loc>
<lastmod>2024-11-20T21:00:40.484Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/asyncio.py</loc>
<lastmod>2024-11-20T21:00:40.392Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_pool.py</loc>
<lastmod>2024-11-20T21:00:40.360Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_process.py</loc>
<lastmod>2024-11-20T21:00:40.344Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_qpipe.py</loc>
<lastmod>2024-11-20T21:00:40.352Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_valarray.py</loc>
<lastmod>2024-11-20T21:00:40.384Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_barrier.py</loc>
<lastmod>2024-11-20T21:00:40.376Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_condition.py</loc>
<lastmod>2024-11-20T21:00:40.404Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_event.py</loc>
<lastmod>2024-11-20T21:00:40.364Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_lock.py</loc>
<lastmod>2024-11-20T21:00:40.372Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_semaphore.py</loc>
<lastmod>2024-11-20T21:00:40.412Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_thread.py</loc>
<lastmod>2024-11-20T21:00:40.396Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/</loc>
<lastmod>2024-11-20T21:00:25.308Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/problemy_jazyka_python_a_externi_nastroje</loc>
<lastmod>2024-11-20T21:00:25.308Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/rabbitmq</loc>
<lastmod>2024-11-20T21:00:25.308Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/socket_http</loc>
<lastmod>2024-11-20T21:00:25.308Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/synchronizacni_nastroje_std_knihovny</loc>
<lastmod>2024-11-20T21:00:25.308Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url><url>
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/uvod_do_paralelizace</loc>
<lastmod>2024-11-20T21:00:25.308Z</lastmod>
<lastmod>2024-11-20T21:14:07.712Z</lastmod>
</url></urlset>
Loading

0 comments on commit d8bb67d

Please sign in to comment.