Git Product home page Git Product logo

doomsday's Introduction

Brad's LinkedIn page Brad's Github page Brad's Google Scholar page

I'm a technology executive and serial entrepreneur who is currently Chief Architect at Merit, a Bay Area startup building a verified identity platform. Previously, I was Chief Architect at Elsevier, and before that, founder/CTO at three startups in the Los Angeles area, achieving successful exits in two of the three. I began my career during the 1980s as one of the very first knowledge engineers of the expert systems era, after earning a BS in Applied Mathematics at Carnegie Mellon University. I am also a Guest Researcher in the INtelligent Data Engineering Lab at the University of Amsterdam. At INDE Lab, I am exploring the evolution of the practice of knowledge engineering and the impact of large language models on that evolution.

Below are some repos addressing a number of topics such as conceptual engineering using large language models (LLMs), using LLMs to evaluate knowledge graphs (KGs) in the context of KG refinement, the detection of hallucinations using LLMs (for the SemEval-2024 Task-6 SHROOM competition), a linked data catalog of my William S. Burroughs collection, the calculation of Texas Hold'Em hand win percentages, and a trainer for John Horton Conway's Doomsday algorithm.

doomsday's People

Contributors

bradleypallen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

doomsday's Issues

AttributeError: 'int' object has no attribute 'isdigit'

Hello! "It didn't work." Here's the error message:

hobbes@magic:~/src/doomsday$ ./doomsday.py 
Type 'q' to quit, 0 - 6 to enter the day of the week.
February 13th, 2558? 0   
Traceback (most recent call last):
  File "./doomsday.py", line 214, in <module>
    main()
  File "./doomsday.py", line 198, in main
    elif input_dow.isdigit():
AttributeError: 'int' object has no attribute 'isdigit'

Maybe I'm not using the right python or something?

doomsday.py has a #!/usr/bin/env python at the top, so let's check what that ends up with...

hobbes@magic:~/src/doomsday$ /usr/bin/env python --version
Python 2.7.11

NameError: name 'date' is not defined

Hey Bradley,

Awesome package, but I'm getting an error with certain dates:

$ doomsday dayofweek --explain 2021-01-15
Traceback (most recent call last):
  File "/home/stoofin/.local/bin/doomsday", line 8, in <module>
    sys.exit(cli())
  File "/home/stoofin/.local/lib/python3.6/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/stoofin/.local/lib/python3.6/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/stoofin/.local/lib/python3.6/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/stoofin/.local/lib/python3.6/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/stoofin/.local/lib/python3.6/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/stoofin/.local/lib/python3.6/site-packages/doomsday/cli.py", line 178, in dayofweek
    explain_doomsmonth(date.year, date.month, date.day)
  File "/home/stoofin/.local/lib/python3.6/site-packages/doomsday/cli.py", line 77, in explain_doomsmonth
    print("%d %s%s a leap year, so" % (date.year, correct_tense(date, "was", "is", "will be"), "" if methods.leapyear(year) else " not")),
NameError: name 'date' is not defined

It seems to affect dates that are in January or February. Upon inspection of the code, it does seem like date comes out outa nowhere

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.