No matter what function we pass to triple_me, it will be applied three times to the passed value.
Last example for today. Take a deep breath. We are now engaging in function composition, a common trick in FP:
Last example for today. Take a deep breath. We are now engaging in function composition, a common trick in FP:
Enough for today 🙂
We will take a look at currying, pros of immutable structures and few other functional programming concepts that we all should know to be able to call ourself a R E A L M A N🫥
We will take a look at currying, pros of immutable structures and few other functional programming concepts that we all should know to be able to call ourself a R E A L M A N
Please open Telegram to view this post
VIEW IN TELEGRAM
Andrey told me that I am dumbass not using Telegraph. I'll do, sorry for spam 🙂
😁1🙈1
Quick intro in currying:
https://telegra.ph/Currying-09-22
https://telegra.ph/Currying-09-22
Telegraph
Currying
The promised topic about currying in functional programming is on its way! Currying is yet another FP trick, where a function that takes several arguments transforms into a series of functions, with each of these functions taking only one argument. Here's…
👍1👏1
Enums might be very helpful for organizing constants in your code, but this is not their only use. Take a look.
https://telegra.ph/Python-Enums-09-22
https://telegra.ph/Python-Enums-09-22
🔥1
New cool axe as the site favicon :) Though it would be nice to use it as the channel thumbnail as well :)
Oh, hello there. Yeah, I am not sleeping again.
But here is a new blog for you. It is huge, I am sorry, but I believe in you!
Click -> Levels of reasoning about software system
But here is a new blog for you. It is huge, I am sorry, but I believe in you!
Click -> Levels of reasoning about software system
Small talk about python out of box debugger - PDB
Take a look -> https://ivanzakutnii.com/blog/Debugging-Python-Code
Take a look -> https://ivanzakutnii.com/blog/Debugging-Python-Code
🔥2
GitHub Pages has been performing really poorly lately. I'm not exactly sure what the exact problem is; it might be something strange with Azure DNS or a glitch with the auto Jekyll rebuild script on their site. Regardless, it's just not handling things well. It's not building new posts or adding tags to them – meh...
But, as we developers often say, "Everything works perfectly on my laptop!"😁
I've finally had enough of it, so it's time for some changes that I've been contemplating for a while:
1. Moving my domain to a CloudFlare (Godaddy sucks).
2. Changing my nickname on GitHub (because I can). Anyway, my page is broken now, so it's the perfect time!
3. Ditching GitHub.io and hosting my blog on a VDS or even at home via an Orange Pi Zero😂
Stop laughing – no one can stop me from using Ngrok + Cloudflare's free CDN, NO ONE!
---
So, yeah, I wrote a new blog post, but github.io pages wont update it even after an hour after "deploy".
Keep in touch, it wont take long 🙂 I am only need to find this orange pi and blow the dust off it
But, as we developers often say, "Everything works perfectly on my laptop!"
I've finally had enough of it, so it's time for some changes that I've been contemplating for a while:
1. Moving my domain to a CloudFlare (Godaddy sucks).
2. Changing my nickname on GitHub (because I can). Anyway, my page is broken now, so it's the perfect time!
3. Ditching GitHub.io and hosting my blog on a VDS or even at home via an Orange Pi Zero
Stop laughing – no one can stop me from using Ngrok + Cloudflare's free CDN, NO ONE!
---
So, yeah, I wrote a new blog post, but github.io pages wont update it even after an hour after "deploy".
Keep in touch, it wont take long 🙂 I am only need to find this orange pi and blow the dust off it
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥2🤔1
Oh sheesh, we might not even need coudflare there days, lol 🤨
https://ngrok.com/docs/guides/how-to-set-up-a-custom-domain/
https://ngrok.com/docs/guides/how-to-set-up-a-custom-domain/
Please open Telegram to view this post
VIEW IN TELEGRAM
Ngrok
ngrok documentation
🤯1
Did not find the old orange pi.
Bought raspberry 3b.
This little bastard won't fire over wifi.
keep fighting.
Bought raspberry 3b.
This little bastard won't fire over wifi.
keep fighting.
This piece of garbage is online. There are some troubles with DNS, and I have also decided not to use ngrok. This story, along with some instructions, will definitely be written as a post later on 😂
Please open Telegram to view this post
VIEW IN TELEGRAM
🔥3🌭2
Do not say nothing. The site is back online... from GitHub Pages 😱
Yeah, it is a huge pain in the ass to serve your blog from home NAT.
Okay, it is not a pain, and it might even be cheap enough, but I feel that it is starting to take a lot more time than I thought.
I'll talk about it later in a separate blog post, I believe.
Anyway, the new small post is online now.
https://ivanzakutnii.com/blog/Immutability-is-the-key
I am pretty sure that the problem was either in Azure CDN or in the default Jekyll build flow (now it lives behind Cloudflare).
Fortunately, there is now an option to configure your own GitHub Actions for the building process; I might be checking it out later.
I am not sorry for buying Pi3b because it cost me less than the market price, and as a bonus, I met a nice guy 🙂
There are a bunch of cool things I might build with this little bastard; probably the next purchase will be a soldering iron😂
Yeah, it is a huge pain in the ass to serve your blog from home NAT.
Okay, it is not a pain, and it might even be cheap enough, but I feel that it is starting to take a lot more time than I thought.
I'll talk about it later in a separate blog post, I believe.
Anyway, the new small post is online now.
https://ivanzakutnii.com/blog/Immutability-is-the-key
I am pretty sure that the problem was either in Azure CDN or in the default Jekyll build flow (now it lives behind Cloudflare).
Fortunately, there is now an option to configure your own GitHub Actions for the building process; I might be checking it out later.
I am not sorry for buying Pi3b because it cost me less than the market price, and as a bonus, I met a nice guy 🙂
There are a bunch of cool things I might build with this little bastard; probably the next purchase will be a soldering iron
Please open Telegram to view this post
VIEW IN TELEGRAM
🌭2👏1
Few words about concurrency in general, and about concurrency in Python:
https://ivanzakutnii.com/blog/Python's-concurrency
https://ivanzakutnii.com/blog/Python's-concurrency
🌭2🔥1
And now the nerds fun begins!
First blog of the series about Declarative Programming Model.
https://ivanzakutnii.com/blog/Hack-in-Declarative-model-Part-1
First blog of the series about Declarative Programming Model.
https://ivanzakutnii.com/blog/Hack-in-Declarative-model-Part-1
👏2🌭2
I am absolutely in love with distributed monolith architecture!
Please, kill me
😁2🌭2
Would you be interested in one, or maybe even a series of posts about the Python type system?
(It might be a bit brain-melting)
(It might be a bit brain-melting)
Anonymous Poll
75%
Yay
13%
Nay
25%
🥴
🌭2
Long time no see, everyone! Hello there 🙂
I'm here to bring you a serious talk about Object-Oriented Design Patterns.
Stay tuned for some insightful and engaging content! Thanks🧠
I'm here to bring you a serious talk about Object-Oriented Design Patterns.
Stay tuned for some insightful and engaging content! Thanks
Please open Telegram to view this post
VIEW IN TELEGRAM
🌭2😎1