Talk:Thiel Fellowship

Latest comment: 1 year ago by Aristotles in topic Updated page with list of fellows I found online

"software summarization software"

edit

Kevin Wang, a Thiel Fellow that worked on software summarization software TLDR legal - what does that mean? — Preceding unsigned comment added by Mrdeleted (talkcontribs) 20:04, 24 April 2015 (UTC)Reply

Updated page with list of fellows I found online

edit

Here: https://cstead1.medium.com/a-complete-list-of-all-thiel-fellows-and-their-companies-86d42706cecb (https://airtable.com/app8X19L4YuEue2Cx/shrJ3eIC5Y6WaJELR/tbllhqO1zt0r0yTGb) is a list of Thiel fellows.

1. Ctrl+P: print to pdf

2. pdftotext -layout airtable.pdf

3. :%s/^\d\+\s\+\(.*\)\s\+\d\+.*/\1/g followed by :%s/\s\+\n//g in vim to just get the names

4. Then use the following Python code to check whether the names have a Wikipedia page:

import requests

def has_wikipedia_page(name):
    """
    Check if a given name has a Wikipedia page.
    Returns True if the name has a Wikipedia page, False otherwise.
    """
    base_url = "https://en.wikipedia.org/w/api.php"
    params = {
        "action": "query",
        "format": "json",
        "titles": name
    }
    
    response = requests.get(base_url, params=params)
    data = response.json()

    # If the page is missing, it means the name does not have a Wikipedia page.
    pages = data["query"]["pages"]
    for _, page in pages.items():
        if "missing" in page:
            return False
        return True

    return False

if __name__ == "__main__":
    # Filepath to your file
    filepath = "names.txt"
    
    with open(filepath, "r") as f:
        names = [line.strip() for line in f.readlines()]
    
    for name in names:
        if has_wikipedia_page(name):
            print(f"{name} has a Wikipedia page!")
        # else:
            # print(f"{name} does not have a Wikipedia page.")

5. Then loop manually to eliminate (a lot of) false positives. — Preceding unsigned comment added by Aristotles (talkcontribs) 14:32, 6 October 2023 (UTC)Reply