• 1 Post
  • 33 Comments
Joined 3 years ago
cake
Cake day: July 22nd, 2023

help-circle


  • My smallest python program was for filtering wifi names according to patterns. I hab collected some wifi names atomatically via sone other programs, and had them sitting in a text file with one name per line (a very simple data format). I wanted to find interesting names out of it, but didn’t want to spend much time scrolling through hundreds of names following the same pattern, like ISP-12C5, ISP-3F4B, … So i invented my own pattern syntax for very simple patterns, (ISP-%4Ax for ISP- followed by 4 hexadecimal digits with only capital letters), and wrote up a python script that read patterns from a file, and then filtered the standard input against those patters. any line not matching any pattern was then printed.

    In short it was a small project that i wanted to do, with simple data formats that i could easily parse and relatively simpel logic that i had ideas how to implement while designing the patterns. And i had some data to test it on.

    So my advice is similar to the other people here: look for things you are interested in or you need that sound simple to program, and then go on and program one of them. No problem is too small to make a program for.









  • First of all, review it yourself. By reading it again and thinking about it you might find some stuff. After that try static analysis tools like olap said (even some lsp (language server protocol) integrated in your editor can give you good tips). Only after those two options i would even consider using llms, but finding a community of people that are about your language/framework can yield better results. Especially if it is a small project.






  • Only 9, the rest are useless/bad for me. 1 and 2 are nearly the same, and not a thing i have a problem with. 3 idk what the benifit of it should be. 4 i am tall enough. 5 would be nice sometimes, but at other times it would only cause you to break things. 6 it would be bad to not be able to cry in bad situations, as these are also part of life. 7 i don’t need publicity 8 i don’t have an ex 9 you can do a lot with money in this world