Ask HN: What did you make during lockdown?
301–310 of 556 posts
Re: Ask HN: What did you make during lockdown?
#302Basically for generating affiliate URLs and redirecting to the relevant store based on IP Geo location. It's very basic and has only a CLI interface for now but was a good learning with some terraform, ansible, and PHP.
Re: Ask HN: What did you make during lockdown?
#303I wanted to learn React Native/mobile development while trying to address the fact that for many of us, social distancing and lockdown have isolated us and destroyed our everyday habits.
The most interesting thing I've seen is that people really enjoy writing about and reading each other's mundane updates. The app has a notes feature which automatically sends out updates to everyone you've shared a habit with. But because the update is tied to the habit, people seem more comfortable writing more personal updates; it doesn't feel like bragging, annoying since it's not traditional social media where you're writing for an audience.
Some other observations and learnings I picked up while building it:
- I love React Hooks. IMO, React is a lot more natural to reason about and to learn with hooks compared to class components. The entire app only uses hooks.
- I used Expo and it's been mostly great. They take care of builds and OTA updates are super useful for iteration and moving fast! Cons: Expo updates too slowly; some bundled modules have been stuck on very buggy builds for a while and you can't do anything until Expo updates its modules.
- Sending too many network requests will slow down your app because of React Bridge! I used Firestore which encourages making all requests on device via the client SDK. But React Native handles network requests natively so everything needs to be passed back and forth through the bridge, causing a lot of slowness if you have too many/large requests, so the Firestore way doesn't seem to work well in React Native. Instead, off load requests to a server so that you're making a single (or small number) of network requests.
- Don't use React context for your app data! Changes to the context cause everything that's subscribing to it to re-render. I was using context for each day update, meaning every update caused all the other day-s to re-render. Redux is still a great solution and redux-toolkit has really helped reduce boilerplate and the friction to get set up.
Re: Ask HN: What did you make during lockdown?
#304A mess of my personal life
Re: Ask HN: What did you make during lockdown?
#305Re: Ask HN: What did you make during lockdown?
#306Earlier quoted context omitted.
I agree, kind of. I have also suffered from panic attacks and the problem with this is that I'm thinking that I'm about to have a heart attack. The mere thought of running makes it worse. Breathing exercises (this has to be practised in advance) helps for me.
> I'm about to have a heart attack. That's a real panic attack. Drinking cold water can help reset the loop causing it (worked for me maybe once). The only thing that really works for me is GABA (700mg daily for a year, then 250mg daily for life) - but it did come up short in my blood work.
Yes! Recognicing that it is a feedback loop is probably what has helped me the most. This is weird, I love controll systems and I see feedback loops everywhere in all kinds of contexts. Yet spotting this one was very hard.
Re: Ask HN: What did you make during lockdown?
#307Added a ton of features and integration tests to my project: https://fastcomments.com/
I had thought about making something like this in the past. Really like the execution. Hope you are finding your audience and getting a sustainable business going, the world needs more of these.
Re: Ask HN: What did you make during lockdown?
#308ShowHN briefly made it to top #8 on front page.
Re: Ask HN: What did you make during lockdown?
#309Today is officially harvest time: https://www.instagram.com/p/CBtMfWKDEoy/. This is my second attempt on building a layered hydroponic. I built an Arduino-based system to automate most of the routine tasks. The only thing I need to take care of is to make sure that there’s enough water/nutrient in the lower tank once a month.