Skip to content

Commit

Permalink
Add more speakers (#13)
Browse files Browse the repository at this point in the history
* Add more speakers

* Not show bio button if there is no bio, add extra section if there is no even number of speakers

* Add script to generate speakers html code, add more speakers

* Specify projects from EF
  • Loading branch information
hugo-dc authored Oct 2, 2023
1 parent 4c92c15 commit 0744fac
Show file tree
Hide file tree
Showing 22 changed files with 341 additions and 46 deletions.
1 change: 1 addition & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3990,6 +3990,7 @@ input, select, textarea {
.circular-square {
border-radius: 50%;
width: 128px;
height: 128px;
}

.hidden {
Expand Down
Binary file added images/speakers/alex_beregszaszi.jpg
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 images/speakers/andrei_maiboroda.jpg
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 images/speakers/ansgar_dietrichs.jpg
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 images/speakers/ayman_bouchareb.jpg
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 images/speakers/daniel_kirchner.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added images/speakers/default.jpg
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 images/speakers/dragan_rakita.jpg
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 images/speakers/greg_colvin.jpg
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 images/speakers/jacek_glen.jpg
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 images/speakers/jordi_baylina.jpg
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 images/speakers/lightclient.jpg
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 images/speakers/mamy_andre_ratsimbazafy.jpg
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 images/speakers/marius_van_der_wijden.jpg
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 images/speakers/neville_grech.jpg
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 images/speakers/pawel_bylica.jpg
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 images/speakers/radoslaw_zagorowicz.jpg
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 images/speakers/tim_beiko.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
236 changes: 190 additions & 46 deletions index.html

Large diffs are not rendered by default.

150 changes: 150 additions & 0 deletions scripts/generate_speaker_code.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
#!/usr/bin/env python3
import os

speakers = [
{
'name': 'Andrei Maiboroda',
'project': 'Ipsilon - Ethereum Foundation',
'bio': ''
},
{
'name': 'Ansgar Dietrichs',
'project': 'Ethereum Foundation',
'bio': 'Researcher at Ethereum Foundation'
},
{
'name': 'Alex Beregszaszi',
'project': 'Ipsilon - Ethereum Foundation',
'bio': ''
},
{
'name': 'Ayman Bouchareb',
'project': 'Nethermind',
'bio': 'Ayman is a 24yo software engineer from Morocco, joined Nethermind last year as part of the core team, and mostly focus on EVM related topics (since Ayman likes VMs), and now Ayman works on small EIPs that touchs the EVM for Shanghai and Cancun forks as well as working on the full EOF update for the EVM.'
},
{
'name': 'David Pearce',
'project': 'Consensys',
'bio': "David is a research engineer in the Trustworthy Smart Contracts Team at ConsenSys.\nDavid's current focus is on the application of formal methods to smart contracts.\nBefore that, David was an Associate Professor in the School of Engineering and Computer Science at Victoria University of Wellington, NZ.\nDavid graduated from the Department of Computing at Imperial College London, and moved to New Zealand in 2004.\nDavid's research interests are in programming languages, compilers, static analysis and formal verification. David is the author of the Whiley programming language which (like Dafny) supports formal verification of functional specifications (i.e. preconditions / postconditions)."
},
{
'name': 'Daniel Kirchner',
'project': 'Solidity - Ethereum Foundation',
'bio': ''
},
{
'name': 'Danno Ferrin',
'project': 'Hyperledger Besu',
'bio': 'Danno is Principal Software Engineer at Hedera Hashgraph, where he integrates the EVM into the Hedera network.\nPreviously he was Lead Protocol Engineer at ConsenSys Software Inc on their Ethereum Mainnet team, where he chose to go "full crypto" after leaving Google.\nDanno also worked at McDonalds as a crew member in his youth, so he is fully hedged against any DeFi downturn.\nDanno is a maintainer for the Hyperledger Besu project.'
},
{
'name': 'Dragan Rakita',
'project': 'Paradigm',
'bio': 'Reth core dev, revm author.'
},
{
'name': 'Greg Colvin',
'project': '',
'bio': ''
},
{
'name': 'Jacek Glen',
'project': 'Gas Cost Estimator - Imapp',
'bio': 'Jacek have almost 20 years of experience developing and designing systems in industries spanning from banking to finance to big data to insurance.\nIn recent years, Jacek have focused on all aspects of blockchain technologies. Jacek is involved in developing Ethereum clients, smart contracts and web3 apps.'
},
{
'name': 'Jordi Baylina',
'project': 'Polygon',
'bio': ''
},
{
'name': 'Lightclient',
'project': 'Geth - Ethereum Foundation',
'bio': ''
},
{
'name': 'Mamy André-Ratsimbazafy',
'project': 'Taiko',
'bio': '',
'picture': 'mamy_andre_ratsimbazafy'
},
{
'name': 'Marius van der Wijden',
'project': 'Geth - Ethereum Foundation',
'bio': 'Marius is a developer at the Ethereum Foundation as a member of the Geth client team.'
},
{
'name': 'Neville Grech',
'project': 'Dedaub',
'bio': "Neville is the Director and co-founder of <a href=\"https://dedaub.com\">Dedaub</a>. Neville expertise is focused on program analysis, mostly applied to security applications.\nBefore Dedaub Neville had a mostly academic career. Have authored the first work that applies static analysis to the security of smart contracts, this work was subsequently <a href=\"https://www.sigplan.org/Highlights/Papers/\"> highlighted by ACM SIGPLAN </a> and <a href=\"https://cacm.acm.org/magazines/2020/10/247600-madmax/fulltext\"> Communications of the ACM</a>.\nThroughout Naville's career also developed novel techniques and tools in the areas of energy efficient software development, smart contracts, semantics and generative programming.\nSome popular tools Naville have codeveloped include decompilers and security analyzers for the Ethereum platform (MadMax and Gigahorse) and Java pointer and taint analysis frameworks (Doop, P/Taint and HeapDL).\nPreviously, Naville was Reach High Fellow at the University of Athens, a Senior Research Associate at the University of Bristol, and have worked in industry as a Data Scientist and Software Engineer.\nNaville hold a PhD from the University of Southampton."
},
{
'name': 'Paweł Bylica',
'project': 'Ipsilon - Ethereum Foundation',
'bio': '',
'picture': 'pawel_bylica'
},
{
'name': 'Radosław Zagórowicz',
'project': 'Ipsilon - Ethereum Foundation',
'bio': '',
'picture': 'radoslaw_zagorowicz'
},
{
'name': 'Rami Khalil',
'project': 'Zeth (RISC Zero)',
'bio': ''
},
{
'name': 'Tim Beiko',
'project': 'Ethereum Foundation',
'bio': 'Tim runs the AllCoreDevs call for Ethereum'
},
]


i = 0
code = ""
spacing = " " * 15
for s in speakers:
i += 1

print("<!--")
name_id = s['name'].lower().replace(' ', '_')
print(name_id)
if 'picture' in s.keys():
name_id = s['picture']
print(name_id)
image_path = f"../images/speakers/{name_id}.jpg"
print(image_path)
if not os.path.exists(f"../images/speakers/{name_id}.jpg"):
name_id = "default"
print(name_id)
print("-->")
bio = s['bio'].replace('\n', '</p><p>')

code += f"""{spacing}<section id="speaker_{i}">
{spacing}<img class="circular-square" src="images/speakers/{name_id}.jpg" alt="{s['name']}"/>
{spacing}<h3>{s['name']}</h3>
{spacing}<h4>{s['project']}</h4>"""

if bio != "":
code += f"""
{spacing}<ul class="actions">
{spacing} <li><a id="show_bio_{i}" onclick="showBio({i})" href="#speaker_{i}" class="button scrolly">Read Bio</a></li>
{spacing}</ul>
{spacing}<div id="bio_{i}" class="hidden">
{spacing} <p>{bio}</p>
{spacing} <ul class="actions">
{spacing} <li><a id="hide_bio_{i}" onclick="hideBio({i})" href="#speaker_{i}" class="button scrolly">Hide Bio</a></li>
{spacing} </ul>
{spacing} </div>
"""

code += f"""
{spacing}</section>\n"""

if i % 2 == 1:
code += f"{spacing}<section></section>"

print(code)

0 comments on commit 0744fac

Please sign in to comment.