Skip to content

Commit

Permalink
Merge pull request #2 from nikos912000/add-clams
Browse files Browse the repository at this point in the history
feat: add more projects - fix scrolling
  • Loading branch information
nikos912000 authored Dec 14, 2024
2 parents 3c8a530 + 83d3cdd commit 456fe7b
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 28 deletions.
Binary file added img/cfg_cnf_converter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/octree_partitioning.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/parallel_kmeans.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/parallel_knn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/parallel_pagerank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
116 changes: 88 additions & 28 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
width = ltk.window.innerWidth
height = ltk.window.innerHeight


class Main(ltk.Widget):
def __init__(self, *items):
ltk.Widget.__init__(
Expand All @@ -22,7 +23,7 @@ def __init__(self, x, y, width, title, label, src, url):
url,
ltk.VBox(
ltk.Text(title).css("text-align", "center")
.css("font-size", 20)
.css("font-size", 18)
.css("margin-bottom", -2),
ltk.Image(src)
.css("border", "5px solid transparent")
Expand Down Expand Up @@ -60,33 +61,87 @@ def __init__(self, x, y, width, title, label, src, url):
),
Item(
0,
550,
100,
"2012",
"CFG->CNF Converter",
"img/cfg_cnf_converter.png",
"https://github.com/nikos912000/chomsky-normal-form",
),
Item(
100,
400,
100,
"2013",
"Octree Partitioning",
"img/octree_partitioning.png",
"https://github.com/nikos912000/octree-partitioning",
),
Item(
200,
530,
100,
"2013",
"Parallel KMeans (MPI)",
"img/parallel_kmeans.png",
"https://github.com/nikos912000/kmeans-mpi",
),
Item(
300,
400,
100,
"2014",
"Parallel kNN (CUDA)",
"img/parallel_knn.png",
"https://github.com/nikos912000/knn-cuda",
),
Item(
410,
515,
100,
"2014",
"Parallel Pagerank (Pthreads)",
"img/parallel_pagerank.png",
"https://github.com/nikos912000/parallel-pagerank",
),
Item(
530,
460,
100,
"2014",
"MEng",
"img/meng_thesis.png",
"http://ikee.lib.auth.gr/record/291762/files/katirtzis_nikolaos_tdd_reuse.pdf",
),
Item(
100,
450,
640,
430,
100,
"2016",
"MSc",
"img/msc_thesis.png",
"https://www.dropbox.com/s/m8uaxa967o3khtp/report.pdf",
),
Item(
200,
700,
250,
100,
"2017",
"CLAMS",
"img/clams.png",
"https://mast-group.github.io/clams/",
),
Item(
800,
400,
100,
"2018",
"CLAMS",
"FASE",
"img/clams_fase.png",
"https://link.springer.com/chapter/10.1007/978-3-319-89363-1_11",
),
Item(
250,
880,
200,
100,
"2018",
Expand All @@ -95,7 +150,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://medium.com/hotels-com-technology/going-beyond-grep-for-searching-source-code-zoekt-e7da88ac7b2e",
),
Item(
340,
960,
500,
100,
"2019",
Expand All @@ -104,7 +159,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://grpc.io/docs/languages/java/#dev-stories",
),
Item(
420,
1030,
350,
100,
"2020",
Expand All @@ -113,7 +168,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://medium.com/expedia-group-tech/mittens-warming-up-your-application-f8dd244357b0",
),
Item(
450,
1100,
150,
100,
"2020",
Expand All @@ -122,7 +177,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://medium.com/expedia-group-tech/creating-monitoring-dashboards-1f3fbe0ae1ac",
),
Item(
550,
1170,
500,
100,
"2021",
Expand All @@ -131,7 +186,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://medium.com/expedia-group-tech/using-fault-injection-to-improve-our-new-platforms-reliability-656b1147b132",
),
Item(
600,
1250,
100,
100,
"2022",
Expand All @@ -140,7 +195,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://medium.com/expedia-group-tech/open-source-at-expedia-group-behind-the-scenes-ecc7d4480566",
),
Item(
680,
1320,
350,
100,
"2022",
Expand All @@ -149,7 +204,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://medium.com/expedia-group-tech/chaos-engineering-at-expedia-group-e51a0288ee2",
),
Item(
800,
1420,
200,
100,
"2023",
Expand All @@ -158,7 +213,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://www.youtube.com/watch?v=CAq2HPNxVcs",
),
Item(
850,
1500,
500,
100,
"2024",
Expand All @@ -167,7 +222,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://www.infoq.com/news/2024/04/expedia-startup-autoscaler/",
),
Item(
950,
1570,
250,
100,
"2024",
Expand All @@ -176,7 +231,7 @@ def __init__(self, x, y, width, title, label, src, url):
"https://github.com/nikos912000/randomly-learning/",
),
Item(
1050,
1650,
500,
100,
"2024",
Expand Down Expand Up @@ -267,21 +322,21 @@ def get_line(n):

ltk.find("#main").append(
ltk.create(f"""
<svg id="svg" height="850" width="1500">
<svg id="svg" height="850" width="2000">
<line x1="40" y1="20" x2="40" y2="800" style="stroke:lightgray;stroke-width:2" />
<line x1="0" y1="770" x2="1500" y2="770" style="stroke:lightgray;stroke-width:2" />
<line x1="0" y1="770" x2="2000" y2="770" style="stroke:lightgray;stroke-width:2" />
<text x="200" y="807" style="font-size:16pt; fill:gray">noob</text>
<text x="1300" y="807" style="font-size:16pt; fill:gray">now</text>
<text x="730" y="807" style="font-size:16pt; fill:lightgray">time</text>
<text x="1800" y="807" style="font-size:16pt; fill:gray">now</text>
<text x="1035" y="807" style="font-size:16pt; fill:lightgray">time</text>
<line x1="600" y1="800" x2="700" y2="800" style="stroke:lightgray;stroke-width:2" />
<line x1="900" y1="800" x2="880" y2="790" style="stroke:lightgray;stroke-width:2" />
<line x1="900" y1="800" x2="880" y2="810" style="stroke:lightgray;stroke-width:2" />
<line x1="900" y1="800" x2="1000" y2="800" style="stroke:lightgray;stroke-width:2" />
<line x1="1200" y1="800" x2="1180" y2="790" style="stroke:lightgray;stroke-width:2" />
<line x1="1200" y1="800" x2="1180" y2="810" style="stroke:lightgray;stroke-width:2" />
<line x1="800" y1="800" x2="900" y2="800" style="stroke:lightgray;stroke-width:2" />
<line x1="600" y1="800" x2="620" y2="790" style="stroke:lightgray;stroke-width:2" />
<line x1="600" y1="800" x2="620" y2="810" style="stroke:lightgray;stroke-width:2" />
<line x1="1100" y1="800" x2="1200" y2="800" style="stroke:lightgray;stroke-width:2" />
<line x1="900" y1="800" x2="920" y2="790" style="stroke:lightgray;stroke-width:2" />
<line x1="900" y1="800" x2="920" y2="810" style="stroke:lightgray;stroke-width:2" />
<text style="font-size:16pt; fill:gray;" transform="translate(28,85) rotate(270)">Human</text>
<text style="font-size:16pt; fill:gray;" transform="translate(28,685) rotate(270)">Technical</text>
Expand Down Expand Up @@ -328,14 +383,19 @@ def show(index):
"height": h,
"opacity": 1,
}),
50,
50,
lambda: show(index + 1)
)
if x > width - 200:
ltk.find("#main").animate(
ltk.to_js({
"left": -x + width * 3 /4,
}), 500
}), 500,
lambda: ltk.find("#main").animate(
ltk.to_js({
"left": 0,
}), 500
)
)

show(0)

0 comments on commit 456fe7b

Please sign in to comment.