One thing I am enjoying in AoC is that it gives you half the reward when you solve part-one which is good by itself but when trying to solve part-two there is some voice in the back of my head that says you have to use functions you used in part-one to solve this one, and I think they want us to do it this way.
Day 3 part 2 really made me look into pattern matching and recursion.
In the python version you can see that I used a normal for loop to filter a list based on some conditions(I used a variable to hold the state whether I have to add the current item to the new list) but in FP variables are immutable so i can't flip through two states. So the solution turned out to be recursion with some pattern matching.
Even if I am not keeping up with the day to day questions, I am learning something new here and there.
Day 3 part 2 really made me look into pattern matching and recursion.
In the python version you can see that I used a normal for loop to filter a list based on some conditions(I used a variable to hold the state whether I have to add the current item to the new list) but in FP variables are immutable so i can't flip through two states. So the solution turned out to be recursion with some pattern matching.
Even if I am not keeping up with the day to day questions, I am learning something new here and there.
π₯2
Bought a domain name yesterday and I have been trying to setup CI/CD but didn't succeed maybe I didn't try enough so I just copy pasted the build fileπ
dagimg.com
Bought it from HahuCloud.
dagimg.com
Bought it from HahuCloud.
π₯12
Vim Cheat Sheet
https://vim.rtorr.com/
https://vim.rtorr.com/
Rtorr
Vim Cheat Sheet
Explore vim.rtorr.com for an extensive Vim cheat sheet, offering clear, concise commands and shortcuts for Vim users. Whether you're a beginner or an experienced developer, find tips and tricks to enhance your coding efficiency in Vim.
π4
'You can't learn anything unless you do it the wrong way first'
Its a bold take but...its mostly true
I struggle with finding the most optimal and efficient way to do things which hinders growth and engagement instead of just doing it and learn why there is a better way to do it.
If you see it from the other side, once you do something the curiosity to do it in a better way decreases so it all comes down to balance.
Its a bold take but...its mostly true
I struggle with finding the most optimal and efficient way to do things which hinders growth and engagement instead of just doing it and learn why there is a better way to do it.
If you see it from the other side, once you do something the curiosity to do it in a better way decreases so it all comes down to balance.
π₯2π―1
Is it just me or do you guys find things very interesting during exam times, like you really want to pursue themπ?
π7
Forwarded from Henok | Neural Nets
Media is too big
VIEW IN TELEGRAM
π€―π€―π€― what
Genesis, a generative physics engine which can generate 4D dynamical worlds.
https://x.com/zhou_xian_/status/1869511650782658846
Genesis, a generative physics engine which can generate 4D dynamical worlds.
https://x.com/zhou_xian_/status/1869511650782658846
π₯2
For the first time, when the teacher gave a correction, I didnt know why he gave the correction and also where to use it..it was really frustrating to the point it got funnyπ€£
π7