Frank Noirot
            
            @franknoirot.co
          
          160 followers
          230 following
          400 posts
        
          BK & 💻 & 🛹
Design engineer, writing at franknoirot.co.
      
        Posts
        Media
        Videos
        Starter Packs
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 14m
        
        
      
    
        
      Reposted by Frank Noirot
    
  
          
              Frank Noirot
              @franknoirot.co
          
              · 11d
        
        
        
            Migrate to new layout system by franknoirot · Pull Request #8570 · KittyCAD/modeling-app
            This PR implements a system for layout in the modeling scene. Towards #8044, closes #8215.
Previous system
Until now, we have had an adhoc layout “system” accumulated from the initial modeling app ...
          
            
            github.com
          
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 11d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 12d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 12d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 17d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 17d
        
        
          
      Obfuscating text with local LLMs + CSS highlight API 
needed a way after having to blur my address in the Pizza video
Uses Chrome's experimental LanguageModel API to prompt a local v3Nano
Kinda slow, but makes me think of new possibilities when prompting on-device will be fast + free + private
        needed a way after having to blur my address in the Pizza video
Uses Chrome's experimental LanguageModel API to prompt a local v3Nano
Kinda slow, but makes me think of new possibilities when prompting on-device will be fast + free + private
          
              Frank Noirot
              @franknoirot.co
          
              · 19d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 21d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 25d
        
        
          
      Woohoo yup! The zod generics work just fine when you RTFM:
```ts
type ExplicitZodChildren = z.ZodArray<z.ZodDiscriminatedUnion<[typeof SimpleSchema, typeof SplitSchema, typeof TabSchema, typeof PaneSchema]>>
```
  ```ts
type ExplicitZodChildren = z.ZodArray<z.ZodDiscriminatedUnion<[typeof SimpleSchema, typeof SplitSchema, typeof TabSchema, typeof PaneSchema]>>
```
          
              Frank Noirot
              @franknoirot.co
          
              · 25d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 27d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 27d
        
        
        
          Unable to Produce Recursive Type Using a Discriminated Union · Issue #5288 · colinhacks/zod
            First let me say this package is amazing, and thank you for you time and effort here 😁 Issue Overall it seems it is not possible to use a discriminated union in recursive types while using a regula...
          
            
            github.com
          
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 27d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 27d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 27d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · 28d
        
        
      
    
          
              Frank Noirot
              @franknoirot.co
          
              · Oct 3
        
        
      
    
        
      Reposted by Frank Noirot