Sunflowers. MapReduce.
Sunflowers. MapReduce. P.S. While writing this post, I realized this algorithm can be improved. There’s some unnecessary work: first I build a (x, y) → h dictionary, and then I rebuild it into h → [(xi, yi), …]. We can g
EN / RU
Sunflowers. MapReduce. P.S. While writing this post, I realized this algorithm can be improved. There’s some unnecessary work: first I build a (x, y) → h dictionary, and then I rebuild it into h → [(xi, yi), …]. We can g
MapReduce in The Farmer Was Replaced Code discussion. Part II. In the [previous post](<https://t.me/phys_math_dev/86>) we discussed [the code](<https://github.com/tarstars/tfwr/blob/main/sunflowers_ach.py>) which uses ma
Competitive programming guides. When somebody asks about best guides for competitive programming, my first reaction is: * [A. Shen: "Programming: theorems and problems"](<https://sch57.ru/files/pub/prog/Programming_theor
Word of the day I’m in ɔ of this world. Three letters → one ɔ.
GBDTE presentation. Unstable class. I’m working now on a presentation for my upcoming public talk. Here’s a picture that illustrates a small but telling idea: an applicant with exactly three unique phone numbers in their
MapReduce in The Farmer Was Replaced Code discussion. Part I. 27 years ago Google was born. One of its key ideas was PageRank – a “credibility” score for a web page. ([the paper](<https://snap.stanford.edu/class/cs224w-r
Sunflower achievement We have already started to discuss multidrone programming. I applied this technique to get the "Sunflower" achievement. I'm not quite happy with the code yet, but here we are: it works. [code](<http
Heteronym of the day SOW 🐷 noun: "female pig", sound: /saʊ/ 🐷 verb: "to plant seeds", sound: /soʊ/
sin(a+b), cos(a+b) Hello everyone! Today, while doing my dishes, I suddenly realized that sin and cos of a sum can be derived through the consecutive matrix multiplication. But I definitely remember that in school our te
the point of no return has been crossed 🔪The Rubicon has been crossed. 🔪We've crossed the point of no return. 🔪There’s no turning back now. 🔪The die is cast. 🔪The bridge behind us has been burned. So, except "The die is
A short update on GBDTE presentation. The die is cast. I set the date for my presentation on Gradient Boosted Decision trees. It's Jan 15. I'm aiming for a 45 minutes presentation, so like 30 slides to make. The timeline
Programming flood To discuss programming tasks in comments
TFWR. Drone coordination. Last time we discussed how to create drones. Today let's discuss how to coordinate their activity. In the game there is quite a limited number of tricks that allow you to coordinate drones. Let'
The First Vibe Coding Project In the chat about TFWR, one of the subscribers asked how to learn Python and HTML. I answered like this: “Feel free to vibecode a small application that uses Python, HTML, and CSS, and then
Topics request Now I have a list of topics for the nearest posts. * video for the first vibe coding project * why binary features are bad extrapolation features (explanation why quality goes down when interpolating featu
LLM in education Sorry for this quite a rather unoriginal topic, but it bothers me. I'm teaching my son programming. So far we have discussed it in a classical way: variables, loops, algorithms. We spend hours discussing
Ultraviolet lamp In my other channel I published a [post](<https://t.me/alina_yerevan_js/133>) about vanished place where I worked in 1991-1992
GBDTE. Culprit is found. I started to dig really deep and, with the help of the iron friend, I checked several hypotheses. I found the optimal expression for the ideal model for this dataset. And this result is worth a s
TFWR. Spawn drones. In "The Farmer Was Replaced" game there is quite an interesting option - one can spawn drones in order to operate the farm more efficiently. This option is advanced because of language tricks and game