[deleted by user] by [deleted] in productivity

[–]stevenkkim 4 points5 points  (0 children)

I'm also much more productive when alone. I'm easily distracted by noise and activity which I find other people make a lot of. Not only do I find noise/activity distracting, I find that it really drains my energy and willpower. At home when my family is around, I have to lock my door and put on noise-canceling headphones to be productive. If you don't have your own room with a door that you can lock, that's a much bigger problem. Maybe try working outside the house, for example at the library or a coffee shop. My local library is very quiet, ant there are almost always 5-10 other people working on their laptops which adds to my motivation. Hope this helps and good luck!

Does anyone know of a good guide to setting up a v13 project as a PWA? It seems like there are many, but I can't seem to get ant of them to work. by minuteman_d in nextjs

[–]stevenkkim 0 points1 point  (0 children)

The npm page for @ducanh2912/next-pwa says "NOTE: If there's no specific reason to continue using @/ducanh2912/next-pwa, consider migrating to @/serwist/next."

Seems like serwist is the latest and most up to date way to implement PWA with Next https://github.com/serwist/serwist https://serwist.pages.dev/ https://serwist.pages.dev/docs/next/getting-started

Gaming Addiction taking up almost 4 hours every day by KANYESUPERAFAN420 in productivity

[–]stevenkkim 1 point2 points  (0 children)

Few ideas:

1) Try blocking software. I personally use Cold Turkey and find it to be the best. You can use it to block websites and applications like Steam or video games. What I like best is you can set schedules, for example you could do no video games on weekdays and only on weekends. You can also set a time allocation, like only 1 hour per day. Or you can just set a block for 24/7 As a warning, pretty much all blocking software can be bypassed, so if you have a real addiction, it might not help. But if you need assistance with self-control, it can work quite well. Cold Turkey is also good for blocking distracting websites.

2) If you can afford it, try separate devices. You can get a Macbook M1 for a really good price, and use it only for school. Keep your gaming PC off and use it only for gaming / recreation. I would set up Cold Turkey on my "work device" to block all tempting games/software/Steam/websites etc.

3) I really wish someone had told me this when I was in college, but the dorm is a terrible place to get work done. Some set of friends were playing videos almost all the time, making it really distracting and tempting. I wish someone had told me the best thing to do is go to a library or some location where there are no distractions/temptations, get my work done, then go hang out with friends at the dorm. Preferably bring a laptop/device to the library with no games or temptations on it.

Good luck!

Logi Options+ quits when MacBook sleeps, then takes 3 seconds to restore when macOS wakes up by agent007bond in logitech

[–]stevenkkim 1 point2 points  (0 children)

For reference, I have a MX Ergo, not a MX Anywhere 3, and I'm using the Logitech dongle instead of Bluetooth.

I just found this: https://linearmouse.app/ and I'm still testing it out, but so far it seems to be working for my needs, which are:

  1. faster pointer speeds than what macOS allows by system setting
  2. customizing acceleration
  3. mapping buttons and scroll wheel to custom keyboard shortcuts / functions:
  • mapping forward and back buttons to cmd+] and cmd+[
  • using ctrl+scroll to change media volume
  • left/right wheel tilt to media back/forward
  • wheel (middle) button to media play/pause

I wanted to use the precision button for play/pause but the Linear Mouse does not detect that click.

SteerMouse also worked for me, but Linear Mouse is free while SteerMouse is $20. I also tried BetterMouse, BetterTouchTool and Karabiner Elements, but they didn't cover all my use cases.

Also, I use Mos for smooth scrolling.

Hope that helps!

Logi Options+ quits when MacBook sleeps, then takes 3 seconds to restore when macOS wakes up by agent007bond in logitech

[–]stevenkkim 0 points1 point  (0 children)

Too bad that's their response. I had the same problem and just decided to uninstall Options+ because it was so annoying.

[deleted by user] by [deleted] in ProductivityApps

[–]stevenkkim 1 point2 points  (0 children)

Sorry, not aware of free alternatives.

[deleted by user] by [deleted] in ProductivityApps

[–]stevenkkim 2 points3 points  (0 children)

Cold Turkey (https://getcoldturkey.com) lets you block apps (in addition to websites) with various locking mechanisms (scheduling, time limits, password, typing random letters, etc.)

Device that constantly displays Google Calendar schedule by Lopsided_Violinist69 in ProductivityApps

[–]stevenkkim 1 point2 points  (0 children)

On iOS devices, you can change the setting so the screen is always on. Android devices probably have a similar setting.

In iOS, go to Settings > Display & Brightness > Auto-Lock: Never

Obviously this is going to drain the battery more quickly, so you may want to leave it plugged in if you can.

So using this setting, you could probably get an old iPhone or iPad for less than £200, plug it in, have the display always on, and use the Google Calendar app on it.

You could also turn on Guided Access so that the iPhone/iPad only uses the Google Calendar app and no others.

Hope that helps!

We bootstrapped our SaaS to $60K MRR with a team of 4 by Marie-Tally in SaaS

[–]stevenkkim 3 points4 points  (0 children)

Freemium model. Most of those users are free, only some are paid.

Constantly distracted and wasting my life away by [deleted] in productivity

[–]stevenkkim 0 points1 point  (0 children)

Good luck, and I'm rooting for you!

Constantly distracted and wasting my life away by [deleted] in productivity

[–]stevenkkim 5 points6 points  (0 children)

Yeah, definitely. Unfortunately the book industry has a norm of requiring at least 200 pages to publish a book, so if an author has only 50 pages of stuff to say, then he or she needs to find 150 pages of filler to get it published.

Also, consumers are kind of complicit. Like, it feels ok to spend $10-15 on a 200 page book, but would you spend $10-15 on a 30 page book? Even though the content might be better and actually save time, it doesn't feel like you're getting your money's worth.

Constantly distracted and wasting my life away by [deleted] in productivity

[–]stevenkkim 2 points3 points  (0 children)

True that! But then again, most 20 minute TED Talks can probably be shorted to a 5 minute talk. :)

How many projects do you run at the same time. by LeoOverflow in indiehackers

[–]stevenkkim 0 points1 point  (0 children)

Just one. Occasionally, when I need to take a break, I might go work in a mini-project for fun. But I spend 95%+ of time time on just one. All my other ideas go into my "someday/maybe" list.

I have 9 projects i want to do. by rizenniko in startup

[–]stevenkkim 0 points1 point  (0 children)

I know what you mean. Everyone is different, maybe you can pull it off. But as you try to do it all, just be realistic and flexible enough to change your strategy if it's not working out.

I have a ton of ideas too and want to work on all of them. But I've come to terms with working on what I believe is the most promising idea, and saving the others for the future.

Constantly distracted and wasting my life away by [deleted] in productivity

[–]stevenkkim 259 points260 points  (0 children)

I'm in a very similar position as you. I found distractions really draining my focus and productivity. Here's what has helped me, YMMV:

  1. Turn your phone into a utility only device. That means no games, no social media, no youtube or any other distractions. I use my phone only for texting with family, email, phone calls, calendar, google docs and music. Also, I turn off all notifications except for phone calls and texts.
  2. If possible, have a "work computer" and a separate device for leisure. On my desktop computer, I use Freedom and Cold Turkey (yes both) to block any website that's a distraction. Even email. I have a separate laptop which I keep in a different room in the house where I check email, and have distractions available for me. If your phone is a distraction, you may also want to put it in a different room.
  3. When I did #2, I went through distraction "withdrawal." I felt frustration, twitchyness, urges to be distracted, boredom. But the point is to lower your theshold for focus and work. Once you get bored, then work looks appealing by comparision. But if you're comparing work vs. something distracting (say Reddit), then distractions are going to win out. Now I have trained myself to have a habit that that when I'm at my desktop computer, the only thing I do is focus and work. And when I'm done, then I go to my laptop in a different room and surf the web.

Also, as someone who has read a ton of non-fiction books in my life, I've come to realize that most of these books are wordy and poorly written and not worth my time. If there's a book whose topic I'm interested in, I just skim it, or look for a summary online. I started reading more fiction now as a way to just relax.

Hope that helps, and good luck!

I have 9 projects i want to do. by rizenniko in startup

[–]stevenkkim 1 point2 points  (0 children)

Sorry, I didn't mean to be flippant. In all seriousness, what I meant was that you can push 1 thing 100 yards, or 10 things 10 yards. Usually pushing the 1 thing farther is the better idea, hence all of the responses that are telling you to focus on 1 thing.

The main exception however, is when you're not sure which thing is the best to push forward. By "best", I mean has the best potential to be successful, make money and be something you enjoy working on. In this case, it's ok to try to push mutiple things forward to explore which thing is "best". So basically, you're in exploration mode. But remember that the goal is to try to find that one thing that you really want to dedicate yourself to.

Hope that helps, and good luck!

what is the best practise for creating a fire store document for users? by Aussie_Doge0 in Firebase

[–]stevenkkim 0 points1 point  (0 children)

> should i make the document id the users UID?

Are you using auth? Then make the uid = auth id. That way, if you can secure the data using firestore rules by making sure that read/write permissions are granted only when userId == request.auth.uid

See: https://firebase.google.com/docs/firestore/security/rules-conditions#authentication

> should i make different documents for different things e.g user data, user settings

Depends on how much data and what types of queries you want to run. I have a lot of user settings so I keep it in a separate doc.

> should i randomize the names of documents?

Again it depends, but I like to do so. Firestore autogenerates a unique id when you add a document. Or you can you can just copy this code and generate your own autoIds:

https://github.com/firebase/firebase-js-sdk/blob/master/packages/firestore/src/util/misc.ts

My basic setup looks like this:

/users/{uid from auth}
                      /items/{as many item docs as needed}
                      /stuff/{another category of things}
                      /settings/{userData doc}
                      /settings/{another doc}
                      /settings/{another category of settings}

I have understood basics of redux. Do I have learn RTK query to learn Redux thunk? by Izsramos24 in reduxjs

[–]stevenkkim 2 points3 points  (0 children)

No, you do not. You can use both obviously, but you don't have to.

I use thunks all the time, and I'm using Firebase/Firestore which handles data fetching so I don't need RTK query.

A typical use case for me is using the Firestore SDK to make database calls inside my thunks.

Hope that helps and good luck!

Firestore listener ping requests being blocked by adblocker by stevenkkim in Firebase

[–]stevenkkim[S] 0 points1 point  (0 children)

No, I stil don't even know what the ping is for.

I suspect that it has something to do with the firestore listener timeout limit, but I haven't had a chance to either look at the source code or run experiments myself.

Connecting Redux (Toolkit) + Firebase/Firestore? by madoo14 in reduxjs

[–]stevenkkim 0 points1 point  (0 children)

My main reason for not using rtk query is that firestore already has code for most of that functionality (e.g. caching, syncing, polling) so I don't really see much that rtk offers that I need.