Tilet solution
前往频道在 Telegram
1 309
订阅者
+224 小时
+87 天
+530 天
帖子存档
1 310
Here this is how i implemented it. The code isn't perfect, but it covers the core operations I've been working on. just take a look if you're curious! The repo is here: phi-Repo
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
I recently came across an interesting concept called the Phi Coefficient, which calculates the correlation between two variables. (Check it out here: Phi Coefficient).
So, I decided to give it a try and had this cool idea: why not use it to find out how our daily activities affect our productivity?
Here's how it works:
Add the activities you performed each day.
Rate your daily productivity.
At the end of the week, calculate which activities correspond to positive or negative productivity.
It's simple and could be super insightful! 😃
I’m still figuring out the details, but what do you think? Any thoughts or suggestions? 💡
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
She said, 'You're just a dev dependency. I'm in production now.' 😭
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
Here is my code. It's not clean, just for practice. The idea is that whatever big number you give, it shrinks to a recursion of 4, 2, 1.
const Collatz = (function () {
let numStep: number = 0;
function getStep(): number {
return numStep;
}
function resetStep(): void {
numStep = 0;
}
function CollatzSequence(num: number): number[] {
numStep++;
if (num <= 1) return [num];
else if (num % 2 === 0) return [num, ...CollatzSequence(num / 2)];
else return [num, ...CollatzSequence(num * 3 + 1)];
}
return {
CollatzSequence,
getStep,
resetStep,
};
})();
console.log(Collatz.CollatzSequence(477777));
console.log("steps:", Collatz.getStep());
Collatz.resetStep();
▬▬▬▬▬▬▬▬▬▬
@tiletsolution1 310
+1
Just practicing TypeScript and I remembered the Collatz conjecture, so I tried it with JavaScript. It fascinates me because the conjecture states that all paths eventually lead to 1.
To read more about it, Wikipedia.
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
+2
You have to try this 😯
Generate UI with shadcn/ui from simple text prompts and images.
link: https://v0.dev/
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
Book Summary Part 1
#Here_are_the_5_must_read_books_out_of_9
1. Blitzscaling
2. Thinking Fast and Slow
3. winning
4. Zero to One
5. Doughnut Economics
Happy reading (or listening)! 😊
#Blinkist #BookSummaries #ReadingOnTheGo #LearnEveryDay
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
Ever wondered what a Headless CMS is? 🤔 It's a content management system that focuses solely on managing and delivering content, without concerning itself with how or where that content is displayed. This flexibility allows developers to use any frontend technology they prefer (like Vue.js or React) while accessing content through APIs.
Here are some free Headless CMS options:
1. Strapi
2. Contentful (limited free tier)
3. Directus
4. GraphCMS (limited free tier)
5. Sanity.io
Headless CMS: https://jamstack.org/headless-cms/
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
I will share with you the 9 best free books available on it soon!
Happy reading (or listening)! 😊
#Blinkist #BookSummaries #ReadingOnTheGo #LearnEveryDay
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
I've got a great tip for all you book lovers out there! 📚 Check out Blinkist! This amazing website (and app!) offers concise 20-30 minute summaries of top books in audio and text formats.
Perfect for listening on the go or reading during a break.
While many of their book summaries are premium, they also have some awesome free ones. 📖✨
#Reading #Learning #Blinkist #Books #AudioBooks #Knowledge #Productivity
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
Do you tend to focus more on the broader picture or on the finer details?
#comment I'd be really interested to know why you prefer that!
1 310
A man was about to retire from his job as a carpenter. His boss asked him to build one last house before he left. The man agreed but didn't put much effort into it. He used poor materials and did a sloppy job.
When the house was finished, his boss gave him the keys and said, "This is your house. It's my gift to you."
The man was shocked and felt ashamed. If he had known he was building his own house, he would have done a much better job.
"Whatever you do, do it well." - Walt Disney
#LifeLessons #DoYourBest #Integrity #Motivation #Wisdom
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
“There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.”
- Leon Bambrick
Here are the most widely used case types in programming.
Snake Case: this_is_snake_case
Kebab Case: this-is-kebab-case
Camel Case: thisIsCamelCase
Pascal Case: ThisIsPascalCase
Pick your favorite and keep coding cool! 🐍🔥
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
Tips for Learning from Example Projects
1. One Project at a Time: Focus on a single project to avoid overwhelm and ensure deeper learning.
2. Replicate, Don’t Copy: Rewrite the code yourself instead of copy-pasting to better understand it.
3. Understand Why: Investigate unfamiliar code to understand how it works.
4. Experiment and Customize: Modify the code, add features, and make it your own. This enhances learning and can build your portfolio.
5. Be Patient and Focused: Learning takes time. Stay patient and focused to fully grasp the concepts.
#LearningTips #CodeBetter #Frameworks
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
"Walking on water and developing software from a specification are easy if both are frozen."- Edward V Berard ❄️⛄️ ▬▬▬▬▬▬▬▬▬▬ @tiletsolution
1 310
+1
Here we goooo! 🚀 Check out the link to my deployed website: Foreign Gebeta. I've also tried to make it responsive 😁or something like that.
By the way, if you're looking to track your site’s statistics, you can use this awesome open-source library: Loglib. We love open source! 😎
Happy browsing and let me know what you think! 💬✨
You can check out the GitHub repo here: Website GitHub Repo 💻
#WebDevelopment #ResponsiveDesign #OpenSource #CheckItOu
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
Callback Hell
A guide to writing asynchronous JavaScript programs
Here's a simple guide to writing better code. It's not that hard, I promise! 😅
Just follow these three golden rules:
1. Keep your code shallow
2. Modularize 🧩
3. Handle every single error 🚫
If you're curious, you might want to check out this site: Callback Hell 🌐
#CallbackHell #JavaScript #CodeTips #AsyncJS #ProgrammingHumor
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
1 310
By the way, don’t rely on YouTube videos for learning new technologies, especially frameworks and libraries. Many people try to find the most-watched videos with millions of views 😯, but they often struggle with the code because new versions are released frequently, and parts of the code are always being deprecated or changed. 🔄
Even within a few months, there can be significant differences. So,
always look for the latest release comparison videos and search for the most recent videos, even if they have fewer views. 📹🔍
#TechTips #WebDevelopment #LearnToCode #Programming #FrontEndDevelopment #JavaScript #CodingJourney
▬▬▬▬▬▬▬▬▬▬
@tiletsolution1 310
+3
Here are some screenshots of what I’ve been working on. 📸 I’ll send you the link soon. It's not a big project; I’m just practicing front-end development. I’ve been a back-end developer lately and haven't done much front-end work, but you know what? Development has changed a lot. There are so many libraries and tools now, and back-end work is increasingly being handled by these tools. 🔧💻
I think it’s a good idea to master at least one framework, don’t you? 🤔 Anyway, stay tuned, and you’ll see it soon! 🚀
#WebDevelopment #ProjectInProgress #APIIntegration
▬▬▬▬▬▬▬▬▬▬
@tiletsolution
现已上线!2025 年 Telegram 研究 — 年度关键洞察 
