2022-11-09
- Riccardo
(from Riccardo Carlesso - Blog)
This article shows how you can easily inject a generic key/value into Google Cloud Monitoring and set up alerts on it. I use it to alert on disk space, and now also low battery!
This morning I was in London, and I forgot my charger at home. With plenty of time but 🪫 little battery, I thought: hey! I need to have a way to predict when my battery is low! And I need to do it in a totally overkill way!
empty
[Blogs]
🌎 https://ricc.rocks/en/posts/medium/2022-09-mac-battery/2022-11-09-mac-battery-on-gcp/
[🧠] [v2] article_embedding_description: {:llm_project_id=>"Unavailable", :llm_dimensions=>nil, :article_size=>954, :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] [v1/3] title_embedding_description: {:ricc_notes=>"[embed-v3] Fixed on 9oct24. Only seems incompatible at first glance with embed v1.", :llm_project_id=>"unavailable possibly not using Vertex", :llm_dimensions=>nil, :article_size=>954, :poly_field=>"title", :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] [v1/3] summary_embedding_description: {:ricc_notes=>"[embed-v3] Fixed on 9oct24. Only seems incompatible at first glance with embed v1.", :llm_project_id=>"unavailable possibly not using Vertex", :llm_dimensions=>nil, :article_size=>954, :poly_field=>"summary", :llm_embeddings_model_name=>"textembedding-gecko"}
[🧠] As per bug https://github.com/palladius/gemini-news-crawler/issues/4 we can state this article belongs to titile/summary version: v3 (very few articles updated on 9oct24)
{"id"=>209,
"title"=>"💦 Symlinked My Mac’s battery🔋 on Google Cloud Monitoring — send SMS if low 🪫",
"summary"=>"\n\nThis article shows how you can easily inject a generic key/value into Google Cloud Monitoring and set up alerts on it. I use it to alert on disk space, and now also low battery!
\nThis morning I was in London, and I forgot my charger at home. With plenty of time but 🪫 little battery, I thought: hey! I need to have a way to predict when my battery is low! And I need to do it in a totally overkill way!
",
"content"=>"",
"author"=>"Riccardo",
"link"=>"https://ricc.rocks/en/posts/medium/2022-09-mac-battery/2022-11-09-mac-battery-on-gcp/",
"published_date"=>Wed, 09 Nov 2022 10:48:51.000000000 UTC +00:00,
"image_url"=>nil,
"feed_url"=>"https://ricc.rocks/en/posts/medium/2022-09-mac-battery/2022-11-09-mac-battery-on-gcp/",
"language"=>nil,
"active"=>true,
"ricc_source"=>"feedjira::v1",
"created_at"=>Sun, 31 Mar 2024 20:26:57.725097000 UTC +00:00,
"updated_at"=>Mon, 21 Oct 2024 15:34:09.995416000 UTC +00:00,
"newspaper"=>"Riccardo Carlesso - Blog",
"macro_region"=>"Blogs"}