Live data from Hacker News

Ask HN: Tools you have made for yourself?

news.ycombinator.com

321–330 of 458 posts

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

#321
A tool that could do a bidirectional sync over FTP or SFTP. Think of it as similar to Unison[1] without needing the client running on each end.

I needed it at the time to synchronise a local copy of a web-site with the remote web-hosting space. Other people were also updating the site, so I needed to be able to pull down changes from the remote side as well as push my local changes up.

[1] https://www.cis.upenn.edu/~bcpierce/unison/

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

#322
post #37

I am currently learning SQL/Python, I often just wanted to know the headers and how many rows are in a CSV file, so I just wrote a small Python script for it. import csv import readline readline.set_completer_delims(' \t\n=') readline.parse_and_bind("tab: complete") def csvOpen(file): with open(file, "r", newline='', encoding='utf-8-sig') as csvfile: reader = csv.reader(csvfile) i = next(reader) dRows = sum(1 for lin…

Nice! It could probably benefit from passing the file as an argument:

  import sys

  file = sys.argv[1]
instead of call to input()

You could probably do:

  if len(sys.argv) > 1:
      file = sys.argv[1]
  else:
      file = input(...)

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

#323

Earlier quoted context omitted.

That’s so cool. Any chance you’d be okay sharing the script?

This is a little embarrassing, but the tool is actually browser-based, powered by Javascript and PHP. I know that's not the ideal foundation, but those were the skills I had at the time. I do have a copy of it online that I used to demo it for a friend. Being browser-based is not really a problem for me, because I run it on my local dev server and everything is instant. But over the web it has to upload each wav file…

Honestly, I like the idea. Sounds great and easy to deploy!

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

#324
I am the original author of LatexMk[1], a Perl script that runs Latex the correct number of times to ensure all cross-references and such were resolved. It can also run continuously with a previewer and several other goodies.

I wrote it around 1993 to scratch my own itch, adapting it from a little script called “Go” by David J. Musliner. At the time I was using a literate programming tool that generated Latex from C code. When I moved on from that job a couple of years later, I released a final version two, which documented that I was no longer planning to maintain it. Since then John Collins took up the cause and been doing a wonderful job from what I can tell from occasional ego searches through google and stackexchange.

Two amusing things: 1) It is the only piece of Perl code I have written, ever, and 2) I had reason to use Latex a few years later, and decided I really dislike the sheer complexity of it all. Despite that, it is surely the most enduring and widely used piece of code that I can claim credit to having a hand in.

[1] https://www.ctan.org/pkg/latexmk/?lang=en

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

#325

I made https://paymewith.xyz to share my social payments faster. Got tired of the “do you have Venmo/Square Cash/Paypal” dance.

It seems like an alternative to https://linktr.ee

Somewhat similar but much more focused on payments specifically.

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

#326

I am the original author of LatexMk[1], a Perl script that runs Latex the correct number of times to ensure all cross-references and such were resolved. It can also run continuously with a previewer and several other goodies. I wrote it around 1993 to scratch my own itch, adapting it from a little script called “Go” by David J. Musliner. At the time I was using a literate programming tool that generated Latex from C…

> I had reason to use Latex a few years later, and decided I really dislike the sheer complexity of it all

I'm not sure I understand what 'it' refers to in this sentence--is it LaTeX or LatexMk?

Also thanks a lot for LatexMk. When I was a course assistant in undergrad I used to live-TeX lecture notes and I couldn't have done it without LatexMk. Students loved the notes and I made sure to let them know about the Perl script that made them possible :)

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

#327

I built a weightlifting workout tracker. I did this because at the time I wrote it (2014) none of the current tools fit my use cases due to the fact that I compete in the sport of Olympic weightlifting and this was still pretty rare back then. I also wanted to be in control of my data and be able to run analysis on it as I saw fit. I began by writing a django app deployed via heroku. I then decided I wanted to rewrit…

I’m on the same boat. I’m building a library website for biologists after seeing my girlfriend’s struggles. I have never built anything like this before, or anything at all really. I decided to use Spring boot because I want to boost my resume and my company hires Java devs. But I’m thinking I should’ve used something more trendy lol. I’m basically at the point of designing the REST API and I’ll have to go through th…

I've built stuff to help friends in the past solve issues.

One tip, design 1 functionality on the API, build the UI on it, have your girlfriend try it out and give you feedback.

She'll slowly give you feedback to improve and also ask what other things she might want.

The things we end up thinking are priority (or the fun ones we want to tackle) might not really be priorities for them.

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

#328
Have an ultrasonic sensor on top of my monitor that's used as a presence sensor to tell the computer when I’m in front of it or not.

Pauses the music player when I walk away and starts again when I return.

More details here: https://www.michevan.id.au/posts/are-you-there/

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

#329
I wrote a python script that returns annotated PDFs of submitted homework via outlook to all students.

My workflow is to grade on my iPad, Airdrop the files to my computer, then I can run the script that matches emails and PDFs and sends them out. Before I used to compose and send emails manually, but that took forever.

Now I need to figure out how to scan my inbox for submissions and send them to the iPad automatically (anyone have an idea?)

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

#330

I am the original author of LatexMk[1], a Perl script that runs Latex the correct number of times to ensure all cross-references and such were resolved. It can also run continuously with a previewer and several other goodies. I wrote it around 1993 to scratch my own itch, adapting it from a little script called “Go” by David J. Musliner. At the time I was using a literate programming tool that generated Latex from C…

> I had reason to use Latex a few years later, and decided I really dislike the sheer complexity of it all I'm not sure I understand what 'it' refers to in this sentence--is it LaTeX or LatexMk? Also thanks a lot for LatexMk. When I was a course assistant in undergrad I used to live-TeX lecture notes and I couldn't have done it without LatexMk. Students loved the notes and I made sure to let them know about the Perl…

it = LaTeX in this case.

Not trying to diss on those who like it. It's just not for me.

Post reply on HN