Live data from Hacker News

Ask HN: Tools you have made for yourself?

news.ycombinator.com

431–440 of 458 posts

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

#431
https://github.com/mterron/swuniq

Like uniq but works on unsorted input to be used as a pipe filter with constant memory usage.

Feels like this should exist before I made it but all the options that I could find had unbounded memory requirements. I use it in long running pipelines all the time.

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

#432
I work in consulting and struggle to keep all of my calendars up-to-date with between company and client -- I want both domains to see my entire calendar (the union of two or more calendars). Without this I was often double booked because someone couldn't see one of my other events. And auto-forwarding invites had downsides too.

I created a tool to automatically replicate calendar events between O365 and Google calendars once given OAuth access.

Originally I built this for myself, but after a few friends/colleagues asked, I built up additional tooling around it and launched a product.

https://syncmycalendars.com

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

#433
post #420

I wrote a URL handler on MacOS where I can configure rules to define which browser will actually open the URL. Rules can be configured based on a URL regex or currently open Slack workspace. You can target different browsers, including profile (Chrome) or container (Firefox). I hope to open source this at some point.

Is it available for download/use by others? This seems to solve a particular problem for me

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

#435
post #215

Earlier quoted context omitted.

This is the best thing since sliced bread, but it doesn't work for me on a recent Ubuntu. Tried with both Python 2 and 3. Compare: $ sudo du -sb /etc/* | sort | uniq | sort -rn | head -10 2897355 /etc/brltty 436966 /etc/java-11-openjdk 402728 /etc/ssl 251196 /etc/apparmor.d 244732 /etc/ImageMagick-6 219185 /etc/X11 170093 /etc/fonts 144084 /etc/java-8-openjdk 131407 /etc/init.d 117524 /etc/systemd With: $ sudo du -sb…

For the indentation, have you tried using the option -g (--graph)? That does the trick for me

I haven't - thank you that works!

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

#436

1. A design system, to create web sites on the fly. 2. A content-as-code framework, to help me writing complex articles, mini-books. The ideas are visualized as a directed graph, so I’m sure I’m sticking to them, and the result is complete. 3. A color scheme generator for web sites, to help me creating themes with accessible typography. 4. Gravity point calculator, to help me localize the focus point of a web page /…

Can you give more details regarding 2?

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

#437
20+ years ago I needed an invoicing program. So I wrote one Perl because I wanted to be cross-platform and I wanted to learn Perl. I ported it to Python last year. The program is dumb as a rock, but almost as stable.

I also wrote a super-simple backup script (python) that backs up my filesystem the way I want. It has a TCL/TK front end with data-driven actions (button, source and destination). It's 'manual', but my external drives are air-gapped. It writes a report with various statistics.

The way these things boost the quality of my life is that backups and invoicing are "mission-critical operations". In the event of a disaster, I could port these operations to any computer with a thumb drive. The only thing I need to install is an interpreter. My backup machine (if I even need one) can have a different OS.

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

#440
post #436

1. A design system, to create web sites on the fly. 2. A content-as-code framework, to help me writing complex articles, mini-books. The ideas are visualized as a directed graph, so I’m sure I’m sticking to them, and the result is complete. 3. A color scheme generator for web sites, to help me creating themes with accessible typography. 4. Gravity point calculator, to help me localize the focus point of a web page /…

Can you give more details regarding 2?

Sections of the article / book are code modules. They are imported and displayed as text and as graphviz nodes / node groups.

At the end I see a graph associated to a long text making sure I’ve covered all ideas and their relationships. https://imgur.com/a/dEeoF1m

Post reply on HN