HN user

cagmz

33 karma
Posts0
Comments58
View on HN
No posts found.

Chronic injuries, on the other hand, are much less preventable and much more common among experienced lifters. I've worked through several, including a soft tissue injury in my hips and a nagging tendonitis in my left elbow.

Can you describe your hip injury a bit more?

"Potential future savings (General Fund) to the California Department of Corrections and Rehabilitation (CDCR), of an unknown but potentially significant amount, in reduced incarceration costs. Under existing law, personal possession of mescaline, DMT, psilocybin, or psilocin is punishable by incarceration in county jail or, if the defendant has certain prior convictions, by incarceration in prison. Under this bill, possession of small amounts of these substances will no longer be a criminal offense. If there are fewer prison sentences issued for drug possession as a result of this bill, CDCR's incarceration costs will decline."

Source: https://leginfo.legislature.ca.gov/faces/billAnalysisClient....

- Promise.allSettled. THIS is useful. I've implemented this (under a different name) in almost every code base I've worked on, and got bit HARD by not understanding this behavior long ago (huge production outage that took hours and many engineers to discover)

You and your team didn't understand how Promise.allSettled behaved?

OpenTelemetry 5 years ago

We're using New Relic track performance (API response times, DB load, etc) as well as to track actions that users make on our front ends and APIs.

- Text, colors, etc... appear sharper without tmux. I think. There are antialiasing configs you can mess around with in Iterm2 at least.

I thought this was just me! Does anyone have a solution for this?

I had already started investing in some real estate on the side

I have a few questions, if you don't mind.

How did you get started with this? Is investing in real estate something you can do while being a salaried employee or do you need to do it full time? Also, what kind of investments were/are you making?

Indexes are not created deliberately - we are adding them only when the need is obvious, because some functionality is plain slow.

Is there anything wrong with this? My thinking is that it could be seen as a premature optimization if an index is created without knowing if it will be used.

Anecdotally, it's worked out well. Before storing a JSON object, we validate it at the app-level using a JSON schema (which has types, required keys, etc). This lets us write without worrying to much.

Once we felt that the schema wasn't changing as much, had too many concerns, etc, we made tables and wrote to them (instead of the JSON column).

What do you use the JSONB column for?

We've loved the flexibility of JSONB while our schema wasn't nailed down, but eventually migrated many fields to be columns for ease of reading and writing nested objects.

Neovim v0.4.0 7 years ago

Have you noticed any sluggishness when using Vim commands in VS Code? I use nvim + tmux as my go to and it's pretty responsive (still has trouble catching up to me sometimes) but I often have to wait for VS Code.

ability to use a foreign data wrapper to connect to Redis and build a VIEW out of the result or push data out to Redis/Memcached with a database function,

This sounds amazing. Does anyone have a link to some docs for this?

Looking to upgrade an app from 2.3. What is the upgrade path? Can I just go to the latest version? Should I be watching for any regressions? Where would I find breaking changes?