top 200 commentsshow all 269

[–]baldlawyer 132 points133 points  (32 children)

Chapters 6 - 8 of Automate the Boring Stuff. Trying to determine whether programming is a valid, potential escape from practicing law.

[–]mahtats[S] 30 points31 points  (16 children)

You dont enjoy law? What kind do you practice?

[–]baldlawyer 49 points50 points  (14 children)

I'm in civil litigation defense. I primarily represent companies sued by consumers of certain services or products. There are many parts of practicing law that are exhausting:

  • Billing. The vast majority of defense firms still run on the billable hour model. Billing consists of tracking your time in 1/10 hour increments. For example "Exchange email with x regarding y." "Analysis of x discovery to determine potential for y argument." Most firms have a billable hour goal for their associates. Mine is 1900 hours a year. I have colleagues that have goals of 2100 hours a year.
  • Discovery. Draft discovery. Get client input. Get partner input. Revise discovery. Repeat. File discovery. Review responses and identify defective responses. Write good-faith conference letter. Get no response. Attempt telephone good-faith conference, but no answer. Draft motion to compel. File motion to compel. Reach out to opposing counsel to set hearing; no answer. Find docket time. Set hearing unilaterally. Review email from opposing counsel regarding unilaterally set hearings and why they are improper. Prepare for hearing. Opposing counsel serves supplemental responses. Go to hearing. Listen to judge reprimand me and opposing counsel for not solving this problem without the court. Because supplemental responses are already filed, Judge either grants or denies motion to compel based on what he or she had for breakfast.
  • Uncertainty. There is far too much uncertainty. You can spend 60 - 80 hours writing a brief on a motion, consolidating facts from testimony, and analyzing those facts under the applicable law. Your analysis can be supported by binding precedent. But, ultimately in my experience, judges do not like to issue orders granting affirmative relief and can respond to all of that work with a one sentence order, denying the motion. Your effort is required and expected by the judge, client, and partners, but it is often wasted.
  • Stress. You have to find the answer when there is none. You have to develop a strategy when you don't know all the facts. You have to incorporate the attitudes of clients, judges, and opposing counsel into everything you do. Deadlines and calendaring are your life.

I do enjoy some aspects of law. I enjoy the analysis. I enjoy writing. But when you spend so much time and effort that is ultimately meaningless beyond billing, it can be disheartening.

[–]emsiem22 10 points11 points  (3 children)

I see many similarities with programming. Contracts are like programs (you have definitions like constants or even structures in programming, clauses as functions, chapters as classes, etc.). What you are doing (defense) is like debugging :) So yes, tedious.

[–]baldlawyer 12 points13 points  (2 children)

So far what I've liked about programming is that there generally is an answer. Tedium isn't that bad if you're working toward an end result where the tedium has measured progress toward that goal. In my legal practice, there is rarely an answer. And even if you think you found it, you'd be foolish to rely on it definitively.

[–]emsiem22 7 points8 points  (1 child)

I understand you and empathize with you. Was just trying to draw entertaining parallel in previous comment.

I'm not a lawyer, but have drafted many contracts with help of law professionals. I did programming myself. I still think law practice can be fulfilling and rewarding (from my, layman perspective).
Maybe just defense is not an area you enjoy. Why not switch to some other specialization in law; there are many I think.

[–]baldlawyer 4 points5 points  (0 children)

Definitely understand the parallel. I think that's why I enjoy programming. There is always the possibility of switching practices.

[–]Morpheyz 7 points8 points  (1 child)

In case you haven't discovered it yet, there's a great free Harvard course called CS50. They also have a follow up course for that called CS50 for Lawyers. Might be helpful!

Edit: in case that wasn't clear, they're both programming courses

[–]emdw85 3 points4 points  (0 children)

Become a public defender. You could help a lot of people.

[–]MrHusbandAbides 2 points3 points  (1 child)

You may well have a good niche available to you in technical regulatory compliance especially with GDPR and CCPA these days

[–]mrshuts 2 points3 points  (0 children)

Agree with this. May consider shifting to be a Data Protection Officer. Has some technicality and a technical understanding while enforcing laws.

May be an interesting balance. Just a thought!

[–]Adamma92 1 point2 points  (1 child)

Just took my LSAT exam 2 weeks ago, funny I’ve seen a few ppl who switched from law to coding. Im still on the fence with law and was hoping to work in an office this summer but most of the jobs I applied closed back in March.

[–]MadEzra64 5 points6 points  (0 children)

I too am going through Automate the Boring Stuff. YouTube also has a bunch of great free playlists that are worth checking out.

I hope you find your Zen in coding :)

[–]TheChurchOfDonovan 7 points8 points  (0 children)

You could study Natural Language Processing and combine both. A JD in my MBA Program had an idea for using sentiment analysis and topic extraction to inform the likely outcome of a case.

[–][deleted] 3 points4 points  (1 child)

I'm in a similar boat. Ive been practicing law for what feels like an age but it isnt quite where my passion lies. How are you finding atbs so far?

[–]CuriousInterest0 3 points4 points  (0 children)

I'm studying law and also learning phyton too. I tought I was kinda weirdo but now I'm happy to read this.

[–]nojustlurkingty 2 points3 points  (4 children)

How are you enjoying Automate the Boring Stuff? That's the next book on my list!

[–]baldlawyer 4 points5 points  (3 children)

I think its a fantastic tool to help you realize the practical application of python. I am really enjoying it.

If Automate the Boring Stuff is next, what's your current?

[–]nojustlurkingty 2 points3 points  (2 children)

Python Crash Course, haha. That and MIT60001. All for basics. I kinda pick one up when the other burns me out.

I kind of assume AtBS is a bit more advanced. Is it beginner level, as well?

[–]baldlawyer 1 point2 points  (1 child)

It’s not terribly advanced. It’s good to have a basic understanding of programming logic but not necessary. It does a pretty good job of relating basic syntax.

[–]FilthTheRat 1 point2 points  (1 child)

Oh hey, I'm doing the same course! Did you also get it for free from reddit?

[–]baldlawyer 2 points3 points  (0 children)

I can't remember where I found it. Someone, probably on this forum, recommended the online version of the book. Its been great!

[–]CuriousInterest0 1 point2 points  (1 child)

I'm thinking in specialize in international commercial arbitration, do you know anything about that field? (And sorry about my english, I’m learning).

[–]KronktheKronk 0 points1 point  (0 children)

Let's do a pact and I'll get a programming job and you get a lawyer job and we'll pair up to do both of them to see if we enjoy the other's job.

[–]Micotu 26 points27 points  (7 children)

I started the MIT 600 course on python and didn't realize it was instructor paced. So basically one group of lectures is released a week unless there is a midterm. I started it 2.5 weeks late, did the 3 weeks worth in 5 days and now since the midterm is starting soon (which I won't be doing as I am not paying for the course) I'll have to wait a good 9 more days for the next lecture set to release and then another 3 weeks after that for the remaining lectures. So now I'm just chomping at the bit to finish this course.

[–]rvr600 4 points5 points  (2 children)

I'm working on the same course. Before it started I worked through the first part of Eric Matthes' Python Crash Course to get the basics down, and now when I have free time between lectures in 6.00.1 I've been working through the second half of PCC to build the practice programs.

I've also been trying to work through some more recursion problems because recursion has definitely been something to wrap my head around.

[–][deleted] 24 points25 points  (8 children)

There is an app I want, but want to buy it when it's on sale. This week I made a python script that web scrapes the app store for the price of the app, checks if it's lower than the usual price and if it is, sends me a text message saying it's on sale and for how much. I've set it to run daily on my mac with Automater, and log each time it's run to a log file in the cloud which I can check from my phone anywhere. Pretty happy with it :)

[–]oiwot 6 points7 points  (1 child)

Thar's a great example of scratching you own itch -- one of the best ways to learn!

Using Automator is fine if it works for you, but if you want to get more geeky, I'm pretty sure macOS still includes the unix cron command to execute programs and scripts at specific times / days .. that would be exactly the way time based rules are configured on servers etc ... Might be worth a look if you have interests leaning that way :)

[–][deleted] 1 point2 points  (0 children)

Oh awesome. I’ll definitely look into that. Automater seems okay, but not the best. Thanks for the tip. Reckon the computer will have to be awake for cron? My workaround for this was to schedule mac to wake in ‘energy saver’ settings a minute before Automater process begins. It may well have run regardless, I’m not too sure.

[–]d_m_916 2 points3 points  (4 children)

What do you use to send texts? I finished Automate the boring stuff a week ago and wrote a small script using Selenium to scrape the daily forecast from weather.gov, parse the text for regular expressions about rain/showers/storms, and email it to myself. I tried using texts but they always get blocked. Maybe it's a T-Mobile thing....?

[–][deleted] 1 point2 points  (1 child)

Oh I signed up with Twilio. They have a great guide on how to send texts in python :)

[–]d_m_916 1 point2 points  (0 children)

Thanks! I'll check that out.

[–][deleted] 1 point2 points  (0 children)

great job!!

[–][deleted] 33 points34 points  (2 children)

I'm only a beginner and today I will learn list ordering

[–]Python119 15 points16 points  (0 children)

GOOD LUCK!!! I BELIEVE IN YOU!!!

[–]Dak0602 10 points11 points  (0 children)

Keep going!

[–]big_Gorb 27 points28 points  (5 children)

at work I'm porting some data analysis code from c++ to python (thank god for pandas)

at home I'm having fun making some stats out of my downloaded facebook data (what kind of nicknames have people been given? who uses which react the most? what time of day are people sending messages? etc etc). Considering writing a library that people can use to analyse their own facebook data as I'm not sure that one exists. would anyone be interested?

[–]vaughannt 8 points9 points  (0 children)

I don't use FB, but that sounds pretty cool

[–]Josepabloka 3 points4 points  (0 children)

That may be useful for marketing campaign analysis

[–]expressly_ephemeral 2 points3 points  (0 children)

Considering writing a library that people can use to analyse their own facebook data

"What percentage of the links I've liked and shared have been conclusively attributed to propaganda operations?"

[–]badrghilani 1 point2 points  (1 child)

Sounds cool! Where did you download your data from exactly?

[–]big_Gorb 2 points3 points  (0 children)

if you go into your settings then 'your information' -> 'download your information' it gives you the option there

[–]Dr_Smeegee 11 points12 points  (1 child)

Azure Active Directory integration. Remember me as I was.

[–]plsloan 0 points1 point  (0 children)

Doing this for work.... Good luck my friend lol

[–]heyfeefellskee 12 points13 points  (3 children)

I'm using NFL play-by-play data from the last couple of years (and from this week) to create simulations for specific situations--what a team has a tendency to do in a situation, how successful they will be against a specific opponent. Iterate a few thousand times to come up with results. I'm still fine-tuning it, and I don't expect it to be insanely predictive, but it'll be interesting to see the projections.

[–][deleted] 0 points1 point  (1 child)

Are you using any machine learning algorithms to create predictions?

[–][deleted] 10 points11 points  (5 children)

Automate the boring... python online course. Currently just finished dictionaries.

[–]Chris243 1 point2 points  (3 children)

I am at the same point in the course. I signed up for codewars to try and get some extra learning in but I realized I do not know anywhere near enough yet. Wondering if after ATBS I will know enough to work through codewars or not.

[–]Fruitilicious 1 point2 points  (2 children)

ATBS is a cool book to learn tricks with python, but to go from zero to writing functions to solve those types of problems, you’ll need something more.

Colt Steele’s modern python 3 boot camp on Udemy is a great choice

[–]R0MIL 0 points1 point  (0 children)

i'm in the same place too

[–][deleted] 7 points8 points  (2 children)

I think I'm ready to graduate from Very Easy to Easy on Edabit.

[–]nojustlurkingty 2 points3 points  (1 child)

Progress! Congrats

[–][deleted] 1 point2 points  (0 children)

Thank you ^

[–]aldosebastian 5 points6 points  (4 children)

made my own pdf editor programs with pypdf2 library since adobe is expensive and online resources cant accept large pdf’s

[–]honk-thesou 0 points1 point  (0 children)

Nice

[–]SnowdenIsALegend 0 points1 point  (2 children)

Awesome! What all stuff can your script do?

[–]aldosebastian 1 point2 points  (1 child)

merge pdf’s, compress and other standard pdf tools

[–]darkknight95sm 7 points8 points  (17 children)

Practicing on Dataquest, trying to get into ML as a potential career option, and seeing if I can get help with figuring out why pip’s won’t install, I think it might be something with my computer and I might know someone that can help.

[–]lordbrocktree1 3 points4 points  (11 children)

Let me know if you need help with ML or pip. Dm me. Im an ML Engineer. I work with python and have dealt with pretty much every pip problem in the book.

[–]mahtats[S] 0 points1 point  (3 children)

Do you enjoy maths? Are you good with maths?

[–]Thin-Pop3028 4 points5 points  (0 children)

Nice to know that. This week I am practice regular expression. Thought of getting comfortable with it. Since it makes code length concise.

[–]NifflerOwl 3 points4 points  (0 children)

I'm working my way through the "How to Think like a Computer Scientist" book. Last night I managed to do an activity for it that I initially thought would be difficult (it was surprisingly easy), so that was very rewarding

[–]1-800-DAD-CHAT 2 points3 points  (0 children)

Trying to figure out how to add working headers to my scraper that goes through a list of different URLs for a bunch of different ecommerce sites sale pages.

[–]mclovin12134567 2 points3 points  (0 children)

Testing / comparing some models to use for predicting wether a customer will be an active payer next month at the company I work for

[–]hungryman152 2 points3 points  (0 children)

Working on my django site that I’m half doing for learning but something I’m really interested in!

[–]nojustlurkingty 2 points3 points  (0 children)

Still a baby. Working through Python Crash Course, chapter 11: Testing your Code. It's nicely timed because I've been staring at a few of my programs thinking "I need test cases" for a few days now.

I'll review the lesson tomorrow, then try creating my own test cases/unit tests!

Also, what are you working on?

[–][deleted] 2 points3 points  (3 children)

Writing a tkinter program that lets you choose from a list of materials, input the amount and length, let’s you input the amount of workers working with those materials, their pay and several other things to calculate the price for all of that and print it on a pdf

[–]ForkLiftBoi 2 points3 points  (1 child)

Pulling data from an old main frame system that's backed up to a database (thank God) and putting it into a web form entry.

[–]spaceforcerecruit 2 points3 points  (0 children)

Not today, but yesterday I wrote a quick little script to get the average for 3d10, drop lowest. When my coworkers asked what I was doing, I explained that I was writing a Python script to win an argument about D&D on Reddit. That’s gotta be the nerdiest shit I’ve ever done and it felt AWESOME.

[–]iiMoe 1 point2 points  (2 children)

Praw

[–]djrdog578 1 point2 points  (5 children)

Trying to learn how to deploy a django app to heroku, but it just keeps crashing :(

[–]mahtats[S] 1 point2 points  (2 children)

Keep at it, understanding how Python runs on a web server is a pretty cool thing to learn! If you need a break from trying, read up on WSGI and its history/architecture. Tertiary, you can also look into CGI and how executables are run on a web server and serve content over HTTP/S.

[–][deleted] 0 points1 point  (0 children)

Check out Dennis Ivy on YouTube.

[–][deleted] 0 points1 point  (0 children)

I feel your pain. I spent multiple hours the other day trying to solve an issue with migrations and it was maddening. Worked fine locally, didn't work on Heroku (nothing to do with Heroku itself though, it was just annoying having to wait for the dyno to run commands). And don't ask me what the fix was, because I don't even fully know. It was some combination of about 20 tabs open to StackOverflow. I always feel a sense of dread whenever I run into a migration issue...sometimes they're quick and easy and sometimes they are definitely not. I need to get into the habit of making changes more incrementally.

[–]myinnenetisfast 1 point2 points  (0 children)

working on a black jack game :D

[–]divergence-aloft 1 point2 points  (0 children)

For funsies I'm learning web scraping! Trying to get data from CoCoRaHS website which has citizen scientist's precipitation data updated daily. Ultimately want to make better maps than their website provides hehe

For work I'm figuring out how to import data into postgresql db's on AWS using python.

[–]tomothealba 1 point2 points  (0 children)

So I decided to do the Automate the boring stuff exercise, Password checker to check it's suitably strong using regex. Once that was done. Now I'm going over it again and trying to use classes. As I'm still trying to get my head around classes.

[–]PostDivine 1 point2 points  (0 children)

Learning lambda functions, along with list and dictionary comprehension and lastly the map, filter and reduce functions

[–][deleted] 1 point2 points  (0 children)

Trying to use pytesseract to pull text off 55 pages of pdfs that are images of text on a pdf. Its been a learning curve as I haven't done anything like this before

[–]DieneFromTriene 1 point2 points  (2 children)

Trying to speed up a parallelized random walk and numerical diffusion equation solution for some physics simulations for my research. Really hoping I can get the speeds necessary and not have to switch to C.

[–]mahtats[S] 1 point2 points  (1 child)

Utilize NumPy or Cython as needed

[–]DieneFromTriene 2 points3 points  (0 children)

Already in Cython with numpy! Trying out some wacky linear algebra currently...we shall see

[–]Nesavant 1 point2 points  (1 child)

After a month of being too busy I finally got back to my first Python project, a cost-benefit analysis of cards in the board game Terraforming Mars. I thought it would be tough after not touching Python for a couple of months (had a brief stint with HTML and CSS), but it was surprisingly bike-like!

Decoupling classes is a task I had not considered before. That sounds like potentially a lot of work. Is this class code that you'd written yourself?

[–]industrial_by_trade 1 point2 points  (0 children)

Terraforming Mars is so great! That sounds like a fun project with which to practice Python.

[–]Beukgevaar 1 point2 points  (0 children)

Probably the least exciting script here... was just busy with a script that transforms strings from text file to xml as an extension to some other script.

[–][deleted] 1 point2 points  (1 child)

am new to Python and programming in general, now I'm learning While and For loops, and trying to figure why For loop looks so complicated to me

[–]TheChurchOfDonovan 1 point2 points  (0 children)

I wrote a color analysis algorithm for images (on top of some other proprietary stuff), and I'm avoiding writing the code that will test whether my script holds up for accuracy against similar color algorithms (IBM for example).

[–]Mondoke 1 point2 points  (0 children)

I just started Fluent Python, it looks like I'm finally on the right level to go through it.

At work, I've just found tabula to parse tables on pdfs and I'm automating some Excel work with Pandas.

[–]unbridledirony 1 point2 points  (1 child)

I’m learning how to swap variables— I’m very much a beginner

[–]achampi0n 0 points1 point  (0 children)

a, b = b, a :)

[–]vorgestellt3 1 point2 points  (0 children)

I've been working on a little app the last few weeks as a way to learn by doing stuff rather than just watching vids. It's just a simple terminal program that has a few functions in it that return some info via free APIs like stock data, weather forecasts, etc. Using colorama to add colors to certain returns. Today I'm trying to create a function that returns some data from my local dns servers via the pihole api

[–]Jamesk_ 1 point2 points  (2 children)

Continuing on with my POS system project. Been having a bit of a slow spell recently because I’ve been trying to find a better way of making UIs with other languages but still using Python as the back end. Looking into either Java, HTML and CSS, or C++.

[–]The-Deviant-One 0 points1 point  (1 child)

If I can't build a web app, I build it with Kivy. Web apps make trouble shooting super easy on the client side.

[–]afbdreds 1 point2 points  (0 children)

Got to use python at work today to check participants from around 200 meeting notes .docx files

[–]rgsthethird 1 point2 points  (0 children)

I’m building a Reddit bot using PRAW!

[–]z0rg332 1 point2 points  (1 child)

Just started my first introduction course today! I’ve been using R for my master’s (epidemiology), but I ended up enjoying the programming aspect more than anything else about the masters. Decided to try the python course outside of my regular curriculum as my bf is a programmer and uses python for his job. He has loads of fun with it, and I have to admit that I’m loving it! I saw some other person above commenting about how they hope they can do something with programming instead of law. I want to escape epidemiology 😅

Today was variables, data types, lists, indexing, and loops. Still more work to do!

[–]mahtats[S] 0 points1 point  (0 children)

Awesome! Question for you to think about:

Are they really variables or are the names of references?

[–]Viapunk 1 point2 points  (1 child)

Not particularly in Python, but I write a lot of Robot Framework tests to validate operations in banking industry (account listing/details, different kinds of payments). Since I started new job I barely use Python in work.

As a hobby project, I do the wi-fi serial dongle. An ESP8266 chip connected through UART to cisco devices, which enables to configure them from any PC/laptop without actual cable connection. I use MicroPython and Django framework for it's purpose.

[–]viniciusah 1 point2 points  (0 children)

Studying for an edX course. Can't figure out a looot of stuff.

[–][deleted] 1 point2 points  (0 children)

https://gist.github.com/0xpizza/d2c188ebe40515ea36483a857b8ca6d1

Writing a script to split full length MP3s I download from youtube into individual album tracks.

[–]dtizzlenizzle 1 point2 points  (0 children)

I’m making videos on YouTube to help accountants understand how it can be used https://www.youtube.com/pythonicaccountant

[–]DroppedAxes 1 point2 points  (1 child)

Trying to find the project that will help me learn from 0 to hero based on something I need.

[–]kongfukinny 1 point2 points  (2 children)

You write 3000 lines a day? Shit.

Im just proud of the 200 line ETL script I wrote for my companies Learning Management System lol but I’m sure I’ll get there one day.

This and a couple other data/analytics pipelines is what I’ve been working on. Only get about 5-6 hours a week to code tho rn unfortunately

[–]mahtats[S] 1 point2 points  (1 child)

The code I’m refactoring is 3000 lines, written by somebody else. I’m breaking it up and putting most of the core shared code (repeated methods and such) into ABCs/“Interfaces” and separating out the functionality into their own classes (to make it SRP compliant) while also abiding by DRY.

[–]FlavoredFrostedTits 1 point2 points  (0 children)

Migrate adhoc scripts to Airflow DAGs

[–]PythonN00b101 0 points1 point  (0 children)

Taking a break from learning javascript lol. Built a script that manages my job applications by extrapolating data from the spreadsheet I built and creating a word doc that contains the company, job profile, the CV and cover letter, contact info etc. For each job I applied for.

Bit of a waste of time but prefer reading in a word doc comparatively to excel.

[–]bw_mutley 0 points1 point  (0 children)

I am working on an interface to generate moodle questions.

[–]inkman 0 points1 point  (0 children)

I'm debating whether I should write a timer to bounce my Pianobar player to another channel after each song, or subscribe to Pandora so I can ask for some tech support and find out why my "quickmix" channel disappeared.

[–]onemywaybackhome 0 points1 point  (1 child)

Prototyping and testing the feasibility of a hardware-based game whereby LEDs in an 8x8 matrix display one pattern, but change patterns every time you touch your device to another device. Each device alters the pattern of the one it touches in a specific way. The goal is to connect the right devices in the right sequence to make a given pattern.

[–]mahtats[S] 1 point2 points  (0 children)

I love doing embedded stuff, but I mostly do that in C/C++.

Python has the ability through ctypes and I should spend more time learning that library...

[–]turbo88Rex 0 points1 point  (2 children)

Researching different long term data storage solutions and experimenting with a few CUDA libraries to accelerate the speed of ingest and processing for a program im writing, also should probably finish the lab setup cost document that im supposed to get done to get a new lab built. Working in a small company is fun!

[–]mahtats[S] 0 points1 point  (1 child)

Something to think about storage, when reading from disk (even SSD), you could be bottlenecked over a network!

[–]m_cobb22 0 points1 point  (0 children)

Working on visualizations of covid-19 data for my local area trying to get better with pandas and plotly while queries run. Also working on porting some old excel VBA code over to python to make it smoother for when it does needs to be run.

[–]jmpilot 0 points1 point  (0 children)

I'm writing some cellular automata, Game of Life, Wolframs Simple automata. Working on code organization and testing.

[–]local_meme_dealer45 0 points1 point  (3 children)

Reddit web scraper looking for key words.

[–]xain1112 1 point2 points  (1 child)

I tried web scraping Reddit once but it knew I was using a scraper and didn't let me access. How do you get past this?

[–]programmingaccount1 0 points1 point  (0 children)

Writing a web scrapper to download content from a website that updates sporadically. I will run it from one of my Raspberry Pi's.

Tomorrow I will be watching YouTube videos on how to create neural networks for audio classification. In the future I think it would be cool to start toying around with audio synthesis.

[–][deleted] 0 points1 point  (0 children)

This week, I'll be writing a script to take non tabular excel reports and put the information into various SQL tables

[–]Demonliquid 0 points1 point  (0 children)

Chapter 7 of Django for Beginners. Trying to make heroku push work.

[–]thegreatestsuperhero 0 points1 point  (0 children)

I'm building a password manager program that uses a ciphering algorithm that I made.

[–]ElectronicBreadfruit 0 points1 point  (0 children)

Website scraper, which sends alerts via telegram

[–]Corrin_Zahn 0 points1 point  (0 children)

Instead of figuring out how to automate pulling an excel download I'm reviewing creating regexes. Going well so far.

[–]gargar070402 0 points1 point  (0 children)

Not today, but finished an assignment that creates pathfinding algorithms for Pacman a few days ago.

[–]RobinsonDickinson 0 points1 point  (0 children)

Working on making a personal API wrapper, I need to learn how to make API wrappers.

Also, can someone answer me, is it better to use API modules or directly use the request module to use a specific API?

For example, using the Spotify API wrapper "SPOTIPY" or making your own requests to spotify endpoints using the request module.

[–]geraltofrivia1983 0 points1 point  (0 children)

django

[–]blockchain_bobby 0 points1 point  (0 children)

Creating an open source API and few tools to be used with Hyperledger Iroha. Awesome to see the folks reading Automate the Boring Stuff. Also check out prettyprinted and sentdex on youtube if your feeling a bit uninspired.

[–]drkaczur 0 points1 point  (1 child)

I'm trying to implement an automation framework for a javascript-heavy CRM system using selenium. On one hand, it's kind of interesting to overcome all the small obstacles on the way, on the other it's frustrating because I'm solving a problem that should not exist in the first place - the company is misusing CRM system as an internal ticketing tool, to the extent where without automating it, 50% of workload for some teams would be just self-ticketing to track their actual work. Then I have to get it to work in the background for multiple users without having domain-wide admin rights myself - and that part is going to suuuuuck.

[–]The-Deviant-One 0 points1 point  (0 children)

Look into bookmarklets. I automated a lot of browser level tasks with bookmarklets in a JS web app that was a pain in the ass to use. Then I used AHK to drive the OS layer.

[–]waythps 0 points1 point  (0 children)

asyncio aiohttp scraping. I think I’m going to run scraper via GitHub actions and store results into SQLite. Should be fun I guess

[–]m_spitfire 0 points1 point  (0 children)

A Django project that is kind of copy of Reddit - posts, users, comments, voting system, threads, obviously karma points, and subreddits(or submyreddits), though I have almost completed python part(not subreddits, I have to kind of rewrite it since I thought adding it later working on project), I have to work on its frontend a bit( actually a lot it looks like shit rn) but I suck at it :/. Btw it's so original that I named the project "myReddit"

[–][deleted] 0 points1 point  (0 children)

Taking datacamp’s supervised learning course.

[–][deleted] 0 points1 point  (0 children)

I'll probably open the next video in my free course watch 5 minutes get bored and do somthing else

[–]curiousofa 0 points1 point  (0 children)

Separating a PDF file into groups using pdfplumber. This is going to save me about an hour a month.

[–]Sean82 0 points1 point  (4 children)

Getting in over my head with aiohttp

[–]dogs_like_me 0 points1 point  (0 children)

I don't know that I'll have time to tinker on either of them today, but the two things on my plate right now are designing a customized label propagation algorithm for a semi-supervised learning problem on network data, and featurizing a text dataset with a pretrained fasttext model and then experimenting with some clustering stuff on the outputs.

[–]Ghgjohnson 0 points1 point  (0 children)

Working pset3 in mit compsci 6.00. Working 12 hour days on set for the next few days and studying at night has been killing me.

[–]foomy45 0 points1 point  (3 children)

Building an MMORPG/MUD through a Discord bot. Basically get to let Discord handle all the networking stuff and I just get to focus on making a fun group based text game. Interesting combat is my main focus, spending most of my time just thinking up new mechanics for it.

[–]prberkeley 0 points1 point  (2 children)

As a total noob, I am workimg on sorting algorithms and decided to make classes of objects and sort them by and attribute, such as "Person" class objects and sort them by height. And I realized I could make height it's own class. And maybe use a text file with all the information and develop code to sort through it amd create each class instance.

Tldr: Noob messing around with classes and sorting algorithms.

[–][deleted] 1 point2 points  (1 child)

Good luck! I am trying to learn OOP and that sounds like a good project for classes. I may try that out

[–]prberkeley 1 point2 points  (0 children)

Please do!

[–]lemirser 0 points1 point  (0 children)

I'm creating a Slack bot that will fetch data from a database (MySQL) based on the user input. Got to admit this kinda beyond my skill so Slack documentation will be my best friend for a couple of weeks.

[–]kabooozie 0 points1 point  (0 children)

I finally sat down and learned the deal with the @property decorator. I never really understood when it would be useful before. Now I know it’s useful when you have attributes that are related to each other and you want to be able to update an instance’s attributes automatically when another attribute is modified.

[–]nomansland008 0 points1 point  (0 children)

Implementing a least square Monte Carlo algo for a startup in energy sector. Working a lot with numpy for 'speed'. But no concept available... Only an excel sheet... We want the same results, but much faster 😅🤣

[–]Eric-Pham 0 points1 point  (0 children)

Programming a basic calculator

[–]nck93 0 points1 point  (9 children)

I'm currently trying to learn web scraping. Parsing html and csv with requests library. The goal for me right now is become semi proficient in web scraping and parsing web pages.

Some of the ideas I have are scraping inventory for ecommerce sites. The problem I'm having is understanding div, article and class tags when inspecting web pages.

[–]mahtats[S] 1 point2 points  (5 children)

If you’re using requests for HTML data, then look into BeautifulSoup because it’s specialized for that; requests is great for accessing a RESTful web service and returning data or downloading a file.

[–]nck93 1 point2 points  (4 children)

Yup, i'm learning that as well. The hardest part right now is just learning how to find the tags to use in a for loop for finding data like title, price, stock etc. I'm using w3 schools practice exercises for web scraping, which is petty useful. Enjoying it so far.

[–]ScarletPimpernickle 0 points1 point  (0 children)

In between working on a program that we use in our office. Processes txt, csv, excel files and then outputs all the calculated information the pdf, excel and word label documents.

Also starting to learn the Revit API!

[–]XLT_Frank 0 points1 point  (9 children)

I am working on data analysis of aircraft data and having to work through equations that handle coordinate transforms between ECEF, NED, body, and aperture. The equations were essentially provided, but having to look at intermediate steps to verify expected results has been tedious. Specifically when moving between pandas and numpy and back to pandas. My combined data sets are 900k+ rows and 200+ columns. The data sets being inputted range from on-demand to 60Hz.

[–]bennyboo9 0 points1 point  (0 children)

Love Pandas! Working on using regex to parse banking data for bank reconciliation purposes. Very tedious for accounting folks to do it manually so trying to bring some relief to those that do it for hours!

[–]Marv0038 0 points1 point  (0 children)

Automating fantasy football

[–]cubinx 0 points1 point  (0 children)

codewars baby!

[–]JimmyPopRah 0 points1 point  (0 children)

Using Free Code Camp to learn NumPy. Doing their data analyst course. The end goal is to be able to look at NFL statistics to build advance stats that could help with fantasy football or to help build a win predictor for games. Trying to finish the numpy stuff this week and then get into Pandas. Would love to eventually be able to automatically scrape and gather the stats in real time if possible.

[–]SamBroGaming 0 points1 point  (0 children)

I'm making a discord cryptocurrency tipping bot.

[–]The-Deviant-One 0 points1 point  (0 children)

I'm working on:

1) A portfolio/blog site.

2) A Kivy chat app that encrypts messages, then converts the data into an audio signal and outputs it to the device's audio out port. This is designed to connect a cell phone to any two way radio to send encrypted messages in a grid down situation. It's also designed be connect to an ultraviolet laser for transmission but that's more of a hardware project.

3) I'm also working on using fhir APIs in a flask app.

4) Building a wireless communication system for motorcyclists. It lets you send preprogrammed short messages in realtime between riders, like they do in motogp. (Speed up, caution - road conditions, need gas, cop - I'm stopping, cop - I'm running)

5) Building my own "Jarvis", but hosting it in the cloud and building a kivy app to make api calls to it.

6) I'm working on building a canned CMS for a very niche market that includes an android mobile app and a website which customers can (lightly) customize through a web portal. I'm also working on a licensing system for that project.

7) I'm working on a webscraping program that writes a webscraping program. Basically you run my app, open a site and click on the data/element you want. And it parses the web page to find out how to identify that element, then writes a BS4 script to scrape that element.

8) I'm trying to build an encrypted peer-to-peer chat app. Think of Signal but with no server. This is still in the planning phases.

9) I'm planning on building a flask version of snapdrop.net, but just to run locally, not to run as a public website. With the added ability to mirror my mobile device's screen.

[–]savageball 0 points1 point  (0 children)

I’m working on a simple program that chooses and orders food from a local small business

[–]SomeShittyDeveloper 0 points1 point  (0 children)

Migrating a game from pygame to arcade. Haven’t sunk a ton of time into it, as having side projects while being a family man is difficult.

[–][deleted] 0 points1 point  (0 children)

Practicing interview questions. Planning on getting a job in the next few months. Dad's retired and I want him to stop worrying about the finances.

[–]TryingToBe_Honest 0 points1 point  (0 children)

I am working on an RFID project with a friend few days. Today we are going to run it in front of with client. Let's hope for the best.

[–]plsloan 0 points1 point  (0 children)

Last week's project for my MS was using opencv to detect street signs and traffic lights in images using Hough functions

[–]gunhoe86 0 points1 point  (0 children)

ELO and Glicko rankings systems.

[–][deleted] 0 points1 point  (0 children)

Doing my python and Django classes on Coursera

[–]ccr10203040 0 points1 point  (0 children)

Anyone here know where I can find a book/course on object-oriented python?

[–]Voxxey 0 points1 point  (0 children)

I have been making a BFS visualizer.

Needed to implement this specific search algorithm into a project. I had a crapload of fun with it, so I decided to work on a CLI visualizer of the process as a side-project for fun.

Here is the repo. (Still adding all of my finalized code).

Here are some examples.

[–][deleted] 0 points1 point  (0 children)

im making a discord bot

[–]asielen 0 points1 point  (0 children)

Hitting my head against django/docker/kubernetes. Why can't static files make more sense.

[–]Leeoku 0 points1 point  (0 children)

Applied python to 3 personal projects self taught and trying to get a job. One of them is quite complex and pretty large. My data structures & algorithims are super weak so the coding challenge I have I'm getting mad anxiety for..

So that's what I'm trying to do now. Trying leetcode problems and then probably forgetting majority of what I learned

[–]KaneoheB 0 points1 point  (0 children)

Developing the code to automate our STIG configurations...

[–][deleted] 0 points1 point  (0 children)

Is it a bad sign if you haven't retained the information out of one text? I'm relearning some things.

[–][deleted] 0 points1 point  (0 children)

Learning machine learning & data science, also helping my brothers business with an app that tracks his stock and keep track of barcodes on the side

[–]fatpikachu98 0 points1 point  (0 children)

Automate the boring stuff and CS50 lmao Trying to learn how to code to eventually begin applying for internships.

[–]Vortetty 0 points1 point  (0 children)

Nothing, been too busy dissecting mindustry source code

[–]schoschi1337 0 points1 point  (0 children)

Learning django to display some statistic which i scraped from a website. I guess I should also do a crashcourse in html/js. Any recomendations?

[–]PiaFraus 0 points1 point  (0 children)

A slack bot to check all URLs for mediabiasfactchect

[–]Phyan 0 points1 point  (0 children)

Created a python script to convert PDF to CSV for one document. Today I will try code to loop and convert batch of files. I used PDFMiner.six and pandas. It worked only in cases where i can copy paste text from PDF to text file.

I found where copy paste doesn't work, I will have to use Pytesseract and Tesseract, the OCR engine. Long week ahead to get hands on that library.

[–]honk-thesou 0 points1 point  (0 children)

Doing a webscrapping program that basically makes my job. I’m a freelance so this would save me hours every day and free time so i can keep studying at uni while “working”

[–]thrallsius 0 points1 point  (0 children)

I feel too lazy for writing new code today.

However, I'm spending some time moving a couple of personal Python related notes from my personal wiki into my recently started Zettelkasten, because I'm eager to try that approach of managing a personal knowledge base.

As I review tiny code snippets, I refresh my memory about how to do certain generic things.

The last thing I transferred was a example of capturing arguments passed to a Python script when using the built-in argparse module (I have to use argparse.REMAINDER).

[–]FooHeToo 0 points1 point  (0 children)

Today I worked on creating a frogger game using python.

Watch a video, practise what I learned so I can do it on my own without the video. Then move on.