For the best experience on desktop, install the Chrome extension to track your reading on news.ycombinator.com
Hacker Newsnew | past | comments | ask | show | jobs | submit | history | nickromano's commentsregister

TurboLinks only replaces the <body> so you can put any scripts you'd like loaded exactly once into the <head> tag. You can use <script async> to keep it from blocking.


yeah but I needed it loaded exactly once only on certain pages and not on others.


Yup I happily bought a Vanmoof S2 when it came out (2019) thinking it would be seamless and I could take it into the local Vanmoof shop whenever there were issues.

It turned out to be a lot less reliable than I had hoped, and there were issues with the hardware AND the software. Making it super frustrating that it was all integrated.

Software

  - If the bike wasn't used for a few weeks it would turn itself back into "shipping mode" and I would need to reset the bike with a pin.
  - Settings were forgotten almost every time the bike went to sleep, it would reset the sounds settings so turning it on or unlocking it would always play the cheesy sound effects no matter how many times I turned them off.
  - For the first year or so the app would regularly log me out. And the design of the app at the time made it look like you were chatting with a bot so it would take longer to login than needed. Thankfully they redesigned it.
Hardware

  - The integrated back wheel lock will now only unlock if I move the bike a few inches, any additional inches and the lock re-locks itself.
  - The bike would randomly show an error code and drop power. Vanmoof replaced the battery and onboard computer but I have had it occasionally show error codes since and am nervous it'll turn into a brick at some point.
I now also own a regular cargo bike and the difference has been night and day. It doesn't look as cool, and requires more locks to keep it all secure. But it's dumb and just works, and I can do a lot of the service myself (excluding the electronics). Removing the back wheel on the Vanmoof is super challenging and makes me nervous about getting a flat.


I'd never want a bike that can lock itself remotely, my big fear would be the same as what you get when you have an irresponsible and inquisitive toddler at the back of the bike: "I wonder what would happen if I locked daddy's bike while we're cruising along?"

Only then without the toddler...

What in particular do you service on the electronics of your cargo bike?


Thankfully they had thought through the accidental locking, it needs to be stationary and in a certain position to lock. It's just getting it unlocked that is a little more of a hassle now :).

Sorry for the confusion I meant I can do all the service on the bike except the electronics. Things like brake pads and tires that wear down easily. On the Vanmoof it's a little more challenging to remove wheels for security - which I used to appreciate because I've had even little things like a mount for a light taken off my bike... but now I prefer it to be easier to service and just carry around more locks.


But that's all dependent on the implementation details: is the lock remotely activated or is it locally activated after local verification that those conditions are present. Because otherwise some joker could remote lock your bike, even when in motion. The outward appearance would be identical!


Thankfully you need to physically lock it with a button push on the back wheel. Unlocks can be done remotely with the app though (with a nearby bluetooth connection).


I migrated from Heroku to Render for a small Django project of mine: https://pinnacleclimb.com/

Some things I like about Render vs Heroku since switching:

  - Building the container from the Dockerfile in my repo seems to be a lot faster because it keeps all of the image layers cached.
  - I can control the external IPs that have access to my postgres database. I usually keep them all off and only let the webapp access it internally, and then whitelist an IP as needed.
  - Env groups are nice - if I want to start another service I can have it use all the same environment variables vs trying to keep them in sync myself.
A couple of years ago they had some multi-hour outages but things have been pretty stable since, a couple of the multi-minute outages were on me as I was upgrading the database or messing around with some configs. https://status.pinnacleclimb.com/

One thing I'd love in the future is some sort of postgres upgrade button. They handle minor version updates but to do a major version I need to put the app in maintenance mode, dump, restore, and swap to the new DB. It would be amazing if that could be automated with something like pglogical.


FWIW I've contacted the Render support team a few times and they have been very responsive.


As a cyclist in SF, I see the Waymo vehicles every day in my neighborhood. They ALWAYS see me coming and slow down or stop. I've had a few close calls with regular drivers not paying attention and missing stop signs so I'm looking forward to Waymo deploying more vehicles.


If you use something like CloudWatch, you can set an alarm for “insufficient data” for when a monitor stops reporting.


I don't think it would have been enough for this exact situation. The solution you are providing is for cases where x==nil but in their case there was never an x, so you cannot do x==nil checks unless you deliberately set up x.


Not quite. Cloudwatch provides for both behaviors. You can treat periods with no datapoints as “breaching” the threshold criteria. You can also independently alert for “insufficient data” where the source is unavailable, doesnt contain enough data to evaluate, etc.

In the past I did both. Always emit a 0 datapoint every period + treat missing datapoints as breaching to discover if an application wasnt consistently emitting metrics. In addition a lower severity Insufficient Data alert was used to discover/validate when a meteic stream literally didnt exist (normally through misconfiguration of metric & alarm dimensions).

Docs: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitori...


Yep, and Grafana allows alerting on No Data states.


It is mostly a web view around the front-end stack.


Sounds like this will only be available for approved public organizations.

> First, in May, both companies will release APIs that enable interoperability between Android and iOS devices using apps from public health authorities. These official apps will be available for users to download via their respective app stores.


I built a python version recently, it uses the serverless library to deploy to AWS. https://github.com/nickromano/serverless-ping


I’ve been trying this out since the IndieHackers interview. Really great product. Thank you for keeping the free plan open for personal private repos.


Great to hear! I promise we’ll always keep it free for personal private repos - it makes a tonne of sense from our perspective, as we want to build a product people use and advocate.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search:

HN For You