Ask HN: Any scientifically proven techniques to boost concentration?
32 by amznbyebyebye | 20 comments on Hacker News. I feel like I have to be in a very specific head space to write code. It’s like climbing a big hill but in my head. Sometimes it’s effortless and sometimes it’s a slog. Are there any proven exercises or techniques I can adopt that are proven to boost my ability to focus and get in that clear headspace to write code? Edit: adding some tips as I try to figure this out. Note: not scientifically proven (to my knowledge) 1. Music. which type depends on the individual. 2. Timing. Dead of night or early in the morning when the world is quiet. Not this isn’t a muscle you can flex at any time, you have to just capitalize on the right time. 3. Long shower 4. Caffeine 5. Get out of the office/house go somewhere else (like a cafe) 6. Take a walk 7. Have a beer 8. Write thoughts down in a notebook without any phones/laptop in sight and then jump to the laptop to implement 9. Meditate 10. Lift weights / exercise to work the demons out and quiet the mind
Ask HN: How to keep tech running in the apocalypse?
4 by armagon | 2 comments on Hacker News. The gist of this question is, "how does one prep to keep technology operable?" Imagine a disaster causes widespread collapse, where resources are no longer easily available, power and internet access is erratic or non-existent, and then things calm down enough to where the necessities of life are available and society tries to resume functioning. Now, suppose you'd like to make computers work. What sort of things would you need?Power, obviously, or a way to charge batteries. What else? What if you wanted to have communication with other people, or perhaps data communication? Would you want packet radio? HAM gear? What if you want to repair equipment? I don't know if the computers in cars "break", for example [not that I imagine fuel being available]. I wonder about what sort of needs there might be to repurpose gear. What if you need to keep an application running? Maybe you have a mesh network and people want a web app for some purpose. But, without documentation, it'd be incredibly tedious. I can't help but think I've seen a linux distro designed for this scenario, where you have binaries, and all the code, and all the toolchains, and all the documentation. The right answer might be "don't bother", but I'm still curious.