HNHacker News
TopNewBestAskShowJobs

dvcrn

1,523 karma · joined September 24, 2015

hn@davemail.io
submissionscomments
dvcrn··on Ask HN: What is your favorite motto?
“Motivation follows action”

Waiting for motivation to take an action often means you’ll wait forever.

dvcrn··on Charge more for app subscriptions
The notes app https://agenda.com does this too. Very happy with this model
dvcrn··on Charge more for app subscriptions
I am with you on that. I buy apps if they provide value to me. If it has a one-time purchase option next to a subscription, even if it is $30 - $50, I pick the one-time purchase.

If it's a journaling app, a calendar app, a habit tracker or a drawing app and it wants me to pay monthly, it's a hard 'no' for me as well unless it has a cloud component that I feel justifies the price. There is mostly nothing in it that justifies paying monthly, it's just an offline app.

"But developers need a salary too" - yes, then price your app accordingly and charge for upgrades. Subscriptions make me feel if I stop paying I lose the app and can't access my data any longer. That, and subscriptions pile up.

If I subscribe to one app it's not a big deal, but if I subscribe to 10-20 apps and they all cost monthly, it adds financial stress on me and stuff I 'have to keep in my head'.

dvcrn··on Home Office Projects Series: Air conditioner setup
Oh nice! I know virtually nothing about IR so this is good information, thanks!
dvcrn··on Reddit app got 50M downloads by making mobile web experience miserable
On iOS I’m using Apollo. To open directly in the app it provides a share menu action. There is also “Opener” to open links in all kinds of apps
dvcrn··on Home Office Projects Series: Air conditioner setup
I did a much easier solution for my airconditioner (also in Tokyo so everything OP said applies): I bought a broadlink rm mini3 (IR emitter) for <$30 and hooked it up to homebridge using homebridge-broadlink-rm [0]. Then went ahead and recorded all signals my aircon remote could send and put it in an excel sheet for safe-keeping. Next, plugged the IR codes into the homebridge plugin, put the small device in line-of-sight with the aircon and tadaaa, my old ghetto aircon is now smart.

For getting the temperature of the room, I use other devices (a netatmo weather station) and used their API to pull the current degrees into a textfile on the server that is getting fed into the airconditioner plugin.

Bonuspoint: I use the same IR emitter to control my TV. I just have to make sure it's in a place that is in line-of-sight with both my TV and aircon, but given how small apartments here are - that was not a problem. The plugin has a functionality to frequently ping an IP for checking if something is turned on, so I use that to determine whether my TV is on/off.

[0]: https://www.npmjs.com/package/homebridge-broadlink-rm

dvcrn··on ReMarkable 2.0 – A digital notebook that feels like paper
Damn this looks nice! How is the pen latency?

Sadly they don’t ship to Japan so getting my hands on one is gonna be hard :(

dvcrn··on Clover: An all-in-one notebook
Is this going to be web-based (electron)?

I'd love for a really good notes app, but everything these days is in electron and I can't deal with the powerhog.

I'm now using Outlinely and Agenda mainly because of this

dvcrn··on Cannonball Record Broken: 25 Hours, 39 Minutes from NYC to LA
That’s what it says in the article as well
dvcrn··on Secret gyms and the economics of prohibition
I am one of those people that goes to a small gym near my apartment daily, even in the current times. The gym isn't very full, maybe a total of 4-5 people when I'm there (I picked my time based on how full it is). Everyone is obligated to wear a mask, there are disinfection sprays and one-time-use wipes that we have to use after finishing with a machine. Some people are also disinfecting equipment before they use it. The gym has the windows open and added disinfection diffuser thingies into each corner.

The reason for why I take the risk and keep go is pretty simple: Mental health.

When we had a lockdown, gyms closed and I was confined to my apartment 24/7 I felt horrible. Days just blurred into each other, I gained weight, my motivation to do anything dropped. My life was just work and I hated it. Of course I bought a set of dumbbells (which were also ridiculously expensive because everyone had the same idea) and tried running but that only gets you so far. I can't get more equipment at home because my apartment is like 35sqm

When the gyms reopned I started going again and kept my guard up: Disinfect everything, don't be near other people, be careful when I take my mask off, wash my hands before I touch anything after I finish. Since then I started feeling much better. Even if I don't do anything else like meeting friends, going out for drinks, or if my workday happened to be shitty, I have something that makes me think more about myself and my health. Sports has incredible benefits on mood, sleep and mental health, hence why I take the risk.

For all we know, this pandemic can continue for a very long time. I'm not saying we should all forget the virus and do what we did before, but we should still try to find a somewhat healthy day-cycle that doesn't knock us in lockdown depression. Going to a small, empty gym while keeping my guard up is my calculated risk of "with corona".

dvcrn··on How I got my Japanese permanent residency
> Unfortunately, there's no scheme to allow foreigners to stay as a resident if they work remotely for a company that doesn't have a presence in Japan, as I do. (I'd even be willing to pay taxes in Japan!)

That are all countries though and not just Japan.

dvcrn··on US to ban transactions with ByteDance and WeChat in 45 days
This isn't an argument. In most countries you have some local competitors that do better than global brands. Not every app has to be a global success to be highly profitable

Korea has KakaoTalk that's undefeated as the defacto chat app (and now search engine and payment provider). It's not doing well in every other place except Korea.

Japan has LINE as it's primary messenger, payment app, etc. It has some foot in other south-east asian countries but the strongpoint is still Japan.

dvcrn··on DeGoogle My Life
Why do we keep getting posts of people making such a big deal out of "DeGoogling"? Don't want to use Google Drive? Use a different cloud service. Don't want to use search? mail? there are more than enough alternatives.

IMO it's not as big of a deal to cut out one companies services as posts like this make it seem to be

dvcrn··on Unbricking a $2k bike with a $10 Raspberry Pi
> And apparently fuck me for having the gall to want to control my air conditioner from my computer rather than GE Android app #12 that has God-knows-what baked in and that's going to be abandoned in two years anyway.

My aircon is infrared based so I bought a $20 infrared emitter, recorded all the button signals from the remote control and plugged it into HomeKit. Now I can voicecontrol/Remote control my antique aircon better than current models that still don’t support HomeKit

Bonus points: I put the emitter in line with both aircon and TV and use the same device to control both

dvcrn··on I recorded vlogs to show how I built side projects
I have a server at home that I use for exactly that: Small prototypes/scripts I hack together and want somewhere hosted.

That, or I use heroku/a private k8s cluster on digitalocean when it's a tad more serious, that I just throw the docker container on and have it over with.

dvcrn··on New ‘Meow’ attack has deleted almost 4k unsecured databases
Every cloud database provider I can think of gives you random initial credentials from the getgo
dvcrn··on Sampler for Mac Touchbars
Just remove Siri from the TouchBar then?
dvcrn··on Wikimedia FontCDN – an anonymizing, privacy-first reverse proxy to Google Fonts
Oh wow I wasn’t aware that cross site caching isn’t a thing anymore. That’s how I learned it years ago from the jquery days
dvcrn··on Night owls have more grey matter in their brains than early birds
Must be nice to be normal and just 'do things', right?

Still good that we have the medicine available that we have right now. Born in a different time and ADHD wouldn't even be considered a real thing.

Hang in there and sometimes just let your brain do whatever it wants :) Constantly forcing and fighting things can get you stuck in a stress spiral.

That, and meditation also helps with being more aware of what your brain is doing

dvcrn··on Container technologies at Coinbase: Why Kubernetes is not part of our stack
The point is to keep cost down while a project is in development, then scale depending on needs without having to worry about container distribution and resource utilization.

On dev I don't need a 10 node cluster if I had 10 containers running. One $10 vm is fine.

On prod I can start with a 3-node cluster for these 10 containers, then scale it up depending on traffic and needs while controlling my spending.

Not everyone has thousands of dollars of VC money to throw at hosting

dvcrn··on Container technologies at Coinbase: Why Kubernetes is not part of our stack
On k8s, you write those env variables into the deployment manifest that describes the container. If they are sensitive, pack them into a k8s secret and add that to the container instead.

You can use the external services the same way if they are already setup with things like DATABASE_URL that holds a postgres connection string to amazon RDS, etc. Running k8s doesn't mean you have to move your entire stack into k8s, you can still use hosted services just fine.

In all my time with k8s, I never used Helm. If you don't need it, don't use it and keep it simple. k8s can do a ton of stuff but in reality, you barely need more than the basic.

dvcrn··on Container technologies at Coinbase: Why Kubernetes is not part of our stack
Sadly I don't have many resources I can refer you to (maybe someone else can add?) but digitaloceans kubernetes guides are excellent so I'd start with that: https://www.digitalocean.com/docs/kubernetes/how-to/

k8s has a loooot of stuff it can do and reading too many blog posts that go into too much detail can be intimidating, so my advice would be:

1. Create a dummy cluster on digitalocean (or docker desktop with k8s support / minikube), then setup kubectl to connect to it.

2. Start with the difference between resource types: What are deployments, what are pods?

3. Create a deployment manifest that just tries to pull a container from some registry, apply it with kubectl -f foo.yml

4. Play with kubectl to inspect things: kubectl get pods, kubectl get deployments, kubectl describe pod xxxxxx, kubectl logs xxxx

5. Learn how kubernetes ties things together through labels: Create a ClusterIP/LoadBalancer service and try to get it to balance to your pods from above through labels (https://www.digitalocean.com/docs/kubernetes/how-to/add-load...)

Deployments/services/(pods) are all you need in the beginning for running containers on k8s and exposing them. Of course then there are things like persistent storage but if your app is made to run ephemeral, you likely have storage/db setup externally already.

For running through the CI, once you have your manifests you could run kubectl apply directly through the CI if you wanted to. We are using terraform in front of k8s with hashicorps hosted state, then run `terraform plan`. If it passes, on dev we automatically apply to the cluster, on prod there is a manual step through the hashicorp admin UI that needs an apply trigger. Then there are more advanced tools like spinnaker that can be used to setup more complex pipelines on what to do on push.

dvcrn··on Container technologies at Coinbase: Why Kubernetes is not part of our stack
> Also, we run a VPC-only K3s node for some simple internal tools that works great as well.

We do exactly the same thing! We have a one-node k8s for all these dev things that just works. Everything is containerized for local dev anyway so moving it to k8s was just writing the deployment manifest.

On heroku, all of these would be separate dynos (or one glued-together dyno that does everything). On a self-hosted VM we'd have to deal with managing that.

I liked this approach so much that I now have a small 1-node personal cluster that hosts all of my private hobby projects that aren't ready for prime time yet, that were on heroku previously. Costs me only $10 + (persistent storage + IP address if needed)

dvcrn··on Container technologies at Coinbase: Why Kubernetes is not part of our stack
If it's a hosted k8s, all you'd do is containerize your application, then create a deployment that pulls that container and exposes it through a loadbalancer. The container is the same if you'd push it to herokus container registry or beanstalk
dvcrn··on Container technologies at Coinbase: Why Kubernetes is not part of our stack
I work on a 2-person project and decided to go with kubernetes (through digitalocean) for the cluster. I am managing everything with terraform and I don't have any big problems. I like that I can write everything as terraform manifests, have it diffed on git push and applied to prod if I want to.

Sure it had a learning curve but now I just describe my deployments and k8s does the rest, which then reflects back on digitalocean. If I need more power for my cluster, I increase the nodes through digitalocean and k8s automatically moves my containers around how it deems fit.

I used normal blue/green deployments on self-managed VMs in the past, then worked with beanstalk, heroku, appengine and I much prefer k8s. Yes it's easier on heroku, but try to run 2-3 different containers on the same dyno for dev to keep cost down. On k8s I can run my entire stack on one single small digitalocean $10 VM if I wanted to.

I wouldn't even know what I else could pick that gives me equal flexibility and power?

dvcrn··on Mindset Health (YC S19) raises $1.1M to develop hypnosis apps
TechCrunch, sorry!
dvcrn··on V002 Camera Live – Zoom with Your DSLR as a Webcam via USB
This is a recent release, eh?

I bought a elgato camlink 4K just recently because I wasn’t so happy with Camera Live but now I wish I hadn’t.

dvcrn··on Mindset Health (YC S19) raises $1.1M to develop hypnosis apps
Clicked on the link on my phone and hitting the back button just refreshed the page over and over again. Had to long press the back button and select hackernews to escape. Stop overwriting the back functionality of the browser please!
dvcrn··on Ask HN: How do you organise your files and folders?
Oh file management - my favorite topic! I spent way too much time finding a system that works.

Everything (files, PDFs, etc) that’s important goes into DEVONthink for future referencing. The app is excellent for finding files that relate and can do things like “I think this file goes into the folder ‘water bills’ based on other files in that folder. Move it?”. It’s also e2e encrypted and syncs to multiple cloud storages at once.

Everything that’s not in DEVONthink is considered temporary. I have hazel on my Mac automatically clean up old files in locations like desktop/downloads that are older than x and move it into the trash. If something is important I have to decide this early otherwise it gets thrown (but I could restore it for a while until hazel auto-cleans my trash)

Folders like Documents/, I leave as is. If apps want to write in there they can, but I don’t consider that location important. For more important app data I use iCloud and each app writes in their iCloud specific folder.

For nuggets that refuse to write anywhere else and only into a folder inside Documents, I have hazels sync feature replicate that specific folder automatically into a other location, like inside iCloud Drive.

Then if anything goes wrong I have an arq backup :)

dvcrn··on What Did Bach Sound Like to Bach?
I read this as “I was lucky enough to see HIM live a few times” and this had me legit thinking how that could be possible
← PreviousPage 3 of 13Next →