ivo@setyadi:~$ ivo.blogspot.com

# catatan teknis, sejak 2001

Dukungan Model Context Protocol pada Google Cloud API Gateway

Google Cloud API Gateway kini dapat mentranskode spesifikasi OpenAPI standar menjadi remote Model Context Protocol servers. Cukup tambahkan beberapa baris anotasi ke konfigurasi YAML agar endpoint REST terekspos langsung sebagai agent tools di endpoint /mcp. Cara ini menghilangkan kebutuhan untuk membangun, meng-host, dan mengamankan server translasi terpisah karena autentikasi, kuota, dan logging ditangani langsung oleh gateway. Fitur ini layak dicoba jika layanan Anda sudah berjalan di belakang Cloud Run dan Google API Gateway serta ingin menghubungkan Gemini agents tanpa menambah infrastruktur baru. Kendalanya, API keys tidak dapat melindungi endpoint tool discovery di production sehingga Anda wajib mengonfigurasi autentikasi JWT. Selain itu, fitur ini terbatas pada API Gateway dan Apigee sehingga tim yang menggunakan setup kustom NGINX atau Envoy tidak mendapat dukungan langsung. sumber: developers.googleblog.com my other side: setyadi.com

Many dieters 'finish up heavier'

2007-04-11 · #Kesehatan #Kliping

Dieting is unlikely to lead to long-term weight loss and may put a person's health at risk, a study says.

US researchers found people typically lose between 5% and 10% of their weight during the first six months of a diet.

But the review of 31 previous studies, by the University of California, said up to two-thirds put more weight on than they had lost within five years.

Repeatedly losing and gaining weight is linked to heart disease and stroke, the American Psychologist journal reported.

Lead researcher Traci Mann said: "We found that the majority of people regained all the weight, plus more.

"Diets do not lead to sustained weight loss or health benefits for the majority of people.

"We concluded most of them would have been better off not going on the diet at all.

"Their weight would have been pretty much the same, and their bodies would not suffer the wear and tear of losing weight and gaining it all back."

And she added some diet studies relied on participants to report their weight rather than having it measured by an impartial source while others had low follow-up rates which made their results unrepresentative.

Diets

She said this might make diets seem more effective than they really were as those who gained weight might be less likely to take part in the follow-ups.

In one study, 50% of dieters weighed more than 4.99kg (11lbs) over their starting weight five years after the diet.

The study did not name any diets in particular, but looked at a broad spectrum of approaches.

Professor Mann said in her opinion eating in moderation was a good idea for everybody as was regular exercise.

Dr Ian Campbell, medical director of Weight Concern, said too many people approached dieting as a short-term measure.

"Keeping weight off is a life-long challenge. It is just like heart disease or mental health problems, if you stop taking your medicine you can get worse.

"People who are overweight often don't have a balanced lifestyle and after losing weight too many stop keeping active or eating healthily."

http://news.bbc.co.uk/2/hi/health/6540493.stm