mattcarmody / trackr Goto Github PK
View Code? Open in Web Editor NEWAn automated assistant that helps me manage myself. Built w/ Python & SQLite. With help from BeautifulSoup, matplotlib & Selenium.
An automated assistant that helps me manage myself. Built w/ Python & SQLite. With help from BeautifulSoup, matplotlib & Selenium.
Can this be done? Do items on shelves include timestamps? Or can read data for each book be accessed?
Date column is blank because I had backdated previous entries by hand.
Cut down on unnecessary requests by refactoring update functions
Can access the SQLite db directly on desktop. Data won't always be synced up daily, so give it ability to backfill
I've shifted off Duolingo to Anki so with flat incoming data it's showing negative values.
All modules, beside the email updates, automatically append to a new row in the spreadsheet. I'd rather it checked to see if an entry had already been made for that date. Then the program can be run more than once a day without creating duplicates.
HackerRank gives points just for logging in and they grow with each consecutive day. I'd rather this program filtered out points earned from anything other than completed exercises. This is especially true because the script (attempts to) log in to HackerRank daily.
I have a feeling I don't need to be passing cur around all the time. If not, clean up before refactoring trackr.py's function calls.
Currently appends everything to a single text file indefinitely. This can be improved, look into best practices
Update sql call to pull appropriate data for that week.
Haven't dug into the details or traceback. When I first added a couple print statements:
print(rel_entry)
print(words)
after line 9, it unexpectedly "solved" the issue. I didn't commit those changes, it needs a deeper dive.
Probably still has 2018 data but even so that capped at 30.
Add a "Select Hackos" field which sums only hackos awarded for completing exercises.
Anki, Netflix (just PT, not EN), Spotify (separate account for PT or list of sources?)
Often the HackerRank profile page will 404, causing a day to be missing in the list and update incorrectly in the main spreadsheet page.
Break out scrape from update, remove unnecessary request. Also break down scrape into smaller pieces
Honor, the point tracking system in Codewars, is broken out by category. I'd prefer this program only tracked honor awarded for completing exercises.
This is the core metric, add compatibility via emails of form: Subject Work, Body deep work two
DRY. How can update functions be improved?
Where are undefined keys being assigned? Create a To Be Addressed column in xlsx with key in dict.
Need to update the page count to a variable to grow with my history on the site.
Occasionally Duolingo adds a new language which causes data to be saved to the wrong fields. Short term fix to add a flag whenever they introduce a new language. Long term find a better way that doesn't require maintenance.
Needs tests developed and run before commits
This feels like poor practice to maintain. Update to stay DRY.
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://www.duolingo.com/users/MattCarmody
Now that a granular Hacko history is being stored on the same sheet, max_row + 1 is no longer guaranteed to put the date and total hackos in the correct row.
Currently, failures are silent. Set them up to send an email?
Either change flow or narrow down exception handling
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.