Physiofunctional circadian metabolism...

PFun Glucose Demo

Interactive simulation of circadian-ultradian glucose dynamics (over a 24-hour period)

A quick prelude...

(EDITED: 2025-08-19)

Before you launch into these results... I'll give you some extra special ~~~insider information~~~πŸ‘€πŸ‘€...πŸ€«πŸ‘€

I have another demo that's almost ready to show off...

Likely I'll have some time to write a sufficient blog post in the near future.

For now, I'll leave you with a tasty hint...

aRtIfIcIaL πŸ€–πŸš— nEuRaL πŸ€–πŸš— nEtWoRkS πŸ€–πŸš—...πŸš—πŸš—πŸš—... . πŸ€–πŸšͺ...🀸🀸🀸

~~~πŸ€”πŸ€”πŸ€”...~~🫒~~~...🀫.~~🀭~~~~


 

An interactive biophysical simulation of glucose dynamics, estimated over a single 24-hour period.  The curves shown represent: Meal-likelihood [0.0, 1.0], Glucose [0.0, 2.0], Insulin. This is a simplified version of the full model to avoid too much computational overhead (we're really maxing out Desmos here).

Dexcom Developer OpenAPI schema

Dexcom Developer API (openapi.json)

Here's a (working) OpenAPI schema definition (openapi.json) that I put together as part of my PFun Digital Health AI product pipeline.

The linked openapi.json file can be used to easily generate a client or proxy server to the Dexcom Developer API.

Relevant links:

AI-generated illustration (for fun!)
AI-generated image (DALL-E)

Learning about "gie", a CLI tool for Geographic information Framework (PROJ) validation

 I recently happened across "gie" (a.k.a. "Geospatial Integrity Investigation Environment").

See below for a AI-generated sample use-case. This example was generated using the mods CLI tool from Charm. The LLM backend used in this example is gpt-4o.

 mods -f 'show an example of using the CLI "gie" tool for proj validation

 The "gie" command-line tool is used to validate transformations and commands 
 defined in the Geographic Information Framework (PROJ). Here's an example of  
 how to use the "gie" tool for proj validation:                               
                                                                              
 ### Step-by-Step Example                                                     
                                                                              
 1. Create a GIE File:                                                        
   • Write a GIE script that specifies the transformation you want to          
   validate. Save it as  example.gie .                                        
                                                                              
   <gie>                                                                      
   operation +proj=merc +lat_ts=56.5                                          
   coordinate 12dE 56dN                                                       
   expect    1335833.89       7514065.63                                      
                                                                              
   operation +proj=utm +zone=33 +ellps=WGS84                                  
   coordinate 12dE 56dN                                                       
   expect    500000           6219671.61                                      

                                                                              
 2. Run the GIE Command:                                                      
   • Open your terminal.                                                      
   • Navigate to the directory where the  example.gie  file is located.        
   • Run the validation using the  gie  tool.                                 
                                                                              
   gie example.gie                                                            
                                                                              
 3. Interpret the Output:                                                     
   • The  gie  tool will read the script and execute the transformations.     
   • It will compare the actual output with the expected output mentioned in  
   the  expect  lines.                                                        
   • If the actual results match the expectations, the tool will confirm the   
   validation.                                                                
   • Any discrepancies will be shown in the output for further investigation. 
                                                                              
                                                                              
 This example uses two different operations to transform geographical          
 coordinates and verify that the results are as expected. Adjust the          
 operation ,  coordinate , and  expect  lines according to your specific       
 validation needs.         
                                                   


Conversation saved:  9dc63cb  show an example of using the CLI "gie" tool for proj validation

Featured

Physiofunctional circadian metabolism...

PFun Glucose Demo Interactive simulation of circadian-ultradian glucose dynamics (over a 24-hour period) A ...