Live data from Hacker News

Ask HN: Tools you have made for yourself?

news.ycombinator.com

131–140 of 458 posts

Re: Ask HN: Tools you have made for yourself?

#131
post #97

Not sure whether this meets your "definition of a tool" but I started tracking my investments publicly a couple of years ago here https://docs.google.com/spreadsheets/d/1tBrZEMFK9XNWxiqOxE8o... The GoogleFinance Function has been a great way to help me "visualize progress" in a very different way compared to default visualizations provided by stock brokers I have also tried to keep track of analytics more manually bu…

This is really neat. Love how you’ve segmented separate portfolios based on risk/investment hypotheses. Thanks for sharing!

Thanks.

Yes, I believe that many investors are in a hurry to concentrate their investments. I prefer taking a large number of bets with high upside potential, thereby getting the benefits of diversification but also a decent expected value.

Re: Ask HN: Tools you have made for yourself?

#132
Script to filter out records of a .jsonl file based on some property (e.g. only want records w/ a timestamp greater than 163623...):

    import sys
    import orjson
    import argparse

    if __name__ == '__main__':
        parser = argparse.ArgumentParser()
        parser.add_argument('expr')
        parser.add_argument('file', nargs='?')
        args = parser.parse_args()
        expression = compile(args.expr, '', 'eval', optimize=0)

        if args.file:
            stream = open(args.file, 'f')
        else:
            stream = sys.stdin

        try:
            for line in stream:
                json = orjson.loads(line)
                if eval(expression, {}, json):
                    print(line.strip())
        finally:
            if args.file:
                stream.close()

Re: Ask HN: Tools you have made for yourself?

#133
A few years back, my car was one of the millions with an airbag recall. For months, they sent letters saying it was my turn, but if I called to book an appointment, they'd say they didn't have the part in for me yet, and I had to check a web site to see if it was really my turn.

So I wrote a script that would poll the web site using curl and notify me via Slack if the status had changed. I put that in cron, and every day it would give me the airbag report.

One day it told me that status had changed, so I called and they booked the appointment.

Re: Ask HN: Tools you have made for yourself?

#134
I built a documentation platform [1] for work since I didn't want to worry about licensing costs (With something like Confluence) being a factor, limiting potential access, when it comes to documenting and sharing knowledge.

I also wrote a simple little PHP script [2] to check HTTPS certificates (And email results) to help keep on top of things.

[1]: https://github.com/BookStackApp/BookStack [2]: https://github.com/ssddanbrown/sslcheck

Re: Ask HN: Tools you have made for yourself?

#136
post #109

I have a small YT channel [1] and I used to spend 30-40 mins recording and then 2-4 hrs editing to get a final 10-15 min video. Then I fully scripted my video editing using Python+MoviePy [2]. The time savings are sweet. I just feed it my raw video and get the finished video a few minutes later. It cuts out all the dead air as well as the parts I don't want (which I indicate in-video). In general scripting video edit…

This is very cool!

[deleted]

Re: Ask HN: Tools you have made for yourself?

#137

I have a small YT channel [1] and I used to spend 30-40 mins recording and then 2-4 hrs editing to get a final 10-15 min video. Then I fully scripted my video editing using Python+MoviePy [2]. The time savings are sweet. I just feed it my raw video and get the finished video a few minutes later. It cuts out all the dead air as well as the parts I don't want (which I indicate in-video). In general scripting video edit…

Great idea! Develop this as a standalone solution. There is a huge market open for you.

Re: Ask HN: Tools you have made for yourself?

#139
I built Firn[1] a static site generator for my org-mode oriented wiki[2]. I needed a system that could nicely handle publishing public information, and keeping private information private. In addition, I wanted something that accumulated my clocked time in org mode so that I could see how much I have worked on each project.

[1] https://firn.theiceshelf.com/ [2] https://weakty.com/

Re: Ask HN: Tools you have made for yourself?

#140

I created this tool for fun to experiment with my raspberry pi Its a tool that allows you to run server commands via text messages https://github.com/mtdevss/server-text Its a fun program to play around with

the sms number can be easily spoofed, so don't use this for serious stuff. I created a similar tool, it works over telegram, but the code is old and bad... you can see an example here https://www.youtube.com/watch?v=NZiuGb-x3RQ

Yup I totally agree with you As I clarified this is only for fun/educational purposes Definitely not intended to run in production and for serious stuff
Post reply on HN