18 subscribers
40 photos
7 videos
2 files
54 links
In this channel, I will wrote my personal thoughts, experiments on different PLs and mathematics
Download Telegram
if you have enough subscribers in your public channel and even you will say any bullshit, the audience will laugh, idk why. I saw so many times this kind of posts🙈
😁2
A few days ago, my colleague said a pattern "Single flight". It is a concurrency pattern and controls parallel requests to get same response with single execution. Nice pattern
even if you have proper system prompt which points what command to use, Claude just use fucking their own stuff, I don't know whether it is skill issue or not
Fixing long-term bugs is not so easy in production😁 Just running 6776 delete queries
🗿1
maxProfit :: [Int] -> Int
maxProfit (p:ps) = fst . foldl go (0, p) $ ps
where
go :: (Int, Int) -> Int -> (Int, Int)
go (profit, minPrice) price = ( max profit (price-minPrice)
, min minPrice price)


vs

class Solution {
public:
int maxProfit(vector<int>& prices) {
auto [profit, price] = std::accumulate(
prices.begin()+1, prices.end(),
std::make_pair(0, prices[0]),
[](std::pair<int, int> acc, int price) {
return std::make_pair(
std::max(acc.first, price-acc.second),
std::min(acc.second, price)
);
}
);

return profit;
}
};


CPP is an absolute nightmare
Prime numbers and π are keys to our world secrets💀
After adding this label into my profile, none of HRs is not writing to me😂
😁3
Haskell has so so so good type-system and even crazy AI can write a project in a seconds 👻
Origin: Garbage collection was invented by American computer scientist John McCarthy around 1959.
Language: It was specifically designed for the Lisp programming language to automate the management of memory for its characteristic list-based data structures.


Functional programming languages are GOAT I think
😭😭😭
🤣1
Day to day I am understanding how good Haskell's approach to software development🙃
🔥2
LOL
I am not in LinkedIn anymore💔