Five #Python #Decorators That Can Reduce Your Code By Half
https://python.plainenglish.io/five-python-wrappers-that-can-reduce-your-code-by-half-af775feb1d5
Today a 9 minute video in which I write a decorator from scratch to time the execution of a function:
https://youtu.be/970b7eJZuEs
With just ONE line, decorate a #Python function with ‘@njit’ to parallelize it automatically. Multi-core (CPu and GPU) and SIMD vectorization supported. *jaw drops* 😲
#python #simd #parallelism #numba #jit #decorators
Upcoming #TypeScript 5 supports decorators. #Decorators are function wrappers, or higher-order functions. For example this project automatically #cache your computationally costly functions in memory or #Redis:
#typescript #decorators #cache #redis
The sun was just at the perfect angle to highlight another beautiful night at the beach. We spend many an evening watching the sun go down and it’s always such wonderful suspense waiting to see what beauty Nature has in store for us. A better look HERE: https://hhphotography.pixels.com/featured/evening-at-the-beach-hh-photography-of-florida.html
#beach #seascape #sunset #GulfOfMexico #ocean #WallArt #decor #HomeDecor #decorators #photography #MastodonPhotography #fediverse #AYearForArt
#beach #seascape #sunset #gulfofmexico #ocean #wallart #decor #homedecor #decorators #photography #mastodonphotography #fediverse #ayearforart
9 #Python Built-In #Decorators That Optimize Your Code Significantly https://medium.com/techtofreedom/9-python-built-in-decorators-that-optimize-your-code-significantly-bc3f661e9017
I wonder why no one has made a plugin for html decorators
Did I misunderstood something here?
#unrealengine #unreal #ue5 #plugin #decorators #html #marketplace
#marketplace #html #decorators #plugin #UE5 #unreal #unrealengine
:javascript:
Decorators:
Why is there so much fuss about #decorators (typescript) when #HigherOrderFunctions can do the same thing & have been available in #javaScript forever.
Being a functional or object based language the natural fit is HOF not Decorators.
If you want to simulate OOP in #js & use the elusion that inheritance is good for js code base then be my guest & use decorators. 😀
#decorators #higherorderfunctions #javascript #js
For designers, #propmasters, #collectors, #creativereuse #artists #interiordesigners & #decorators I have hundreds of treasures from almost every decade 1890s to present including oil paintings, #sculpture, glass art, barware & drinkware along with rare gifts like old #antique #posters - and some of the #AIart #midjourney works framed as well which can be made custom for any set or bespoke designer needs
Rentals by appointment for #set #artdepartment #props #events
#events #props #artdepartment #set #midjourney #aiart #posters #antique #sculpture #decorators #interiordesigners #artists #creativereuse #collectors #propmasters
Beautiful wide mix of cool objects have found their way to me since focusing on #volumetric scanning & #nerfs for antiques, vintage & rare treasures. Some are simple and affordable for giving - #holidaysale #openhouse coming up in December and some items will be up now or soon on eBay, Poshmark, Chairish & at Evo.ist.
#creativereuse #interiordesigners & #decorators get in touch directly....
#decorators #interiordesigners #creativereuse #openhouse #holidaysale #nerfs #volumetric