Comment

Comment by parados

Sort-of agree, but then I saw this code in the Visualiser[0]

    try:
        import matplotlib.pyplot as plt
    except Exception:
        plt = None
    
    class Visualizer:
    
        def animate_combined(
            # Stuff...
        ):
            # Stuff...
            try:
                import numpy as np
            except Exception:
                print("numpy is required for animation")
                return
            if plt is None:
                print("matplotlib not available - cannot animate")
                return
Is AI really that bad? Or has it been written by a human?

[0] https://github.com/sql-hkr/tiny8/blob/main/src/tiny8/visuali...

parent parados 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton