Live data from Hacker News

Ask HN: What's your quarantine side project?

news.ycombinator.com

341–350 of 1001 posts

Re: Ask HN: What's your quarantine side project?

#341
As an iOS developer I learned react! Then I learned about gastbyJS and now I’m working on making a simple website for a startup/business.

By far the hardest thing for me to grasp has been CSS, it’s just so weird and feels so un natural at some points. There are so many ways to do the same thing, which feels a little overwhelming. Also in awe of grid layouts, which I just learned about so at least that’s a good thing!

Re: Ask HN: What's your quarantine side project?

#342
So for about two years I've been bouncing around an idea in my head to make the LZ78 compression algorithm (or more specifically, the LZString variant of it) compress better by forgetting the least commonly used substrings. I think I'm just reinventing a mixture of LZC and LZAP (or LZMW), but the on-line literature discussing either algorithms in detail is abysmal[0][1][2]. The main innovation would be that I have a fairly simple way to implement the forgetfulness.

Another separate innovation that I have in mind is combining that with a special run-length encoding sequence that, due to the interaction between LZAP and run-length encoding, actually wouldn't encode runs linearly but exponentially[3]. That is, instead of "repeat substring X for N times" it would say "repeat substring X for fibonnacci(N) times". I suspect that might actually be a novel innovation!

Aside from a lack of time and energy, the main thing holding me back has been, and I'm dead serious, off-by-one errors. It's really, really easy to screw up the order of adding new entries to the dictionary on both the compression/decompression side in such a way that you just get garbage out, and it's a pain to debug.

If my algo turns out to be original, I'm tempted to call it LZWAN, or Lempel Ziv With Amnesiac Nodes (referring to the nodes in the trie used to grow the dictionary).

[0] https://en.wikipedia.org/wiki/LZ77_and_LZ78

[1] https://pieroxy.net/blog/pages/lz-string/index.html

[2] https://ethw.org/History_of_Lossless_Data_Compression_Algori...

[3] https://github.com/pieroxy/lz-string/issues/114#issuecomment...

Re: Ask HN: What's your quarantine side project?

#348
I made https://rootshirechess.glitch.me (desktop chrome works best atm) so my kids could play chess and have a video chat with grandparents and cousins. I publicized it a little and have been happy to see that several people are enjoying it.

It uses Nodejs, socket.io, chessboard.js, and Jitsi. For a while I was using a 3rd party chess embed but that didn’t give me unique rooms so I rolled my own w socket.io. Now I just have to worry about glitch.me quota. I figured if it gets popular I’ll just do paid glitch.

Re: Ask HN: What's your quarantine side project?

#349
I always wanted to have my app in the App Store. I started little before quarantine, and eventually published my first iOS app — a simple day counter, Countdowns (free with no IAP). It was my excuse to try SwiftUI, and learn how to distribute an app in the App Store. https://rusinov.me/countdowns
Post reply on HN